Update ooo320-m1
[ooovba.git] / solenv / inc / wnt.mk
blob6acab30cc80dc8690856f984023a857b6d623936
1 #*************************************************************************
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 #
5 # Copyright 2008 by Sun Microsystems, Inc.
7 # OpenOffice.org - a multi-platform office productivity suite
9 # $RCSfile: wnt.mk,v $
11 # $Revision: 1.84 $
13 # This file is part of OpenOffice.org.
15 # OpenOffice.org is free software: you can redistribute it and/or modify
16 # it under the terms of the GNU Lesser General Public License version 3
17 # only, as published by the Free Software Foundation.
19 # OpenOffice.org is distributed in the hope that it will be useful,
20 # but WITHOUT ANY WARRANTY; without even the implied warranty of
21 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22 # GNU Lesser General Public License version 3 for more details
23 # (a copy is included in the LICENSE file that accompanied this code).
25 # You should have received a copy of the GNU Lesser General Public License
26 # version 3 along with OpenOffice.org. If not, see
27 # <http://www.openoffice.org/license.html>
28 # for a copy of the LGPLv3 License.
30 #*************************************************************************
32 # --- Windows-NT-Environment ---------------------------------------
33 # Used if "$(GUI)" == "WNT"
35 # --- Compiler ---
37 .IF "$(OS)$(COM)$(CPU)" == "WNTMSCI"
38 .IF "$(COMEX)" == "10"
39 .INCLUDE : wntmsci10.mk
40 .ELSE
41 # for wntmsci11 (.Net 2005) and wntmsci12 (.Net 2008)
42 .INCLUDE : wntmsci11.mk
43 .ENDIF # "$(COMEX)" == "10"
44 .ENDIF # "$(OS)$(COM)$(CPU)" == "WNTMSCI"
46 .IF "$(COM)$(OS)$(CPU)" == "GCCWNTI"
47 .INCLUDE : wntgcci.mk
48 .ENDIF
50 # --- changes for W32-tcsh - should move into settings.mk ---
51 JAVAC=javac
52 JAVA=java
53 JAVAI!:=java
54 PATH_SEPERATOR*=:
56 # --- general WNT settings ---
58 HC=hc
59 HCFLAGS=
60 DLLPRE=
61 DLLPOST=.dll
62 EXECPOST=.exe
63 SCPPOST=.inf
64 DLLDEST=$(BIN)
65 SOLARSHAREDBIN=$(SOLARBINDIR)
67 .IF "$(SOLAR_JAVA)"!=""
68 JAVADEF=-DSOLAR_JAVA
69 .IF "$(debug)"==""
70 JAVA_RUNTIME=javai.lib
71 .ELSE
72 JAVA_RUNTIME=javai_g.lib
73 .ENDIF
74 .ENDIF
76 .IF "$(USE_SHELL)" == "bash"
77 AUGMENT_LIBRARY_PATH *= : && \
78 PATH=$${{PATH}}:$(SOLARBINDIR:s/://:^"/cygdrive/")
79 .ELSE
80 AUGMENT_LIBRARY_PATH *= echos && PATH=%PATH%;$(SOLARBINDIR) &&
81 .ENDIF