1# Define additional OS/2 specific macros. 2# 3 4# Process release-specific refinements, if any. 5.INCLUDE .NOINFER .IGNORE : $(INCFILENAME:d)$(OSRELEASE)$/macros.mk 6 7# Execution environment configuration. 8# Grab the current setting of COMSPEC. 9# 10.IMPORT .IGNORE : COMSPEC ROOTDIR 11 12# First check if SHELL is defined to be something other than COMSPEC. 13# If it is assume that SHELL is a Korn compatible shell like MKS's 14.IF $(SHELL) == $(NULL) 15 .IF $(COMSPEC) == $(NULL) 16 SHELL *:= $(ROOTDIR)$/bin$/sh$E 17 .ELSE 18 SHELL *:= $(COMSPEC) 19 .END 20.END 21GROUPSHELL *:= $(SHELL) 22 23# Directory entries are case incensitive 24.DIRCACHERESPCASE *:= no 25 26# Applicable suffix definitions 27A *:= .lib # Libraries 28E *:= .exe # Executables 29F *:= .for # Fortran 30O *:= .obj # Objects 31P *:= .pas # Pascal 32S *:= .asm # Assembler sources 33V *:= # RCS suffix 34 35# Now set the remaining arguments depending on which SHELL we 36# are going to use. COMSPEC (assumed to be command.com) or 37# MKS Korn shell. 38.IF $(SHELL) == $(COMSPEC) 39 SHELLFLAGS *:= $(SWITCHAR)c 40 GROUPFLAGS *:= $(SHELLFLAGS) 41 SHELLMETAS *:= *"?<> 42 GROUPSUFFIX *:= .bat 43 DIRSEPSTR *:= \\\ 44 DIVFILE *= $(TMPFILE:s,/,\,) 45 RM *= del 46 RMFLAGS *= 47 MV *= rename 48.ELSE 49 SHELLFLAGS *:= -c 50 GROUPFLAGS *:= 51 SHELLMETAS *:= *"?<>|()&][$$\#`' 52 GROUPSUFFIX *:= .ksh 53 .MKSARGS *:= yes 54 RM *= $(ROOTDIR)$/bin$/rm 55 RMFLAGS *= -f 56 MV *= $(ROOTDIR)$/bin$/mv 57 DIVFILE *= $(TMPFILE:s,/,${__.DIVSEP-sh-${USESHELL}},) 58 __.DIVSEP-sh-yes !:= \\\ 59 __.DIVSEP-sh-no !:= \\ 60.ENDIF 61