Use $(SHELL) and $(KORNSHELL) for shell scripts

Introduce KORNSHELL make variable to point
to the implementation of the Korn Shell.

Use $(SHELL) or $(KORNSHELL) explicitly for
make programs that do not automatically call
shell scripts from the current directory.
This commit is contained in:
Marcin Cieslak
2012-08-14 15:31:56 +02:00
committed by Jon Trulson
parent d3206f4514
commit d6b6353f95
8 changed files with 26 additions and 18 deletions

View File

@@ -30,6 +30,8 @@ XCOMM operating system: OSName (OSMajorVersion./**/OSMinorVersion./**/OSTeenyVe
#endif
#undef InstallCmd
#define InstallCmd /usr/bin/install
#undef KornShell
#define KornShell /usr/local/bin/ksh93
#define UseGas YES
#ifndef GccUsesGas

View File

@@ -180,6 +180,9 @@ XCOMM the platform-specific parameters - edit site.def to change
#ifndef BourneShell /* to force shell in makefile */
#define BourneShell /bin/sh
#endif
#ifndef KornShell
#define KornShell /bin/ksh
#endif
#ifndef ConstructMFLAGS
#if SystemV
#define ConstructMFLAGS YES /* build MFLAGS from MAKEFLAGS */
@@ -889,6 +892,7 @@ XCOMM the platform-specific parameters - edit site.def to change
PATHSEP = PathSeparator
SHELL = BourneShell
KORNSHELL = KornShell
TOP = TOPDIR
CURRENT_DIR = CURDIR

View File

@@ -90,6 +90,7 @@ Imake.tmpl provides defaults for the following variables:
InstPgmFlags install flags for normal programs
InstUidFlags install flags for xterm to chown /dev/ptys
InstallCmd command to install files
KornShell command used to run Korn Shell
Krb5Includes where to include Kerberos header files from
Krb5Libraries where to load Kerberos libraries from
LdCmd command to run loader