summaryrefslogtreecommitdiff
path: root/makefile.vms
Commit message (Collapse)AuthorAgeFilesLines
* [SV 42447]: VMS simulate exporting symbolsJohn Malmberg2014-10-201-5/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This also includes fixing the most of the exit handling code for VMS. Self tests: Previously about 94 Tests in 36 categories fail. Now about 45 tests in 22 categories fail. Because some tests do not properly clean up, the number of tests that fail can vary by one or two test cases between consecutive runs. * Makefile.am: Add new VMS files. * job.c: add prototype for vms_strsignal(). * job.c: (child_error): Remove VMS specific code as no longer needed. * job.c: (reap_children): The VMS specific code was setting the status to 0 instead of setting it to the proper exit status. * job.h: Add vms_launch_status to struct child. * main.c: (main): Use environment variables for options to use MCR * instead of a foreign command, and to always use command files for subprocesses. For VMS use (set_program_name) routine which is common to ports of other GNU packages to VMS to set the program name used internally. Use (vms_putenv_symbol) to set up symbols to be visible in child programs, including recursive make launched by execve() Start of Bash shell detection code for VMS. * makefile.com: Need nested_include=none for building on VMS search lists. Add vms_progname, vms_exit, and vms_export_symbol. * makefile.vms: Need nested_include=none for building on VMS search lists. Add vms_progname, vms_exit, vms_export_symbol. * makeint.h: Make sure non-standard "VMS" macro is defined. Add prototypes for new VMS routines. Remove VMS-specific failure codes. * vmsjobs.c: Add VMS POSIX exit code constants. (_is_unixy_shell): Detect Bash shell. (vms_strsignal): simulate strsignal() on VMS. (vmsHandleChildTerm): fix to properly report failed LIB$SPAWN() exit status codes. Remove code that duplicated code in job.c. (child_execute_job): Export environment symbols before spawning a child and restore afterward unless option to use command files for subprocesses is set. Improve handling of UNIX null commands ":". * vms_exit.c: Provides vms_exit() to detect if an exit code is UNIX or VMS, and converts the UNIX code into a VMS exit code. * vms_export_symbol.c: Routines to create DCL symbols that work like shell aliases or exported shell symbols and clean them up on exit. * vms_export_symbol_test.com: Unit test for vms_export_symbol.c * vms_progname.c: New file: VMS specific replace for progname.c that is used in some GNU projects.
* Update Copyright statements for 2014.Paul Smith2014-09-301-1/+1
|
* Enhance/fix VMS build environmentHartmut Becker2014-09-071-35/+51
| | | | | | | | | | * config.h-vms.template: make sure the CRTL version is known * makefile.com: always compile/link the guile module, remove VAXCRTL parameter, new LIST parameter * makefile.vms: always compile/link the guile module, use more complete dependencies * prepare_vms.com: helper to create a VMS config file when building from a snapshot of the repository
* Enhance the output sync mode.Paul Smith2013-09-121-3/+4
| | | | | | | | | | | | | | | Create a new file, output.c, and collect functions that generate output there. We introduce a new global context specifying where output should go (to stdout or to a sync file), and the lowest level output generator chooses where to write output based on that context. This allows us to set the context globally, and all operations that write output (including functions like $(info ...) etc.) will use it. Removed the "--trace=dir" capability. It was too confusing. If you have directory tracking enabled then output sync will print the enter/leave message for each synchronized block. If you don't want that, disable directory tracking.
* Porting to VMS, from Hartmut Becker.Paul Smith2013-05-271-33/+36
|
* Update copyright for changes in 2013.Paul Smith2013-05-171-1/+1
|
* Simplify copyrights using ranges of years.Paul Smith2012-03-051-2/+1
| | | | | The new GNU Maintainer's Manual allows the use of year ranges in certain situations; take advantage of this simplification.
* Convert all "`'" quotes to "''" per new GNU Coding Standard guidelines.Paul Smith2012-03-041-1/+1
| | | | Fixes Savannah bug #34530.
* Update copyright notices.Paul Smith2012-01-161-1/+1
|
* Add GNU Guile as an optional embedded scripting language for make.Paul Smith2012-01-151-2/+7
| | | | | | | | | On configure-enabled systems, configure will detect Guile installed (using pkg-config, which is how GNU Guile is distributed) and enable it if so. On all non-configure-enabled systems, currently, the default is for Guile support to be disabled.
* Update copyrights for 2010.Paul Smith2010-07-131-1/+1
|
* Update copyright years.Paul Smith2009-10-251-1/+1
|
* * Update to GPLv3Paul Smith2007-07-041-8/+9
| | | | | * Update copyright to 2007 * Fix download URL for translation files (thanks to Thiemo Seufer)
* Fix a potential core dump when merging aliases. Might fix bug #15818.Paul Smith2006-02-211-1/+1
| | | | | Revert intermediate file free code. Suppress some warnings in VMS builds.
* Last of the copyright updates.Paul Smith2006-02-111-2/+2
|
* Update copyright and license notices on all files.Paul Smith2006-02-111-19/+20
| | | | Added new file strcache.c to various non-UNIX makefiles and build scripts.
* Fixes for VMS from Hartmut Becker.Paul Smith2005-06-101-1/+1
|
* Various enhancementsPaul Smith2004-05-161-2/+2
| | | | | | | - OS/2 Patches - OpenVMS updates - Sanitize the handling of -include/sinclude with and without -k - Fix the setting of $< for order-only rules.
* Add VMS updates from Martin Zinser.Paul Smith2002-10-011-2/+4
|
* * Merge VMS patches by Hartmut Becker.Paul Smith2000-01-221-9/+32
|
* * Update FSF address info in copyright notices.Paul Smith1999-03-051-1/+2
| | | | | | | | * Update maintainers build process; remove GNUmakefile. Require builders to run automake && autoreconf by hand. * Use AC_SUBST_FILE to get the maintMakefile included, rather than GNU make's include directive, which conflicts with automake 1.4's include directive.
* Updates for GNU make 3.75.92.Paul Smith1997-08-271-4/+4
|
* Sat Jul 20 12:32:10 1996 Klaus Kämpf (kkaempf@progis.de)Roland McGrath1996-07-201-1/+1
| | | | | | * remake.c (f_mtime) [VMS]: Add missing `if' conditional for future modtime check. * config.h-vms, makefile.vms, readme.vms, vmsify.c: Update address.
* Fri Jul 19 16:57:27 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>Roland McGrath1996-07-191-24/+24
| | | | * makefile.vms (LOADLIBES): Fix typo.
* Wed May 22 17:24:51 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>Roland McGrath1996-05-221-1/+1
| | | | | * makefile.vms: Set LOADLIBES. * makefile.com (link_using_library): Fix typo.
* Tue Mar 19 20:21:34 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>Roland McGrath1996-03-201-0/+121
Merged VMS port from Klaus Kaempf <kkaempf@didymus.rmi.de>. * make.h (PARAMS): New macro. * config.h-vms: New file. * makefile.com: New file. * makefile.vms: New file. * readme.vms: New file. * vmsdir.h: New file. * vmsfunctions.c: New file. * vmsify.c: New file. * file.h: Renamed to filedef.h to avoid conflict with VMS system hdr. * ar.c: Added prototypes and changes for VMS. * commands.c: Likewise. * commands.h: Likewise. * default.c: Likewise. * dep.h: Likewise. * dir.c: Likewise. * expand.c: Likewise. * file.c: Likewise. * function.c: Likewise. * implicit.c: Likewise. * job.c: Likewise. * job.h: Likewise. * main.c: Likewise. * make.h: Likewise. * misc.c: Likewise. * read.c: Likewise. * remake.c: Likewise. * remote-stub.c: Likewise. * rule.c: Likewise. * rule.h: Likewise. * variable.c: Likewise. * variable.h: Likewise. * vpath.c: Likewise. * compatMakefile (srcs): Rename file.h to filedef.h.