xref: /trunk/main/solenv/inc/wnt.mk (revision 9d37da743abb7db0a497688391f6e55a19f27c44)
1#**************************************************************
2#
3#  Licensed to the Apache Software Foundation (ASF) under one
4#  or more contributor license agreements.  See the NOTICE file
5#  distributed with this work for additional information
6#  regarding copyright ownership.  The ASF licenses this file
7#  to you under the Apache License, Version 2.0 (the
8#  "License"); you may not use this file except in compliance
9#  with the License.  You may obtain a copy of the License at
10#
11#    http://www.apache.org/licenses/LICENSE-2.0
12#
13#  Unless required by applicable law or agreed to in writing,
14#  software distributed under the License is distributed on an
15#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16#  KIND, either express or implied.  See the License for the
17#  specific language governing permissions and limitations
18#  under the License.
19#
20#**************************************************************
21
22
23
24# --- Windows-NT-Environment ---------------------------------------
25# Used if "$(GUI)" == "WNT"
26
27# --- Compiler ---
28
29.IF "$(OS)$(COM)$(CPU)" == "WNTMSCI"
30.IF "$(COMEX)" == "10"
31.INCLUDE : wntmsci10.mk
32.ELSE
33# for wntmsci11 (.Net 2005), wntmsci12 (.Net 2008) and wntmsci14 (the UCRT
34# generation, VS2015 and newer -- which reuses this file and then includes
35# wntmsc14.mk for what it does differently)
36.INCLUDE : wntmsci11.mk
37.ENDIF # "$(COMEX)" == "10"
38.ENDIF # "$(OS)$(COM)$(CPU)" == "WNTMSCI"
39
40.IF "$(COM)$(OS)$(CPU)" == "GCCWNTI"
41.INCLUDE : wntgcci.mk
42.ENDIF
43
44.IF "$(OS)$(COM)$(CPU)" == "WNTMSCX"
45.INCLUDE : wntmscx.mk
46.ENDIF
47
48# --- changes for W32-tcsh - should move into settings.mk ---
49JAVAC=javac
50JAVA=java
51JAVAI!:=java
52PATH_SEPERATOR*=:
53
54# --- general WNT settings ---
55
56HC=hc
57HCFLAGS=
58DLLPRE=
59DLLPOST=.dll
60EXECPOST=.exe
61SCPPOST=.inf
62DLLDEST=$(BIN)
63SOLARSHAREDBIN=$(SOLARBINDIR)
64
65.IF "$(SOLAR_JAVA)"!=""
66JAVADEF=-DSOLAR_JAVA
67.IF "$(debug)"==""
68JAVA_RUNTIME=javai.lib
69.ELSE
70JAVA_RUNTIME=javai_g.lib
71.ENDIF
72.ENDIF
73
74OOO_LIBRARY_PATH_VAR = PATH
75