xref: /aoo42x/main/solenv/inc/wntmsci11.mk (revision f3ecff4e)
17871dc3eSAndrew Rist#**************************************************************
27871dc3eSAndrew Rist#
37871dc3eSAndrew Rist#  Licensed to the Apache Software Foundation (ASF) under one
47871dc3eSAndrew Rist#  or more contributor license agreements.  See the NOTICE file
57871dc3eSAndrew Rist#  distributed with this work for additional information
67871dc3eSAndrew Rist#  regarding copyright ownership.  The ASF licenses this file
77871dc3eSAndrew Rist#  to you under the Apache License, Version 2.0 (the
87871dc3eSAndrew Rist#  "License"); you may not use this file except in compliance
97871dc3eSAndrew Rist#  with the License.  You may obtain a copy of the License at
107871dc3eSAndrew Rist#
117871dc3eSAndrew Rist#    http://www.apache.org/licenses/LICENSE-2.0
127871dc3eSAndrew Rist#
137871dc3eSAndrew Rist#  Unless required by applicable law or agreed to in writing,
147871dc3eSAndrew Rist#  software distributed under the License is distributed on an
157871dc3eSAndrew Rist#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
167871dc3eSAndrew Rist#  KIND, either express or implied.  See the License for the
177871dc3eSAndrew Rist#  specific language governing permissions and limitations
187871dc3eSAndrew Rist#  under the License.
197871dc3eSAndrew Rist#
207871dc3eSAndrew Rist#**************************************************************
217871dc3eSAndrew Rist
227871dc3eSAndrew Rist
23cdf0e10cSrcweir
24cdf0e10cSrcweir# mk file for $(OS)$(COM)$(CPU)$(COMEX) == WNTMSCI11 and WNTMSCI12
25cdf0e10cSrcweir
26cdf0e10cSrcweirSOLAR_JAVA*=TRUE
27cdf0e10cSrcweirFULL_DESK=TRUE
28cdf0e10cSrcweirJAVAFLAGSDEBUG=-g
29cdf0e10cSrcweir
30cdf0e10cSrcweir# SOLAR JAva Unterstuetzung nur fuer wntmsci
31cdf0e10cSrcweir
32cdf0e10cSrcweirASM=ml
33cdf0e10cSrcweirAFLAGS=/c /Cp /coff /safeseh
34cdf0e10cSrcweir
35cdf0e10cSrcweir# architecture dependent flags for the C and C++ compiler that can be changed by
36cdf0e10cSrcweir# exporting the variable ARCH_FLAGS="..." in the shell, which is used to start build
37cdf0e10cSrcweirARCH_FLAGS*=
38cdf0e10cSrcweir
39cdf0e10cSrcweirCC*:=cl
40cdf0e10cSrcweir.IF "$(bndchk)" != ""
41cdf0e10cSrcweirCXX*=nmcl
42cdf0e10cSrcweir.ELSE
43cdf0e10cSrcweir.IF "$(truetime)" != ""
44cdf0e10cSrcweirCXX*=nmcl /NMttOn
45cdf0e10cSrcweir.ELSE
46cdf0e10cSrcweirCXX*:=cl
47cdf0e10cSrcweir.ENDIF
48cdf0e10cSrcweir.ENDIF # "$(bndchk)" != ""
49cdf0e10cSrcweir
50cdf0e10cSrcweir.IF "$(stoponerror)" != ""
51cdf0e10cSrcweirCXX+= /NMstoponerror
52cdf0e10cSrcweir.ENDIF
53cdf0e10cSrcweir
54cdf0e10cSrcweir.IF "$(nmpass)" != ""
55cdf0e10cSrcweirCXX+= /NMpass
56cdf0e10cSrcweir.ENDIF
57cdf0e10cSrcweir
58cdf0e10cSrcweir.IF "$(ttinlines)" != ""
59cdf0e10cSrcweirCXX+= /NMttInlines
60cdf0e10cSrcweir.ENDIF
61cdf0e10cSrcweir
62cdf0e10cSrcweir.IF "$(ttnolines)" != ""
63cdf0e10cSrcweirCXX+= /NMttNoLines
64cdf0e10cSrcweir.ENDIF
65cdf0e10cSrcweir
66cdf0e10cSrcweir.IF "$(VERBOSE)" != "TRUE"
67cdf0e10cSrcweirNOLOGO*=-nologo
68cdf0e10cSrcweir.ENDIF
69cdf0e10cSrcweir
70cdf0e10cSrcweir.IF "$(VERBOSE)" != "TRUE"
71cdf0e10cSrcweirCOMPILE_ECHO_SWITCH=-n
72cdf0e10cSrcweirCOMPILE_ECHO_FILE=
73cdf0e10cSrcweir.ENDIF
74cdf0e10cSrcweir
75cdf0e10cSrcweir# Flags for COMEX == 11
76cdf0e10cSrcweir
77cdf0e10cSrcweir# disable "warning C4675: resolved overload was found by argument-dependent
78cdf0e10cSrcweir# lookup":
79cdf0e10cSrcweir# -wd4251 -wd4275 -wd4290 -wd4675 -wd4786 -wd4800
80e5a7b9b2SHerbert DürrCFLAGS+=-Zm500 -Zc:wchar_t- -GR
81cdf0e10cSrcweir
82cdf0e10cSrcweir# Stack buffer overrun detection.
83cdf0e10cSrcweirCFLAGS+=-GS
84cdf0e10cSrcweir
85cdf0e10cSrcweirCFLAGS+=-c -nologo -Gs $(NOLOGO)
86cdf0e10cSrcweir
87cdf0e10cSrcweirCDEFS+= -D_X86_=1 -D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NON_CONFORMING_SWPRINTFS
88cdf0e10cSrcweir
89cdf0e10cSrcweir.IF "$(product)" != ""
90cdf0e10cSrcweirCFLAGS+= -Gy
91cdf0e10cSrcweir.ENDIF # "$(product)" != ""
92cdf0e10cSrcweir
93cdf0e10cSrcweir.IF "$(bndchk)" == ""
94cdf0e10cSrcweir.IF "$(VC_STANDARD)"==""
95cdf0e10cSrcweirCFLAGS+= -Ob1
96cdf0e10cSrcweir.ENDIF	# "$(VC_STANDARD)"==""
97cdf0e10cSrcweir.ENDIF
98cdf0e10cSrcweir
99cdf0e10cSrcweir# flags to enable build with symbols; required for crashdump feature
100cdf0e10cSrcweir#CFLAGSENABLESYMBOLS=-Zi -Fd$(MISC)/_ooo_st_$(TARGET).PDB
101cdf0e10cSrcweirCFLAGSENABLESYMBOLS=-Z7 -Yd
102cdf0e10cSrcweir
103cdf0e10cSrcweir.IF "$(bndchk)" != ""
104cdf0e10cSrcweir.IF "$(debug)" == ""
105cdf0e10cSrcweirCFLAGS+= -Z7
106cdf0e10cSrcweir.ENDIF
107cdf0e10cSrcweir.ENDIF
108cdf0e10cSrcweir
109cdf0e10cSrcweir.IF "$(truetime)" != ""
110cdf0e10cSrcweir.IF "$(debug)" == ""
111cdf0e10cSrcweirCFLAGS+= -Z7
112cdf0e10cSrcweir.ENDIF
113cdf0e10cSrcweir.ENDIF
114cdf0e10cSrcweir
115cdf0e10cSrcweir.IF "$(FULL_DESK)"!=""
116cdf0e10cSrcweirCDEFS+=-DFULL_DESK
117cdf0e10cSrcweirRSCDEFS+=-DFULL_DESK
118cdf0e10cSrcweir.ENDIF
119cdf0e10cSrcweir
120cdf0e10cSrcweirCFLAGSEXCEPTIONS=-EHa
121cdf0e10cSrcweirCFLAGS_NO_EXCEPTIONS=
122cdf0e10cSrcweir
123cdf0e10cSrcweir# enable boost support for __cdecl (SAL_CALL) C++-UNO interface methods
124cdf0e10cSrcweirCDEFS+=-DBOOST_MEM_FN_ENABLE_CDECL
125cdf0e10cSrcweir
126cdf0e10cSrcweir# with the current debug switches PCH won't work
127cdf0e10cSrcweir# anyway. so keep the existing .pch intact and don't
128cdf0e10cSrcweir# touch it
129cdf0e10cSrcweir.IF "$(debug)"!=""
130cdf0e10cSrcweirENABLE_PCH:=
131cdf0e10cSrcweir.ENDIF "$(debug)"!=""
132cdf0e10cSrcweir
133cdf0e10cSrcweirCFLAGS_CREATE_PCH=-I$(INCPCH) -Fo$(SLO)/pchname.obj -Ycprecompiled_$(PRJNAME).hxx -DPRECOMPILED_HEADERS
134cdf0e10cSrcweirCFLAGS_USE_PCH=-I$(INCPCH) -Yuprecompiled_$(PRJNAME).hxx -Fp$(SLO)/pch/precompiled_$(PRJNAME).hxx$(PCHPOST) -DPRECOMPILED_HEADERS
135cdf0e10cSrcweirCFLAGS_USE_EXCEPTIONS_PCH=-I$(INCPCH) -Yuprecompiled_$(PRJNAME).hxx -Fp$(SLO)/pch_ex/precompiled_$(PRJNAME).hxx$(PCHPOST) -DPRECOMPILED_HEADERS
136cdf0e10cSrcweir.IF "$(CALL_CDECL)"=="TRUE"
137cdf0e10cSrcweirCFLAGSCALL=-Gd
138cdf0e10cSrcweir.ELSE			# "$(CALL_CDECL)"=="TRUE"
139cdf0e10cSrcweirCFLAGSCALL=-Gz
140cdf0e10cSrcweir.ENDIF			# "$(CALL_CDECL)"=="TRUE"
141cdf0e10cSrcweir
142cdf0e10cSrcweirCFLAGSCC=$(ARCH_FLAGS)
143cdf0e10cSrcweir.IF "$(DYNAMIC_CRT)"!=""
144cdf0e10cSrcweirCDEFSSLOMT+=-DWIN32 -D_MT -D_DLL
145cdf0e10cSrcweirCDEFSSLOMT+=-DWIN32 -D_MT -D_DLL
146cdf0e10cSrcweir.IF "$(NO_DYNAMIC_OBJ)"==""
147cdf0e10cSrcweirCDEFSOBJMT+=-DWIN32 -D_MT -D_DLL
148cdf0e10cSrcweirCDEFSOBJMT+=-DWIN32 -D_MT -D_DLL
149cdf0e10cSrcweir.ELSE
150cdf0e10cSrcweirCDEFSOBJMT+=-DWIN32 -D_MT
151cdf0e10cSrcweirCDEFSOBJMT+=-DWIN32 -D_MT
152cdf0e10cSrcweir.ENDIF # "$(NO_DYNAMIC_OBJ)"==""
153cdf0e10cSrcweir.ELSE
154cdf0e10cSrcweirCDEFSSLOMT+=-DWIN32 -D_MT
155cdf0e10cSrcweirCDEFSSLOMT+=-DWIN32 -D_MT
156cdf0e10cSrcweirCDEFSOBJMT+=-DWIN32 -D_MT
157cdf0e10cSrcweirCDEFSOBJMT+=-DWIN32 -D_MT
158cdf0e10cSrcweir.ENDIF # "$(DYNAMIC_CRT)"!=""
159cdf0e10cSrcweir
160cdf0e10cSrcweirCFLAGSPROF=-Gh -Fd$(MISC)/$(@:b).pdb
161cdf0e10cSrcweirCFLAGSDEBUG=-Zi -Fd$(MISC)/$(@:b).pdb
162cdf0e10cSrcweirCFLAGSDBGUTIL=
163cdf0e10cSrcweir.IF "$(VC_STANDARD)"==""
164cdf0e10cSrcweirCFLAGSOPT=-Oxs -Oy-
165cdf0e10cSrcweirCFLAGSNOOPT=-Od
166cdf0e10cSrcweir.ELSE			#  "$(VC_STANDARD)"==""
167cdf0e10cSrcweirCFLAGSOPT=
168cdf0e10cSrcweirCFLAGSNOOPT=
169cdf0e10cSrcweir.ENDIF			#  "$(VC_STANDARD)"==""
170cdf0e10cSrcweirCFLAGSOUTOBJ=-Fo
171cdf0e10cSrcweir
172cdf0e10cSrcweir# For C and C++, certain warnings are disabled globally, as they result in
173cdf0e10cSrcweir# spurious warnings and are hard or impossible to workaround:
174cdf0e10cSrcweir# - "warning C4061: enumerate in switch of enum is not explicitly handled by a
175cdf0e10cSrcweir#   case label",
176cdf0e10cSrcweir# - "warning C4127: conditional expression is constant",
177cdf0e10cSrcweir# - "warning C4191: unsafe conversion from function type to function type",
178cdf0e10cSrcweir# - "warning C4217: member template functions cannot be used for copy-assignment
179cdf0e10cSrcweir#   or copy-construction",
180cdf0e10cSrcweir# - "warning C4250: 'class1' : inherits 'class2::member' via dominance",
181cdf0e10cSrcweir# - "warning C4355: 'this' used in base member initializer list",
182cdf0e10cSrcweir# - "warning C4511: copy constructor could not be generated",
183cdf0e10cSrcweir# - "warning C4512: assignment operator could not be generated",
184cdf0e10cSrcweir# - "warning C4514: unreferenced inline function has been removed",
185cdf0e10cSrcweir# - "warning C4611: interaction between '_setjmp' and C++ object destruction is
186cdf0e10cSrcweir#   non-portable",
187cdf0e10cSrcweir# - "warning C4625: copy constructor could not be generated because a base class
188cdf0e10cSrcweir#   copy constructor is inaccessible",
189cdf0e10cSrcweir# - "warning C4626: assignment operator could not be generated because a base
190cdf0e10cSrcweir#   class assignment operator is inaccessible",
191cdf0e10cSrcweir# - "warning C4675: resolved overload was found by argument-dependent lookup",
192cdf0e10cSrcweir# - "warning C4710: function not inlined",
193cdf0e10cSrcweir# - "warning C4711: function selected for automatic inline expansion",
194cdf0e10cSrcweir# - "warning C4820: padding added after member".
195cdf0e10cSrcweir# - "warning C4503: 'identifier' : decorated name length exceeded, name was truncated"
196cdf0e10cSrcweir#   (http://msdn2.microsoft.com/en-us/library/074af4b6.aspx)
197cdf0e10cSrcweir# - "warning C4180: qualifier applied to function type has no meaning; ignored"
198cdf0e10cSrcweir#   (frequently seen with a recent boost)
199cdf0e10cSrcweir# For C, certain warnings from system headers (stdlib.h etc.) have to be
200cdf0e10cSrcweir# disabled globally (for C++, this is not necessary, as the system headers are
201cdf0e10cSrcweir# wrapped by STLport):
202cdf0e10cSrcweir# - "warning C4255: no function prototype given: converting
203cdf0e10cSrcweir#   '()' to '(void)'".
204cdf0e10cSrcweir# - "warning C4365: conversion from ... to ... signed/unsigned mismatch"
205cdf0e10cSrcweir
206cdf0e10cSrcweirCFLAGSWARNCXX=-Wall -wd4061 -wd4127 -wd4191 -wd4217 -wd4250 -wd4251 -wd4275 \
207cdf0e10cSrcweir    -wd4290 -wd4294 -wd4355 -wd4511 -wd4512 -wd4514 -wd4611 -wd4625 -wd4626 \
208cdf0e10cSrcweir    -wd4640 -wd4675 -wd4710 -wd4711 -wd4786 -wd4800 -wd4820 -wd4503 -wd4619 \
209cdf0e10cSrcweir    -wd4365 -wd4668 -wd4738 -wd4826 -wd4350 -wd4505 -wd4692 -wd4189 -wd4005 \
210cdf0e10cSrcweir    -wd4180
211cdf0e10cSrcweirCFLAGSWARNCC=$(CFLAGSWARNCXX) -wd4255
212cdf0e10cSrcweirCFLAGSWALLCC=$(CFLAGSWARNCC)
213cdf0e10cSrcweirCFLAGSWALLCXX=$(CFLAGSWARNCXX)
214cdf0e10cSrcweirCFLAGSWERRCC=-WX
215cdf0e10cSrcweir
216cdf0e10cSrcweir# Once all modules on this platform compile without warnings, set
217cdf0e10cSrcweir# COMPILER_WARN_ERRORS=TRUE here instead of setting MODULES_WITH_WARNINGS (see
218cdf0e10cSrcweir# settings.mk):
219*f3ecff4eSAndre FischerMODULES_WITH_WARNINGS :=
220cdf0e10cSrcweir
221b597708bSHerbert DürrCDEFS+=-D_MT -DWINVER=0x0500 -D_WIN32_WINNT=0x0500 -D_WIN32_IE=0x0500
222cdf0e10cSrcweir.IF "$(COMEX)" == "11"
223cdf0e10cSrcweir_VC_MANIFEST_BASENAME=__VC80
224cdf0e10cSrcweir.ELSE
225cdf0e10cSrcweir_VC_MANIFEST_BASENAME=__VC90
226cdf0e10cSrcweir.ENDIF
227cdf0e10cSrcweir
228cdf0e10cSrcweirLINK=link /MACHINE:IX86 /IGNORE:4102 /IGNORE:4197
229cdf0e10cSrcweir    # do *not* add $(NOLOGO) to LINK or LINKFLAGS. Strangely, the wntmsci12 linker links fine then, but exits with
230cdf0e10cSrcweir    # a return value 1, which makes dmake think it failed
231cdf0e10cSrcweir.IF "$(PRODUCT)"!="full"
232cdf0e10cSrcweir.ELSE
233cdf0e10cSrcweirLINKFLAGS=/MAP /OPT:NOREF
234cdf0e10cSrcweir.ENDIF
235cdf0e10cSrcweir
236cdf0e10cSrcweir# excetion handling protection
237cdf0e10cSrcweirLINKFLAGS+=-safeseh
238cdf0e10cSrcweir
239cdf0e10cSrcweir# enable DEP
240cdf0e10cSrcweirLINKFLAGS+=-nxcompat
241cdf0e10cSrcweir
242cdf0e10cSrcweir# enable ASLR
243cdf0e10cSrcweirLINKFLAGS+=-dynamicbase
244cdf0e10cSrcweir
245cdf0e10cSrcweir.IF "$(linkinc)" != ""
246cdf0e10cSrcweirLINKFLAGS+=-NODEFAULTLIB -INCREMENTAL:YES -DEBUG
247cdf0e10cSrcweirMAPFILE=
248cdf0e10cSrcweir_VC_MANIFEST_INC=1
249cdf0e10cSrcweir.ELSE # "$(linkinc)" != ""
250cdf0e10cSrcweir_VC_MANIFEST_INC=0
251cdf0e10cSrcweir.IF "$(PRODUCT)"!="full"
252cdf0e10cSrcweirLINKFLAGS+= -NODEFAULTLIB -DEBUG
253cdf0e10cSrcweir.ELSE # "$(PRODUCT)"!="full"
254cdf0e10cSrcweirLINKFLAGS+= -NODEFAULTLIB -RELEASE -DEBUG -INCREMENTAL:NO
255cdf0e10cSrcweir.ENDIF # "$(PRODUCT)"!="full"
256cdf0e10cSrcweirMAPFILE=-out:$$@
257cdf0e10cSrcweir.ENDIF # "$(linkinc)" != ""
258cdf0e10cSrcweir
259cdf0e10cSrcweir.IF "$(bndchk)" != ""
260cdf0e10cSrcweirLINK=nmlink $(COMMENTFLAG) $(NOLOGO) /MACHINE:IX86
261cdf0e10cSrcweirLINKFLAGS=-NODEFAULTLIB -DEBUG
262cdf0e10cSrcweir.ENDIF
263cdf0e10cSrcweir
264cdf0e10cSrcweir.IF "$(truetime)" != ""
265cdf0e10cSrcweirLINK=nmlink /NMttOn $(COMMENTFLAG) $(NOLOGO) /MACHINE:IX86
266cdf0e10cSrcweirLINKFLAGS=-NODEFAULTLIB -DEBUG
267cdf0e10cSrcweir.ENDIF
268cdf0e10cSrcweir
269cdf0e10cSrcweir.IF "$(COMEX)" == "11"
270cdf0e10cSrcweirLINKFLAGSAPPGUI=/SUBSYSTEM:WINDOWS,4.0
271cdf0e10cSrcweirLINKFLAGSSHLGUI=/SUBSYSTEM:WINDOWS,4.0 /DLL
272cdf0e10cSrcweir.ELSE
273cdf0e10cSrcweirLINKFLAGSAPPGUI=/SUBSYSTEM:WINDOWS
274cdf0e10cSrcweirLINKFLAGSSHLGUI=/SUBSYSTEM:WINDOWS /DLL
275cdf0e10cSrcweir.ENDIF # "$(COMEX)" == "11"
276cdf0e10cSrcweirLINKFLAGSAPPCUI=/SUBSYSTEM:CONSOLE /BASE:0x1b000000
277cdf0e10cSrcweirLINKFLAGSSHLCUI=/SUBSYSTEM:CONSOLE /DLL
278cdf0e10cSrcweirLINKFLAGSTACK=/STACK:
279cdf0e10cSrcweirLINKFLAGSPROF=/DEBUG:mapped,partial /DEBUGTYPE:coff cap.lib
280cdf0e10cSrcweirLINKFLAGSWST=/DEBUG:mapped,partial /DEBUGTYPE:coff wst.lib /NODEFAULTLIB
281cdf0e10cSrcweirLINKFLAGSDEBUG=-DEBUG
282cdf0e10cSrcweirLINKFLAGSOPT=
283cdf0e10cSrcweir
284cdf0e10cSrcweirUWINAPILIB*=uwinapi.lib
285cdf0e10cSrcweir.IF "$(DYNAMIC_CRT)"!=""
286cdf0e10cSrcweir.IF "$(USE_STLP_DEBUG)" != ""
28723f1be86SHerbert DürrLIBCMT=msvcrt.lib
288cdf0e10cSrcweir.ELSE  # "$(USE_STLP_DEBUG)" != ""
289cdf0e10cSrcweirLIBCMT=msvcrt.lib
290cdf0e10cSrcweir.ENDIF # "$(USE_STLP_DEBUG)" != ""
291cdf0e10cSrcweir.ELSE # "$(DYNAMIC_CRT)"!=""
292cdf0e10cSrcweir.IF "$(USE_STLP_DEBUG)" != ""
29323f1be86SHerbert DürrLIBCMT=libcmt.lib
294cdf0e10cSrcweir.ELSE  # "$(USE_STLP_DEBUG)" != ""
295cdf0e10cSrcweirLIBCMT=libcmt.lib
296cdf0e10cSrcweir.ENDIF # "$(USE_STLP_DEBUG)" != ""
297cdf0e10cSrcweir.ENDIF # "$(DYNAMIC_CRT)"!=""
298cdf0e10cSrcweir
299cdf0e10cSrcweirSTDOBJVCL=$(L)/salmain.obj
300cdf0e10cSrcweirSTDOBJGUI=
301cdf0e10cSrcweirSTDSLOGUI=
302cdf0e10cSrcweirSTDOBJCUI=
303cdf0e10cSrcweirSTDSLOCUI=
304cdf0e10cSrcweir
305cdf0e10cSrcweirSTDLIBGUIMT=$(LIBCMT) $(UWINAPILIB) kernel32.lib user32.lib oldnames.lib
306cdf0e10cSrcweirSTDLIBCUIMT=$(LIBCMT) $(UWINAPILIB) kernel32.lib user32.lib oldnames.lib
307cdf0e10cSrcweirSTDSHLGUIMT=$(LIBCMT) $(UWINAPILIB) kernel32.lib user32.lib oldnames.lib
308cdf0e10cSrcweirSTDSHLCUIMT=$(LIBCMT) $(UWINAPILIB) kernel32.lib user32.lib oldnames.lib
309cdf0e10cSrcweir
3103d2a2350SHerbert Dürr.IF "$(USE_SYSTEM_STL)" == "YES"
3113d2a2350SHerbert Dürr.IF "$(DYNAMIC_CRT)"!=""
3123d2a2350SHerbert Dürr.IF "$(USE_STLP_DEBUG)" != ""
31323f1be86SHerbert DürrLIBCMT+= msvcprt.lib
3143d2a2350SHerbert Dürr.ELSE
3153d2a2350SHerbert DürrLIBCMT+= msvcprt.lib
3163d2a2350SHerbert Dürr.ENDIF
3173d2a2350SHerbert Dürr.ELSE # "$(DYNAMIC_CRT)"==""
3183d2a2350SHerbert Dürr.IF "$(USE_STLP_DEBUG)" != ""
31923f1be86SHerbert DürrLIBCMT+= libcpmt.lib
3203d2a2350SHerbert Dürr.ELSE
3213d2a2350SHerbert DürrLIBCMT+= libcpmt.lib
3223d2a2350SHerbert Dürr.ENDIF "$(USE_STLP_DEBUG)" == ""
3233d2a2350SHerbert Dürr.ENDIF # "$(DYNAMIC_CRT)"!=""
3243d2a2350SHerbert Dürr.ELSE # !USE_SYSTEM_STL
325cdf0e10cSrcweir.IF "$(USE_STLP_DEBUG)" != ""
326cdf0e10cSrcweirLIBSTLPORT=stlport_vc71_stldebug.lib
327cdf0e10cSrcweirLIBSTLPORTST=stlport_vc71_stldebug_static.lib
328cdf0e10cSrcweir.ELSE
329cdf0e10cSrcweirLIBSTLPORT=stlport_vc71.lib
330cdf0e10cSrcweirLIBSTLPORTST=stlport_vc71_static.lib
331cdf0e10cSrcweir.ENDIF
3323d2a2350SHerbert Dürr.ENDIF
333cdf0e10cSrcweir
334cdf0e10cSrcweir.IF "$(PROF_EDITION)" == ""
335cdf0e10cSrcweirATL_INCLUDE*=$(COMPATH)/PlatformSDK/include/atl
336cdf0e10cSrcweirATL_LIB*=$(COMPATH)/atlmfc/lib
337cdf0e10cSrcweirMFC_INCLUDE*=$(COMPATH)/PlatformSDK/include/mfc
338cdf0e10cSrcweirMFC_LIB*=$(COMPATH)/atlmfc/lib
339cdf0e10cSrcweir.ELSE
340cdf0e10cSrcweirATL_INCLUDE*=$(COMPATH)/atlmfc/include
341cdf0e10cSrcweirATL_LIB*=$(COMPATH)/atlmfc/lib
342cdf0e10cSrcweirMFC_INCLUDE*=$(COMPATH)/atlmfc/include
343cdf0e10cSrcweirMFC_LIB*=$(COMPATH)/atlmfc/lib
344cdf0e10cSrcweir.ENDIF
345cdf0e10cSrcweir
346cdf0e10cSrcweirLIBMGR=lib $(NOLOGO)
347cdf0e10cSrcweirIMPLIB=lib
348cdf0e10cSrcweirLIBFLAGS=
349cdf0e10cSrcweir
350cdf0e10cSrcweirIMPLIBFLAGS=-machine:IX86
351cdf0e10cSrcweir
352cdf0e10cSrcweirMAPSYM=
353cdf0e10cSrcweirMAPSYMFLAGS=
354cdf0e10cSrcweir
355cdf0e10cSrcweirRC=rc
356cdf0e10cSrcweirRCFLAGS=-r -DWIN32 -fo$@ $(RCFILES)
357cdf0e10cSrcweirRCLINK=rc
358cdf0e10cSrcweirRCLINKFLAGS=
359cdf0e10cSrcweirRCSETVERSION=
360cdf0e10cSrcweir
361cdf0e10cSrcweirMT=mt.exe
362cdf0e10cSrcweirMTFLAGS=$(NOLOGO)
363cdf0e10cSrcweir
364cdf0e10cSrcweir
365a4f23604SHerbert DürrDLLPOSTFIX=
366cdf0e10cSrcweirPCHPOST=.pch
367cdf0e10cSrcweir
368cdf0e10cSrcweirCSC*=$(FLIPCMD) csc
369cdf0e10cSrcweirVBC*=vbc
370cdf0e10cSrcweir
371cdf0e10cSrcweirADVAPI32LIB=advapi32.lib
372cdf0e10cSrcweirSHELL32LIB=shell32.lib
373cdf0e10cSrcweirGDI32LIB=gdi32.lib
374cdf0e10cSrcweirOLE32LIB=ole32.lib
375cdf0e10cSrcweirOLEAUT32LIB=oleaut32.lib
376cdf0e10cSrcweirUUIDLIB=uuid.lib
377cdf0e10cSrcweirWINSPOOLLIB=winspool.lib
378cdf0e10cSrcweirIMM32LIB=imm32.lib
379cdf0e10cSrcweirVERSIONLIB=version.lib
380cdf0e10cSrcweirWINMMLIB=winmm.lib
381cdf0e10cSrcweirWSOCK32LIB=wsock32.lib
382cdf0e10cSrcweirMPRLIB=mpr.lib
383cdf0e10cSrcweirWS2_32LIB=ws2_32.lib
384cdf0e10cSrcweirKERNEL32LIB=kernel32.lib
385cdf0e10cSrcweirUSER32LIB=user32.lib
386cdf0e10cSrcweirCOMDLG32LIB=comdlg32.lib
387cdf0e10cSrcweirCOMCTL32LIB=comctl32.lib
388cdf0e10cSrcweirCRYPT32LIB=crypt32.lib
389cdf0e10cSrcweirGDIPLUSLIB=gdiplus.lib
390cdf0e10cSrcweirDBGHELPLIB=dbghelp.lib
391cdf0e10cSrcweirMSILIB=msi.lib
392cdf0e10cSrcweirDDRAWLIB=ddraw.lib
393cdf0e10cSrcweirSHLWAPILIB=shlwapi.lib
394cdf0e10cSrcweirURLMONLIB=urlmon.lib
395cdf0e10cSrcweirWININETLIB=wininet.lib
396cdf0e10cSrcweirOLDNAMESLIB=oldnames.lib
397cdf0e10cSrcweirMSIMG32LIB=msimg32.lib
398cdf0e10cSrcweirPROPSYSLIB=propsys.lib
399cdf0e10cSrcweir
400