1*b1cdbd2cSJim Jagielski#**************************************************************
2*b1cdbd2cSJim Jagielski#
3*b1cdbd2cSJim Jagielski#  Licensed to the Apache Software Foundation (ASF) under one
4*b1cdbd2cSJim Jagielski#  or more contributor license agreements.  See the NOTICE file
5*b1cdbd2cSJim Jagielski#  distributed with this work for additional information
6*b1cdbd2cSJim Jagielski#  regarding copyright ownership.  The ASF licenses this file
7*b1cdbd2cSJim Jagielski#  to you under the Apache License, Version 2.0 (the
8*b1cdbd2cSJim Jagielski#  "License"); you may not use this file except in compliance
9*b1cdbd2cSJim Jagielski#  with the License.  You may obtain a copy of the License at
10*b1cdbd2cSJim Jagielski#
11*b1cdbd2cSJim Jagielski#    http://www.apache.org/licenses/LICENSE-2.0
12*b1cdbd2cSJim Jagielski#
13*b1cdbd2cSJim Jagielski#  Unless required by applicable law or agreed to in writing,
14*b1cdbd2cSJim Jagielski#  software distributed under the License is distributed on an
15*b1cdbd2cSJim Jagielski#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*b1cdbd2cSJim Jagielski#  KIND, either express or implied.  See the License for the
17*b1cdbd2cSJim Jagielski#  specific language governing permissions and limitations
18*b1cdbd2cSJim Jagielski#  under the License.
19*b1cdbd2cSJim Jagielski#
20*b1cdbd2cSJim Jagielski#**************************************************************
21*b1cdbd2cSJim Jagielski
22*b1cdbd2cSJim Jagielski
23*b1cdbd2cSJim Jagielski
24*b1cdbd2cSJim JagielskiPRJ=..$/..$/..$/..
25*b1cdbd2cSJim JagielskiPRJNAME=shell
26*b1cdbd2cSJim JagielskiTARGET=ooofilt
27*b1cdbd2cSJim JagielskiLIBTARGET=NO
28*b1cdbd2cSJim JagielskiENABLE_EXCEPTIONS=TRUE
29*b1cdbd2cSJim JagielskiUSE_DEFFILE=TRUE
30*b1cdbd2cSJim Jagielski
31*b1cdbd2cSJim Jagielski# Do not use the dynamic STLport library.
32*b1cdbd2cSJim JagielskiNO_DEFAULT_STL=YES
33*b1cdbd2cSJim Jagielski
34*b1cdbd2cSJim Jagielski# Do not use the uwinapi library
35*b1cdbd2cSJim JagielskiUWINAPILIB=
36*b1cdbd2cSJim Jagielski
37*b1cdbd2cSJim Jagielski
38*b1cdbd2cSJim Jagielski# --- Settings -----------------------------------------------------
39*b1cdbd2cSJim Jagielski
40*b1cdbd2cSJim Jagielski.INCLUDE :  settings.mk
41*b1cdbd2cSJim Jagielski
42*b1cdbd2cSJim JagielskiCFLAGS+=-DISOLATION_AWARE_ENABLED -DWIN32_LEAN_AND_MEAN -DXML_UNICODE -D_NTSDK -DUNICODE -D_UNICODE -D_WIN32_WINNT=0x0501
43*b1cdbd2cSJim JagielskiCFLAGS+=-wd4710 -wd4711 -wd4514 -wd4619 -wd4217 -wd4820
44*b1cdbd2cSJim JagielskiCDEFS+=-D_WIN32_IE=0x501
45*b1cdbd2cSJim Jagielski# SCPCDEFS+=-D_STLP_USE_STATIC_LIB
46*b1cdbd2cSJim Jagielski
47*b1cdbd2cSJim Jagielski# --- Files --------------------------------------------------------
48*b1cdbd2cSJim Jagielski
49*b1cdbd2cSJim JagielskiSLOFILES=$(SLO)$/ooofilt.obj\
50*b1cdbd2cSJim Jagielski        $(SLO)$/propspec.obj\
51*b1cdbd2cSJim Jagielski        $(SLO)$/stream_helper.obj
52*b1cdbd2cSJim Jagielski
53*b1cdbd2cSJim Jagielski#       $(SLO)$/utilities.obj
54*b1cdbd2cSJim Jagielski#        $(SLO)$/dbgmacros.obj
55*b1cdbd2cSJim Jagielski
56*b1cdbd2cSJim JagielskiSHL1TARGET=$(TARGET)
57*b1cdbd2cSJim Jagielski.IF "$(COM)"=="GCC"
58*b1cdbd2cSJim JagielskiSHL1STDLIBS=$(ZLIB3RDLIB) $(EXPAT3RDLIB)
59*b1cdbd2cSJim JagielskiSHL1LIBS=
60*b1cdbd2cSJim Jagielski.ELSE
61*b1cdbd2cSJim JagielskiSHL1STDLIBS=
62*b1cdbd2cSJim JagielskiSHL1LIBS=$(SOLARLIBDIR)$/zlib.lib\
63*b1cdbd2cSJim Jagielski    $(SOLARLIBDIR)$/expat_xmlparse.lib\
64*b1cdbd2cSJim Jagielski    $(SOLARLIBDIR)$/expat_xmltok.lib
65*b1cdbd2cSJim Jagielski.ENDIF
66*b1cdbd2cSJim JagielskiSHL1STDLIBS+=$(OLE32LIB)\
67*b1cdbd2cSJim Jagielski     $(ADVAPI32LIB)\
68*b1cdbd2cSJim Jagielski     $(COMCTL32LIB)\
69*b1cdbd2cSJim Jagielski     $(UUIDLIB)\
70*b1cdbd2cSJim Jagielski     $(SHELL32LIB)\
71*b1cdbd2cSJim Jagielski     $(KERNEL32LIB)\
72*b1cdbd2cSJim Jagielski     $(OLDNAMESLIB)
73*b1cdbd2cSJim Jagielski
74*b1cdbd2cSJim Jagielski.IF "$(COM)"!="GCC"
75*b1cdbd2cSJim JagielskiSHL1STDLIBS+=msvcprt.lib
76*b1cdbd2cSJim Jagielski
77*b1cdbd2cSJim Jagielski.IF "$(PRODUCT)"!="full"
78*b1cdbd2cSJim JagielskiSHL1STDLIBS+=msvcrt.lib
79*b1cdbd2cSJim Jagielski.ENDIF
80*b1cdbd2cSJim Jagielski.ENDIF
81*b1cdbd2cSJim Jagielski
82*b1cdbd2cSJim Jagielski
83*b1cdbd2cSJim Jagielski#     $(LIBSTLPORTST)
84*b1cdbd2cSJim Jagielski
85*b1cdbd2cSJim JagielskiSHL1LIBS+=$(SLB)$/util.lib\
86*b1cdbd2cSJim Jagielski    $(SLB)$/ooofilereader.lib
87*b1cdbd2cSJim Jagielski
88*b1cdbd2cSJim JagielskiSHL1DEPN=
89*b1cdbd2cSJim JagielskiSHL1OBJS=$(SLOFILES)
90*b1cdbd2cSJim JagielskiSHL1DEF=$(MISC)$/$(SHL1TARGET).def
91*b1cdbd2cSJim JagielskiDEF1NAME=$(SHL1TARGET)
92*b1cdbd2cSJim JagielskiDEF1EXPORTFILE=exports.dxp
93*b1cdbd2cSJim Jagielski
94*b1cdbd2cSJim Jagielski
95*b1cdbd2cSJim Jagielski.IF "$(BUILD_X64)"!=""
96*b1cdbd2cSJim Jagielski#---------------------------- x64 -------------------------
97*b1cdbd2cSJim JagielskiCFLAGS_X64+=-DISOLATION_AWARE_ENABLED -DWIN32_LEAN_AND_MEAN -DXML_UNICODE -D_NTSDK -DUNICODE -D_UNICODE -D_WIN32_WINNT=0x0501
98*b1cdbd2cSJim JagielskiCFLAGS_X64+=-wd4710 -wd4711 -wd4514 -wd4619 -wd4217 -wd4820
99*b1cdbd2cSJim JagielskiCDEFS_X64+=-D_WIN32_IE=0x501
100*b1cdbd2cSJim JagielskiUSE_DEFFILE_X64=TRUE
101*b1cdbd2cSJim Jagielski
102*b1cdbd2cSJim JagielskiSLOFILES_X64=$(SLO_X64)$/ooofilt.obj\
103*b1cdbd2cSJim Jagielski        $(SLO_X64)$/propspec.obj\
104*b1cdbd2cSJim Jagielski        $(SLO_X64)$/stream_helper.obj
105*b1cdbd2cSJim Jagielski
106*b1cdbd2cSJim JagielskiSHL1TARGET_X64=$(TARGET)
107*b1cdbd2cSJim Jagielski
108*b1cdbd2cSJim JagielskiSHL1LIBS_X64=$(SOLARLIBDIR_X64)$/zlib.lib\
109*b1cdbd2cSJim Jagielski    $(SOLARLIBDIR_X64)$/expat_xmlparse.lib\
110*b1cdbd2cSJim Jagielski    $(SOLARLIBDIR_X64)$/expat_xmltok.lib
111*b1cdbd2cSJim Jagielski
112*b1cdbd2cSJim JagielskiSHL1STDLIBS_X64+=$(OLE32LIB_X64)\
113*b1cdbd2cSJim Jagielski     $(ADVAPI32LIB_X64)\
114*b1cdbd2cSJim Jagielski     $(COMCTL32LIB_X64)\
115*b1cdbd2cSJim Jagielski     $(UUIDLIB_X64)\
116*b1cdbd2cSJim Jagielski	 $(USER32LIB_X64) \
117*b1cdbd2cSJim Jagielski     $(SHELL32LIB_X64)\
118*b1cdbd2cSJim Jagielski     $(KERNEL32LIB_X64)\
119*b1cdbd2cSJim Jagielski	 $(MSVCPRT_X64) \
120*b1cdbd2cSJim Jagielski	 $(MSVCRT_X64) \
121*b1cdbd2cSJim Jagielski     $(OLDNAMESLIB_X64)
122*b1cdbd2cSJim Jagielski
123*b1cdbd2cSJim JagielskiSHL1LIBS_X64+=$(SLB_X64)$/util.lib\
124*b1cdbd2cSJim Jagielski    $(SLB_X64)$/ooofilereader.lib
125*b1cdbd2cSJim JagielskiSHL1OBJS_X64=$(SLOFILES_X64)
126*b1cdbd2cSJim JagielskiSHL1DEF_X64=$(MISC_X64)$/$(SHL1TARGET_X64).def
127*b1cdbd2cSJim JagielskiDEF1NAME_X64=$(SHL1TARGET_X64)
128*b1cdbd2cSJim JagielskiDEF1EXPORTFILE_X64=exports.dxp
129*b1cdbd2cSJim Jagielski.ENDIF # "$(BUILD_X64)"!=""
130*b1cdbd2cSJim Jagielski
131*b1cdbd2cSJim Jagielski# --- Targets ------------------------------------------------------
132*b1cdbd2cSJim Jagielski
133*b1cdbd2cSJim Jagielski.INCLUDE :	set_wntx64.mk
134*b1cdbd2cSJim Jagielski.INCLUDE :	target.mk
135*b1cdbd2cSJim JagielskiINCLUDE!:=$(subst,/stl, $(INCLUDE))
136*b1cdbd2cSJim Jagielski
137*b1cdbd2cSJim Jagielski.INCLUDE :	tg_wntx64.mk
138