update dev300-m58
[ooovba.git] / solenv / inc / startup / wnt / macros.mk
blob35f903f60922842270a38b80461912008ca6d5aa
1 # Define additional MSDOS specific settings.
4 # --- Set Wrapper command ---
5 # Provide a macro that can be used to access the wrapper and to avoid
6 # hardcoding the program name everywhere
7 GUWCMD*=guw.exe
9 # This is a no-op for native W32 dmake
10 .WINPATH !:= yes
12 # Directory cache configuration.
13 .DIRCACHE *:= no
15 # Applicable suffix definitions
16 E *:= .exe # Executables
18 # Now set the remaining arguments depending on which SHELL we
19 # are going to use.
21 .IF $(USE_SHELL) == bash
22 SHELLFLAGS *:= -c
23 .ELSE
24 # See iz50689 why -f is needed.
25 SHELLFLAGS *:= -fc
26 .ENDIF # $(USE_SHELL) == bash
28 GROUPFLAGS *:=
29 SHELLMETAS *:= *";?<>|()&][$$\#`'
30 # Fix syntax highlighting: "
31 GROUPSUFFIX *:= .csh
32 # This is hopefully not used. Only in: dmake/msdos/spawn.c
33 # .MKSARGS *:= yes
34 DIVFILE *= $(TMPFILE:s,/,${__.DIVSEP-sh-${USESHELL}})
35 RM *= $/bin$/rm
36 RMFLAGS *= -f
37 MV *= $/bin$/mv
38 __.DIVSEP-sh-yes *:= \\\
39 __.DIVSEP-sh-no *:= \\
40 DIRSEPSTR :=/
42 .EXPORT : GUWCMD
44 .IF $(SHELL) == $(NULL)
45 # SHELL has to be set in (non-4NT) OOobuild environment
46 .ERROR : ; @echo Forced error: Environment variable SHELL has to be set for OOo build!
47 SHELL_variable_needed
48 .END
50 GROUPSHELL *:= $(SHELL)
52 # Does not respect case of filenames.
53 .DIRCACHERESPCASE := no
54 NAMEMAX = 256