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
24PRJ=..$/..$/..$/..
25PRJNAME=shell
26TARGET=ooofilt
27LIBTARGET=NO
28ENABLE_EXCEPTIONS=TRUE
29USE_DEFFILE=TRUE
30
31# Do not use the dynamic STLport library.
32NO_DEFAULT_STL=YES
33
34# Do not use the uwinapi library
35UWINAPILIB=
36
37
38# --- Settings -----------------------------------------------------
39
40.INCLUDE :  settings.mk
41
42CFLAGS+=-DISOLATION_AWARE_ENABLED -DWIN32_LEAN_AND_MEAN -DXML_UNICODE -D_NTSDK -DUNICODE -D_UNICODE -D_WIN32_WINNT=0x0501
43CFLAGS+=-wd4710 -wd4711 -wd4514 -wd4619 -wd4217 -wd4820
44CDEFS+=-D_WIN32_IE=0x501
45# SCPCDEFS+=-D_STLP_USE_STATIC_LIB
46
47# --- Files --------------------------------------------------------
48
49SLOFILES=$(SLO)$/ooofilt.obj\
50        $(SLO)$/propspec.obj\
51        $(SLO)$/stream_helper.obj
52
53#       $(SLO)$/utilities.obj
54#        $(SLO)$/dbgmacros.obj
55
56SHL1TARGET=$(TARGET)
57.IF "$(COM)"=="GCC"
58SHL1STDLIBS=$(ZLIB3RDLIB) $(EXPAT3RDLIB)
59SHL1LIBS=
60.ELSE
61SHL1STDLIBS=
62SHL1LIBS=$(SOLARLIBDIR)$/zlib.lib\
63    $(SOLARLIBDIR)$/expat_xmlparse.lib\
64    $(SOLARLIBDIR)$/expat_xmltok.lib
65.ENDIF
66SHL1STDLIBS+=$(OLE32LIB)\
67     $(ADVAPI32LIB)\
68     $(COMCTL32LIB)\
69     $(UUIDLIB)\
70     $(SHELL32LIB)\
71     $(KERNEL32LIB)\
72     $(OLDNAMESLIB)
73
74.IF "$(COM)"!="GCC"
75SHL1STDLIBS+=msvcprt.lib
76
77.IF "$(PRODUCT)"!="full"
78SHL1STDLIBS+=msvcrt.lib
79.ENDIF
80.ENDIF
81
82
83#     $(LIBSTLPORTST)
84
85SHL1LIBS+=$(SLB)$/util.lib\
86    $(SLB)$/ooofilereader.lib
87
88SHL1DEPN=
89SHL1OBJS=$(SLOFILES)
90SHL1DEF=$(MISC)$/$(SHL1TARGET).def
91DEF1NAME=$(SHL1TARGET)
92DEF1EXPORTFILE=exports.dxp
93
94
95.IF "$(BUILD_X64)"!=""
96#---------------------------- x64 -------------------------
97CFLAGS_X64+=-DISOLATION_AWARE_ENABLED -DWIN32_LEAN_AND_MEAN -DXML_UNICODE -D_NTSDK -DUNICODE -D_UNICODE -D_WIN32_WINNT=0x0501
98CFLAGS_X64+=-wd4710 -wd4711 -wd4514 -wd4619 -wd4217 -wd4820
99CDEFS_X64+=-D_WIN32_IE=0x501
100USE_DEFFILE_X64=TRUE
101
102SLOFILES_X64=$(SLO_X64)$/ooofilt.obj\
103        $(SLO_X64)$/propspec.obj\
104        $(SLO_X64)$/stream_helper.obj
105
106SHL1TARGET_X64=$(TARGET)
107
108SHL1LIBS_X64=$(SOLARLIBDIR_X64)$/zlib.lib\
109    $(SOLARLIBDIR_X64)$/expat_xmlparse.lib\
110    $(SOLARLIBDIR_X64)$/expat_xmltok.lib
111
112SHL1STDLIBS_X64+=$(OLE32LIB_X64)\
113     $(ADVAPI32LIB_X64)\
114     $(COMCTL32LIB_X64)\
115     $(UUIDLIB_X64)\
116	 $(USER32LIB_X64) \
117     $(SHELL32LIB_X64)\
118     $(KERNEL32LIB_X64)\
119	 $(MSVCPRT_X64) \
120	 $(MSVCRT_X64) \
121     $(OLDNAMESLIB_X64)
122
123SHL1LIBS_X64+=$(SLB_X64)$/util.lib\
124    $(SLB_X64)$/ooofilereader.lib
125SHL1OBJS_X64=$(SLOFILES_X64)
126SHL1DEF_X64=$(MISC_X64)$/$(SHL1TARGET_X64).def
127DEF1NAME_X64=$(SHL1TARGET_X64)
128DEF1EXPORTFILE_X64=exports.dxp
129.ENDIF # "$(BUILD_X64)"!=""
130
131# --- Targets ------------------------------------------------------
132
133.INCLUDE :	set_wntx64.mk
134.INCLUDE :	target.mk
135INCLUDE!:=$(subst,/stl, $(INCLUDE))
136
137.INCLUDE :	tg_wntx64.mk
138