diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2000-09-20 13:43:26 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2000-09-20 13:43:26 +0000 |
commit | 22c7f3f170c30085b1fe93d0e83a665b36b9738a (patch) | |
tree | e71996a7ae8480d0bf7fa265604d62b424c3b989 /solenv/inc/startup/wnt | |
parent | 11cb1baf50ca8d57cc3a722e24bb973e6e64760a (diff) |
initial import
Diffstat (limited to 'solenv/inc/startup/wnt')
-rw-r--r-- | solenv/inc/startup/wnt/macros.mk | 70 |
1 files changed, 70 insertions, 0 deletions
diff --git a/solenv/inc/startup/wnt/macros.mk b/solenv/inc/startup/wnt/macros.mk new file mode 100644 index 000000000000..3d8296840f01 --- /dev/null +++ b/solenv/inc/startup/wnt/macros.mk @@ -0,0 +1,70 @@ +# Define additional MSDOS specific settings. +# + +# Execution environment configuration. +# Grab the current setting of COMSPEC. +# +.IMPORT .IGNORE : COMSPEC + +# First check if SHELL is defined to be something other than COMSPEC. +# If it is, then assume that SHELL is a Korn compatible shell like MKS's +.IF $(SHELL) == $(NULL) + .IF $(COMSPEC) == $(NULL) + SHELL *:= $(ROOTDIR)$/bin$/sh$E + .ELSE + SHELL *:= $(COMSPEC) + .END +.END +GROUPSHELL *:= $(SHELL) + +# Process release-specific refinements, if any. +.INCLUDE .NOINFER .IGNORE : $(INCFILENAME:d)$(OSRELEASE)$/macros.mk + +# Applicable suffix definitions +A *:= .lib # Libraries +E *:= .exe # Executables +F *:= .for # Fortran +O *:= .obj # Objects +P *:= .pas # Pascal +S *:= .asm # Assembler sources +V *:= # RCS suffix + +# Now set the remaining arguments depending on which SHELL we +# are going to use. COMSPEC (assumed to be command.com) or +# MKS Korn shell. +.IF $(SHELL) == $(COMSPEC) + SHELLFLAGS *:= $(SWITCHAR)c + GROUPFLAGS *:= $(SHELLFLAGS) + SHELLMETAS *:= "<>| + GROUPSUFFIX *:= .cmd + DIVFILE *= $(TMPFILE:s,/,\) +# DIVFILE *= $(TMPFILE:s,/,\) + RM *= del +# RM *= +-del + RMFLAGS *= + MV *= rename + __.DIVSEP-sh-yes *:= \\ + __.DIVSEP-sh-no *:= \\ + DIRSEPSTR := \ +# / *= $(DIRSEPSTR)$(DIRSEPSTR) +.ELSE + SHELL !:= $(SHELL:s,/,\,) + COMMAND *= $(CMNDNAME:s,/,\,) $(CMNDARGS) + SHELLFLAGS *:= -c + GROUPFLAGS *:= + SHELLMETAS *:= *";?<>|()&][$$\#`' + GROUPSUFFIX *:= .ksh + .MKSARGS *:= yes + RM *= $(ROOTDIR)$/bin$/rm + RMFLAGS *= -f + MV *= $(ROOTDIR)$/bin$/mv + DIVFILE *= $(TMPFILE:s,/,${__.DIVSEP-sh-${USESHELL}}) + __.DIVSEP-sh-yes *:= \\\ + __.DIVSEP-sh-no *:= \\ +.ENDIF + + +# Does not respect case of filenames. +.DIRCACHERESPCASE := no +NAMEMAX = 256 + |