1*7871dc3eSAndrew Rist#**************************************************************
2*7871dc3eSAndrew Rist#
3*7871dc3eSAndrew Rist#  Licensed to the Apache Software Foundation (ASF) under one
4*7871dc3eSAndrew Rist#  or more contributor license agreements.  See the NOTICE file
5*7871dc3eSAndrew Rist#  distributed with this work for additional information
6*7871dc3eSAndrew Rist#  regarding copyright ownership.  The ASF licenses this file
7*7871dc3eSAndrew Rist#  to you under the Apache License, Version 2.0 (the
8*7871dc3eSAndrew Rist#  "License"); you may not use this file except in compliance
9*7871dc3eSAndrew Rist#  with the License.  You may obtain a copy of the License at
10*7871dc3eSAndrew Rist#
11*7871dc3eSAndrew Rist#    http://www.apache.org/licenses/LICENSE-2.0
12*7871dc3eSAndrew Rist#
13*7871dc3eSAndrew Rist#  Unless required by applicable law or agreed to in writing,
14*7871dc3eSAndrew Rist#  software distributed under the License is distributed on an
15*7871dc3eSAndrew Rist#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*7871dc3eSAndrew Rist#  KIND, either express or implied.  See the License for the
17*7871dc3eSAndrew Rist#  specific language governing permissions and limitations
18*7871dc3eSAndrew Rist#  under the License.
19*7871dc3eSAndrew Rist#
20*7871dc3eSAndrew Rist#**************************************************************
21*7871dc3eSAndrew Rist
22*7871dc3eSAndrew Rist
23cdf0e10cSrcweir
24cdf0e10cSrcweirPRJ=..$/..$/..
25cdf0e10cSrcweirPRJNAME=shell
26cdf0e10cSrcweirTARGET=shlxthdl
27cdf0e10cSrcweirLIBTARGET=NO
28cdf0e10cSrcweirENABLE_EXCEPTIONS=TRUE
29cdf0e10cSrcweirUSE_DEFFILE=TRUE
30cdf0e10cSrcweir.IF "$(BUILD_X64)"!=""
31cdf0e10cSrcweirUSE_DEFFILE_X64=TRUE
32cdf0e10cSrcweir.ENDIF
33cdf0e10cSrcweirNO_DEFAULT_STL=TRUE
34cdf0e10cSrcweirUSE_STLP_DEBUG=
35cdf0e10cSrcweir
36cdf0e10cSrcweir# --- Settings -----------------------------------------------------
37cdf0e10cSrcweir
38cdf0e10cSrcweir.INCLUDE :  settings.mk
39cdf0e10cSrcweir
40cdf0e10cSrcweirUWINAPILIB =
41cdf0e10cSrcweirUWINAPILIB_X64 =
42cdf0e10cSrcweir
43cdf0e10cSrcweirCFLAGS+=-DISOLATION_AWARE_ENABLED -DWIN32_LEAN_AND_MEAN -DXML_UNICODE -D_NTSDK -DUNICODE -D_UNICODE -D_WIN32_WINNT=0x0501
44cdf0e10cSrcweirCFLAGS+=-wd4710 -wd4711 -wd4514 -wd4619 -wd4217 -wd4820
45cdf0e10cSrcweirCDEFS+=-D_WIN32_IE=0x501
46cdf0e10cSrcweir
47cdf0e10cSrcweir# --- Files --------------------------------------------------------
48cdf0e10cSrcweir
49cdf0e10cSrcweirSLOFILES=$(SLO)$/classfactory.obj\
50cdf0e10cSrcweir	$(SLO)$/columninfo.obj\
51cdf0e10cSrcweir	$(SLO)$/infotips.obj\
52cdf0e10cSrcweir	$(SLO)$/propsheets.obj\
53cdf0e10cSrcweir	$(SLO)$/shlxthdl.obj\
54cdf0e10cSrcweir	$(SLO)$/listviewbuilder.obj\
55cdf0e10cSrcweir	$(SLO)$/document_statistic.obj\
56cdf0e10cSrcweir	$(SLO)$/thumbviewer.obj\
57cdf0e10cSrcweir
58cdf0e10cSrcweirSHL1TARGET=$(TARGET)
59cdf0e10cSrcweir
60cdf0e10cSrcweir.IF "$(COM)"=="GCC"
61cdf0e10cSrcweirSHL1STDLIBS=$(ZLIB3RDLIB) $(EXPAT3RDLIB) $(COMCTL32LIB)
62cdf0e10cSrcweirSHL1LIBS=
63cdf0e10cSrcweir.ELSE
64cdf0e10cSrcweirSHL1STDLIBS=
65cdf0e10cSrcweirSHL1LIBS=$(SOLARLIBDIR)$/zlib.lib\
66cdf0e10cSrcweir    $(SOLARLIBDIR)$/expat_xmlparse.lib\
67cdf0e10cSrcweir    $(SOLARLIBDIR)$/expat_xmltok.lib
68cdf0e10cSrcweir.ENDIF
69cdf0e10cSrcweirSHL1STDLIBS+=\
70cdf0e10cSrcweir    $(OLEAUT32LIB)\
71cdf0e10cSrcweir    $(ADVAPI32LIB)\
72cdf0e10cSrcweir    $(OLE32LIB)\
73cdf0e10cSrcweir    $(UUIDLIB)\
74cdf0e10cSrcweir    $(SHELL32LIB)\
75cdf0e10cSrcweir    $(KERNEL32LIB)\
76cdf0e10cSrcweir    $(GDI32LIB)\
77cdf0e10cSrcweir    $(GDIPLUSLIB)
78cdf0e10cSrcweir
79cdf0e10cSrcweir.IF "$(COM)"!="GCC"
80cdf0e10cSrcweirSHL1STDLIBS+=\
81cdf0e10cSrcweir    msvcprt.lib
82cdf0e10cSrcweir.ENDIF
83cdf0e10cSrcweir
84cdf0e10cSrcweirSHL1STDLIBS+=\
85cdf0e10cSrcweir    $(SHLWAPILIB)
86cdf0e10cSrcweir
87cdf0e10cSrcweirSHL1LIBS+=$(SLB)$/util.lib\
88cdf0e10cSrcweir    $(SLB)$/ooofilereader.lib
89cdf0e10cSrcweir
90cdf0e10cSrcweirSHL1DEPN=
91cdf0e10cSrcweir
92cdf0e10cSrcweirSHL1OBJS=$(SLOFILES)
93cdf0e10cSrcweirSHL1DEF=$(MISC)$/$(SHL1TARGET).def
94cdf0e10cSrcweir
95cdf0e10cSrcweirSHL1RES=$(RES)$/$(TARGET).res
96cdf0e10cSrcweir
97cdf0e10cSrcweirDEF1NAME=$(SHL1TARGET)
98cdf0e10cSrcweirDEF1EXPORTFILE=exports.dxp
99cdf0e10cSrcweir
100cdf0e10cSrcweir.IF "$(BUILD_X64)"!=""
101cdf0e10cSrcweir# -------------------- x64 -----------------------
102cdf0e10cSrcweirCFLAGS_X64+=-DISOLATION_AWARE_ENABLED -DWIN32_LEAN_AND_MEAN -DXML_UNICODE -D_NTSDK -DUNICODE -D_UNICODE -D_WIN32_WINNT=0x0501
103cdf0e10cSrcweirCFLAGS_X64+=-wd4710 -wd4711 -wd4514 -wd4619 -wd4217 -wd4820
104cdf0e10cSrcweirCDEFS_X64+=-D_WIN32_IE=0x501
105cdf0e10cSrcweir
106cdf0e10cSrcweirSLOFILES_X64= \
107cdf0e10cSrcweir	$(SLO_X64)$/classfactory.obj\
108cdf0e10cSrcweir	$(SLO_X64)$/columninfo.obj\
109cdf0e10cSrcweir	$(SLO_X64)$/infotips.obj\
110cdf0e10cSrcweir	$(SLO_X64)$/propsheets.obj\
111cdf0e10cSrcweir	$(SLO_X64)$/shlxthdl.obj\
112cdf0e10cSrcweir	$(SLO_X64)$/listviewbuilder.obj\
113cdf0e10cSrcweir	$(SLO_X64)$/document_statistic.obj\
114cdf0e10cSrcweir	$(SLO_X64)$/thumbviewer.obj\
115cdf0e10cSrcweir
116cdf0e10cSrcweirSHL1TARGET_X64=$(TARGET)
117cdf0e10cSrcweirSHL1LIBS_X64=$(SOLARLIBDIR_X64)$/zlib.lib\
118cdf0e10cSrcweir    $(SOLARLIBDIR_X64)$/expat_xmlparse.lib\
119cdf0e10cSrcweir    $(SOLARLIBDIR_X64)$/expat_xmltok.lib
120cdf0e10cSrcweir
121cdf0e10cSrcweirSHL1STDLIBS_X64+=\
122cdf0e10cSrcweir    $(OLEAUT32LIB_X64)\
123cdf0e10cSrcweir    $(ADVAPI32LIB_X64)\
124cdf0e10cSrcweir    $(OLE32LIB_X64)\
125cdf0e10cSrcweir    $(UUIDLIB_X64)\
126cdf0e10cSrcweir    $(SHELL32LIB_X64)\
127cdf0e10cSrcweir    $(KERNEL32LIB_X64)\
128cdf0e10cSrcweir    $(GDI32LIB_X64)\
129cdf0e10cSrcweir    $(USER32LIB_X64) \
130cdf0e10cSrcweir    $(GDIPLUSLIB_X64) \
131cdf0e10cSrcweir	$(MSVCRT_X64)   \
132cdf0e10cSrcweir	$(MSVCPRT_X64)  \
133cdf0e10cSrcweir	$(OLDNAMESLIB_X64) \
134cdf0e10cSrcweir    msvcprt.lib
135cdf0e10cSrcweir
136cdf0e10cSrcweirSHL1LIBS_X64+=$(SLB_X64)$/util.lib\
137cdf0e10cSrcweir    $(SLB_X64)$/ooofilereader.lib
138cdf0e10cSrcweirSHL1OBJS_X64=$(SLOFILES_X64)
139cdf0e10cSrcweirSHL1DEF_X64=$(MISC_X64)$/$(SHL1TARGET).def
140cdf0e10cSrcweirSHL1RES_X64=$(RES_X64)$/$(TARGET).res
141cdf0e10cSrcweir
142cdf0e10cSrcweirDEF1NAME_X64=$(SHL1TARGET_X64)
143cdf0e10cSrcweirDEF1EXPORTFILE_X64=exports.dxp
144cdf0e10cSrcweir.ENDIF # "$(BUILD_X64)"!=""
145cdf0e10cSrcweir
146cdf0e10cSrcweir# --- Targets ------------------------------------------------------
147cdf0e10cSrcweir
148cdf0e10cSrcweir.INCLUDE :	set_wntx64.mk
149cdf0e10cSrcweir.INCLUDE :	target.mk
150cdf0e10cSrcweirINCLUDE!:=$(subst,/stl, $(INCLUDE))
151cdf0e10cSrcweir.EXPORT : INCLUDE
152cdf0e10cSrcweir.INCLUDE :	tg_wntx64.mk
153cdf0e10cSrcweir
154