diff options
author | Hartmut Becker <becker.ismaning@freenet.de> | 2014-09-03 23:39:25 +0200 |
---|---|---|
committer | Paul Smith <psmith@gnu.org> | 2014-09-07 18:10:11 -0400 |
commit | dcca1b5b0ef4d84460e1dfb583f1085cc1ce5b9c (patch) | |
tree | 636485ffeb8222a8316b46a83584948baef4b1c1 /config.h-vms.template | |
parent | 9cad73ad8289b5cac45cc0f3ddb07977dbdb0f14 (diff) | |
download | gunmake-dcca1b5b0ef4d84460e1dfb583f1085cc1ce5b9c.tar.gz |
Enhance VMS exporting make environment variables.
* config.h-vms.template: add feature macro USE_DCL_COM_FILE to always
write a DCL command file, enabled by default.
* vmsjobs.c: with USE_DCL_COM_FILE enabled write make variables as DCL
symbol assignments into the command file. This enables printing
directory and make level info for recursive use of make. This also
enables forced DCL symbol substitution in the actions.
Diffstat (limited to 'config.h-vms.template')
-rw-r--r-- | config.h-vms.template | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/config.h-vms.template b/config.h-vms.template index eefc299..71fe269 100644 --- a/config.h-vms.template +++ b/config.h-vms.template @@ -1,6 +1,6 @@ /* config.h-vms. Generated by hand by Klaus Kämpf <kkaempf@rmi.de> -*-C-*- -Copyright (C) 1996-2013 Free Software Foundation, Inc. +Copyright (C) 1996-2014 Free Software Foundation, Inc. This file is part of GNU Make. GNU Make is free software; you can redistribute it and/or modify it under the @@ -414,5 +414,13 @@ this program. If not, see <http://www.gnu.org/licenses/>. */ /* Output sync sypport */ #define NO_OUTPUT_SYNC +/* Define to 1 to write even short single-line actions into a VMS/DCL command + file; this also enables exporting make environment variables into the + (sub-)process, which executes the action. + The usual make rules apply whether a shell variable - here a DCL symbol or + VMS logical [see CRTL getenv()] - is added to the make environment and + is exported. */ +#define USE_DCL_COM_FILE 1 + /* Build host information. */ #define MAKE_HOST "VMS" |