17871dc3eSAndrew Rist#**************************************************************
2*fe5d43d9Smseidel#
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
10*fe5d43d9Smseidel#
117871dc3eSAndrew Rist#    http://www.apache.org/licenses/LICENSE-2.0
12*fe5d43d9Smseidel#
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.
19*fe5d43d9Smseidel#
207871dc3eSAndrew Rist#**************************************************************
217871dc3eSAndrew Rist
227871dc3eSAndrew Rist
23cdf0e10cSrcweir
24cdf0e10cSrcweirPRJ=..$/..$/..$/..
25cdf0e10cSrcweirPRJNAME=shell
26cdf0e10cSrcweirTARGET=ooofilt
27cdf0e10cSrcweirLIBTARGET=NO
28cdf0e10cSrcweirENABLE_EXCEPTIONS=TRUE
29cdf0e10cSrcweirUSE_DEFFILE=TRUE
30cdf0e10cSrcweir
31cdf0e10cSrcweir# Do not use the dynamic STLport library.
32cdf0e10cSrcweirNO_DEFAULT_STL=YES
33cdf0e10cSrcweir
34cdf0e10cSrcweir# Do not use the uwinapi library
35cdf0e10cSrcweirUWINAPILIB=
36cdf0e10cSrcweir
37cdf0e10cSrcweir
38cdf0e10cSrcweir# --- Settings -----------------------------------------------------
39cdf0e10cSrcweir
40*fe5d43d9Smseidel.INCLUDE :	settings.mk
41cdf0e10cSrcweir
42cdf0e10cSrcweirCFLAGS+=-DISOLATION_AWARE_ENABLED -DWIN32_LEAN_AND_MEAN -DXML_UNICODE -D_NTSDK -DUNICODE -D_UNICODE -D_WIN32_WINNT=0x0501
43cdf0e10cSrcweirCFLAGS+=-wd4710 -wd4711 -wd4514 -wd4619 -wd4217 -wd4820
44cdf0e10cSrcweirCDEFS+=-D_WIN32_IE=0x501
45*fe5d43d9Smseidel# SCPCDEFS+=-D_STLP_USE_STATIC_LIB
46cdf0e10cSrcweir
47cdf0e10cSrcweir# --- Files --------------------------------------------------------
48cdf0e10cSrcweir
49cdf0e10cSrcweirSLOFILES=$(SLO)$/ooofilt.obj\
50*fe5d43d9Smseidel		$(SLO)$/propspec.obj\
51*fe5d43d9Smseidel		$(SLO)$/stream_helper.obj
52cdf0e10cSrcweir
53*fe5d43d9Smseidel#		$(SLO)$/utilities.obj
54*fe5d43d9Smseidel#		$(SLO)$/dbgmacros.obj
55cdf0e10cSrcweir
56cdf0e10cSrcweirSHL1TARGET=$(TARGET)
57cdf0e10cSrcweir.IF "$(COM)"=="GCC"
58cdf0e10cSrcweirSHL1STDLIBS=$(ZLIB3RDLIB) $(EXPAT3RDLIB)
59cdf0e10cSrcweirSHL1LIBS=
60cdf0e10cSrcweir.ELSE
61cdf0e10cSrcweirSHL1STDLIBS=
62cdf0e10cSrcweirSHL1LIBS=$(SOLARLIBDIR)$/zlib.lib\
63*fe5d43d9Smseidel	$(SOLARLIBDIR)$/expat_xmlparse.lib\
64*fe5d43d9Smseidel	$(SOLARLIBDIR)$/expat_xmltok.lib
65cdf0e10cSrcweir.ENDIF
66cdf0e10cSrcweirSHL1STDLIBS+=$(OLE32LIB)\
67*fe5d43d9Smseidel	$(ADVAPI32LIB)\
68*fe5d43d9Smseidel	$(COMCTL32LIB)\
69*fe5d43d9Smseidel	$(UUIDLIB)\
70*fe5d43d9Smseidel	$(SHELL32LIB)\
71*fe5d43d9Smseidel	$(KERNEL32LIB)\
72*fe5d43d9Smseidel	$(OLDNAMESLIB)
73cdf0e10cSrcweir
74cdf0e10cSrcweir.IF "$(COM)"!="GCC"
75cdf0e10cSrcweirSHL1STDLIBS+=msvcprt.lib
76cdf0e10cSrcweir
77cdf0e10cSrcweir.IF "$(PRODUCT)"!="full"
78cdf0e10cSrcweirSHL1STDLIBS+=msvcrt.lib
79cdf0e10cSrcweir.ENDIF
80cdf0e10cSrcweir.ENDIF
81cdf0e10cSrcweir
82*fe5d43d9Smseidel
83*fe5d43d9Smseidel#	$(LIBSTLPORTST)
84*fe5d43d9Smseidel
85cdf0e10cSrcweirSHL1LIBS+=$(SLB)$/util.lib\
86*fe5d43d9Smseidel	$(SLB)$/ooofilereader.lib
87*fe5d43d9Smseidel
88cdf0e10cSrcweirSHL1DEPN=
89cdf0e10cSrcweirSHL1OBJS=$(SLOFILES)
90cdf0e10cSrcweirSHL1DEF=$(MISC)$/$(SHL1TARGET).def
91cdf0e10cSrcweirDEF1NAME=$(SHL1TARGET)
92cdf0e10cSrcweirDEF1EXPORTFILE=exports.dxp
93cdf0e10cSrcweir
94cdf0e10cSrcweir
95cdf0e10cSrcweir.IF "$(BUILD_X64)"!=""
96cdf0e10cSrcweir#---------------------------- x64 -------------------------
97cdf0e10cSrcweirCFLAGS_X64+=-DISOLATION_AWARE_ENABLED -DWIN32_LEAN_AND_MEAN -DXML_UNICODE -D_NTSDK -DUNICODE -D_UNICODE -D_WIN32_WINNT=0x0501
98cdf0e10cSrcweirCFLAGS_X64+=-wd4710 -wd4711 -wd4514 -wd4619 -wd4217 -wd4820
99cdf0e10cSrcweirCDEFS_X64+=-D_WIN32_IE=0x501
100cdf0e10cSrcweirUSE_DEFFILE_X64=TRUE
101cdf0e10cSrcweir
102cdf0e10cSrcweirSLOFILES_X64=$(SLO_X64)$/ooofilt.obj\
103*fe5d43d9Smseidel		$(SLO_X64)$/propspec.obj\
104*fe5d43d9Smseidel		$(SLO_X64)$/stream_helper.obj
105cdf0e10cSrcweir
106cdf0e10cSrcweirSHL1TARGET_X64=$(TARGET)
107cdf0e10cSrcweir
108cdf0e10cSrcweirSHL1LIBS_X64=$(SOLARLIBDIR_X64)$/zlib.lib\
109*fe5d43d9Smseidel	$(SOLARLIBDIR_X64)$/expat_xmlparse.lib\
110*fe5d43d9Smseidel	$(SOLARLIBDIR_X64)$/expat_xmltok.lib
111cdf0e10cSrcweir
112cdf0e10cSrcweirSHL1STDLIBS_X64+=$(OLE32LIB_X64)\
113*fe5d43d9Smseidel	$(ADVAPI32LIB_X64)\
114*fe5d43d9Smseidel	$(COMCTL32LIB_X64)\
115*fe5d43d9Smseidel	$(UUIDLIB_X64)\
116*fe5d43d9Smseidel	$(USER32LIB_X64) \
117*fe5d43d9Smseidel	$(SHELL32LIB_X64)\
118*fe5d43d9Smseidel	$(KERNEL32LIB_X64)\
119*fe5d43d9Smseidel	$(MSVCPRT_X64) \
120*fe5d43d9Smseidel	$(MSVCRT_X64) \
121*fe5d43d9Smseidel	$(OLDNAMESLIB_X64)
122cdf0e10cSrcweir
123cdf0e10cSrcweirSHL1LIBS_X64+=$(SLB_X64)$/util.lib\
124*fe5d43d9Smseidel	$(SLB_X64)$/ooofilereader.lib
125cdf0e10cSrcweirSHL1OBJS_X64=$(SLOFILES_X64)
126cdf0e10cSrcweirSHL1DEF_X64=$(MISC_X64)$/$(SHL1TARGET_X64).def
127cdf0e10cSrcweirDEF1NAME_X64=$(SHL1TARGET_X64)
128cdf0e10cSrcweirDEF1EXPORTFILE_X64=exports.dxp
129cdf0e10cSrcweir.ENDIF # "$(BUILD_X64)"!=""
130cdf0e10cSrcweir
131cdf0e10cSrcweir# --- Targets ------------------------------------------------------
132cdf0e10cSrcweir
133cdf0e10cSrcweir.INCLUDE :	set_wntx64.mk
134cdf0e10cSrcweir.INCLUDE :	target.mk
135cdf0e10cSrcweirINCLUDE!:=$(subst,/stl, $(INCLUDE))
1368fb1ee5aSHerbert Dürr
137cdf0e10cSrcweir.INCLUDE :	tg_wntx64.mk
138*fe5d43d9Smseidel
139*fe5d43d9Smseidel# vim: set noet sw=4 ts=4:
140