1 # Define additional MSDOS specific settings.
4 # Execution environment configuration.
5 # Grab the current setting of COMSPEC.
7 .IMPORT .IGNORE
: COMSPEC ROOTDIR
9 # First check if SHELL is defined to be something other than COMSPEC.
10 # If it is, then assume that SHELL is a Korn compatible shell like MKS's
11 .IF
$(SHELL
) == $(NULL
)
12 .IF
$(COMSPEC
) == $(NULL
)
13 SHELL
*:= $(ROOTDIR
)$/bin
$/sh
$E
18 GROUPSHELL
*:= $(SHELL
)
20 # Process release-specific refinements, if any.
21 .INCLUDE .NOINFER .IGNORE
: $(INCFILENAME
:d
)$(OSRELEASE
)$/macros.mk
23 # Applicable suffix definitions
24 A
*:= .lib
# Libraries
25 E
*:= .exe
# Executables
29 S
*:= .asm
# Assembler sources
32 # Now set the remaining arguments depending on which SHELL we
33 # are going to use. COMSPEC (assumed to be command.com) or
35 .IF
$(SHELL
) == $(COMSPEC
)
36 SHELLFLAGS
*:= $(SWITCHAR
)c
37 GROUPFLAGS
*:= $(SHELLFLAGS
)
40 DIVFILE *= $(TMPFILE:s,/,\,)
44 __.DIVSEP-sh-yes *:= \\
45 __.DIVSEP-sh-no *:= \\
49 SHELLMETAS *:= *";?
<>|
()&][$$\
#`'
52 RM
*= $(ROOTDIR
)$/bin
$/rm
54 MV
*= $(ROOTDIR
)$/bin
$/mv
55 DIVFILE
*= $(TMPFILE
:s
,/,${__.DIVSEP-sh-
${USESHELL}},)
56 __.DIVSEP-sh-yes
*:= \\\
57 __.DIVSEP-sh-no
*:= \\
61 # Does not respect case of filenames.
62 .DIRCACHERESPCASE
:= no