1 # Define additional OS/2 specific macros.
4 # Process release-specific refinements, if any.
5 .INCLUDE .NOINFER .IGNORE
: $(INCFILENAME
:d
)$(OSRELEASE
)$/macros.mk
7 # Execution environment configuration.
8 # Grab the current setting of COMSPEC.
10 .IMPORT .IGNORE
: COMSPEC ROOTDIR
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
21 GROUPSHELL
*:= $(SHELL
)
23 # Directory entries are case incensitive
24 .DIRCACHERESPCASE
*:= no
26 # Applicable suffix definitions
27 A
*:= .lib
# Libraries
28 E
*:= .exe
# Executables
32 S
*:= .asm
# Assembler sources
35 # Now set the remaining arguments depending on which SHELL we
36 # are going to use. COMSPEC (assumed to be command.com) or
38 .IF
$(SHELL
) == $(COMSPEC
)
39 SHELLFLAGS
*:= $(SWITCHAR
)c
40 GROUPFLAGS
*:= $(SHELLFLAGS
)
44 DIVFILE *= $(TMPFILE:s,/,\,)
51 SHELLMETAS *:= *"?
<>|
()&][$$\
#`'
54 RM
*= $(ROOTDIR
)$/bin
$/rm
56 MV
*= $(ROOTDIR
)$/bin
$/mv
57 DIVFILE
*= $(TMPFILE
:s
,/,${__.DIVSEP-sh-
${USESHELL}},)
58 __.DIVSEP-sh-yes
!:= \\\
59 __.DIVSEP-sh-no
!:= \\