summaryrefslogtreecommitdiff
path: root/solenv
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2005-04-11 07:59:38 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2005-04-11 07:59:38 +0000
commit5a3c3b290451b48aabaadab2bdaaa07cc547c57f (patch)
tree84c926d48b1b316cdcba91ebd61bf6873e09cd5e /solenv
parent31a2cb7fb16493abeb2abbc64bd94ca7b5085f33 (diff)
INTEGRATION: CWS vq14 (1.9.18); FILE MERGED
2005/04/06 18:19:40 vq 1.9.18.2: #i30071# Fix comment. 2005/04/06 18:08:35 vq 1.9.18.1: #i30071# Cleanup solenv/inc/startup/
Diffstat (limited to 'solenv')
-rw-r--r--solenv/inc/startup/wnt/macros.mk43
1 files changed, 16 insertions, 27 deletions
diff --git a/solenv/inc/startup/wnt/macros.mk b/solenv/inc/startup/wnt/macros.mk
index 84a123db89f5..7e77d3d8055d 100644
--- a/solenv/inc/startup/wnt/macros.mk
+++ b/solenv/inc/startup/wnt/macros.mk
@@ -6,62 +6,51 @@
#
.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
+# SHELL has to be set in OOo build environment
.IF $(SHELL) == $(NULL)
- .IF $(COMSPEC) == $(NULL)
- SHELL *:= $(ROOTDIR)$/bin$/sh$E
- .ELSE
- SHELL *:= $(COMSPEC)
- .END
-.END
+.ERROR : ; @echo Forced error: Environment variable SHELL has to be set for OOo build!
+SHELL_variable_needed
+.ENDIF
+
GROUPSHELL *:= $(SHELL)
-# Process release-specific refinements, if any.
-.INCLUDE .NOINFER .IGNORE : $(INCFILENAME:d)$(OSRELEASE)$/macros.mk
+# Standard C-language command names and flags
+CC *:= cl # C compiler
+
+# Directory cache configuration.
+.DIRCACHE *:= no
# 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.
+# are going to use.
.IF $(SHELL) == $(COMSPEC)
SHELLFLAGS *:= $(SWITCHAR)c
GROUPFLAGS *:= $(SHELLFLAGS)
SHELLMETAS *:= "<>|
-# GROUPSUFFIX *:= .cmd
GROUPSUFFIX *:= .bat
DIVFILE *= $(TMPFILE:s,/,\,)
RM *= del
-# RM *= +-del
RMFLAGS *= /y
MV *= rename
__.DIVSEP-sh-yes *:= \\
__.DIVSEP-sh-no *:= \\
DIRSEPSTR := \\
-# / *= $(DIRSEPSTR)$(DIRSEPSTR)
PWD:=$(shell +echo %_cwd)
.EXPORT : PWD
-.ELSE
- SHELL !:= $(SHELL)
- COMMAND *= $(CMNDNAME) $(CMNDARGS)
+.ELSE # Non 4nt case
SHELLFLAGS *:= -c
GROUPFLAGS *:=
SHELLMETAS *:= *";?<>|()&][$$\#`'
- GROUPSUFFIX *:= .ksh
- .MKSARGS *:= yes
+ GROUPSUFFIX *:= .csh
+# This is hopefully not used. Only in: dmake/msdos/spawn.c
+# .MKSARGS *:= yes
+ DIVFILE *= $(TMPFILE:s,/,${__.DIVSEP-sh-${USESHELL}})
RM *= $(ROOTDIR)$/bin$/rm
RMFLAGS *= -f
MV *= $(ROOTDIR)$/bin$/mv
- DIVFILE *= $(TMPFILE:s,/,${__.DIVSEP-sh-${USESHELL}})
__.DIVSEP-sh-yes *:= \\\
__.DIVSEP-sh-no *:= \\
DIRSEPSTR :=/