1*cdf0e10cSrcweir#*************************************************************************
2*cdf0e10cSrcweir#
3*cdf0e10cSrcweir# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4*cdf0e10cSrcweir#
5*cdf0e10cSrcweir# Copyright 2000, 2010 Oracle and/or its affiliates.
6*cdf0e10cSrcweir#
7*cdf0e10cSrcweir# OpenOffice.org - a multi-platform office productivity suite
8*cdf0e10cSrcweir#
9*cdf0e10cSrcweir# This file is part of OpenOffice.org.
10*cdf0e10cSrcweir#
11*cdf0e10cSrcweir# OpenOffice.org is free software: you can redistribute it and/or modify
12*cdf0e10cSrcweir# it under the terms of the GNU Lesser General Public License version 3
13*cdf0e10cSrcweir# only, as published by the Free Software Foundation.
14*cdf0e10cSrcweir#
15*cdf0e10cSrcweir# OpenOffice.org is distributed in the hope that it will be useful,
16*cdf0e10cSrcweir# but WITHOUT ANY WARRANTY; without even the implied warranty of
17*cdf0e10cSrcweir# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18*cdf0e10cSrcweir# GNU Lesser General Public License version 3 for more details
19*cdf0e10cSrcweir# (a copy is included in the LICENSE file that accompanied this code).
20*cdf0e10cSrcweir#
21*cdf0e10cSrcweir# You should have received a copy of the GNU Lesser General Public License
22*cdf0e10cSrcweir# version 3 along with OpenOffice.org.  If not, see
23*cdf0e10cSrcweir# <http://www.openoffice.org/license.html>
24*cdf0e10cSrcweir# for a copy of the LGPLv3 License.
25*cdf0e10cSrcweir#
26*cdf0e10cSrcweir#*************************************************************************
27*cdf0e10cSrcweir
28*cdf0e10cSrcweirPRJ=..$/..$/..
29*cdf0e10cSrcweirPRJNAME=shell
30*cdf0e10cSrcweirTARGET=shlxthdl
31*cdf0e10cSrcweirLIBTARGET=NO
32*cdf0e10cSrcweirENABLE_EXCEPTIONS=TRUE
33*cdf0e10cSrcweirUSE_DEFFILE=TRUE
34*cdf0e10cSrcweir.IF "$(BUILD_X64)"!=""
35*cdf0e10cSrcweirUSE_DEFFILE_X64=TRUE
36*cdf0e10cSrcweir.ENDIF
37*cdf0e10cSrcweirNO_DEFAULT_STL=TRUE
38*cdf0e10cSrcweirUSE_STLP_DEBUG=
39*cdf0e10cSrcweir
40*cdf0e10cSrcweir# --- Settings -----------------------------------------------------
41*cdf0e10cSrcweir
42*cdf0e10cSrcweir.INCLUDE :  settings.mk
43*cdf0e10cSrcweir
44*cdf0e10cSrcweirUWINAPILIB =
45*cdf0e10cSrcweirUWINAPILIB_X64 =
46*cdf0e10cSrcweir
47*cdf0e10cSrcweirCFLAGS+=-DISOLATION_AWARE_ENABLED -DWIN32_LEAN_AND_MEAN -DXML_UNICODE -D_NTSDK -DUNICODE -D_UNICODE -D_WIN32_WINNT=0x0501
48*cdf0e10cSrcweirCFLAGS+=-wd4710 -wd4711 -wd4514 -wd4619 -wd4217 -wd4820
49*cdf0e10cSrcweirCDEFS+=-D_WIN32_IE=0x501
50*cdf0e10cSrcweir
51*cdf0e10cSrcweir# --- Files --------------------------------------------------------
52*cdf0e10cSrcweir
53*cdf0e10cSrcweirSLOFILES=$(SLO)$/classfactory.obj\
54*cdf0e10cSrcweir	$(SLO)$/columninfo.obj\
55*cdf0e10cSrcweir	$(SLO)$/infotips.obj\
56*cdf0e10cSrcweir	$(SLO)$/propsheets.obj\
57*cdf0e10cSrcweir	$(SLO)$/shlxthdl.obj\
58*cdf0e10cSrcweir	$(SLO)$/listviewbuilder.obj\
59*cdf0e10cSrcweir	$(SLO)$/document_statistic.obj\
60*cdf0e10cSrcweir	$(SLO)$/thumbviewer.obj\
61*cdf0e10cSrcweir
62*cdf0e10cSrcweirSHL1TARGET=$(TARGET)
63*cdf0e10cSrcweir
64*cdf0e10cSrcweir.IF "$(COM)"=="GCC"
65*cdf0e10cSrcweirSHL1STDLIBS=$(ZLIB3RDLIB) $(EXPAT3RDLIB) $(COMCTL32LIB)
66*cdf0e10cSrcweirSHL1LIBS=
67*cdf0e10cSrcweir.ELSE
68*cdf0e10cSrcweirSHL1STDLIBS=
69*cdf0e10cSrcweirSHL1LIBS=$(SOLARLIBDIR)$/zlib.lib\
70*cdf0e10cSrcweir    $(SOLARLIBDIR)$/expat_xmlparse.lib\
71*cdf0e10cSrcweir    $(SOLARLIBDIR)$/expat_xmltok.lib
72*cdf0e10cSrcweir.ENDIF
73*cdf0e10cSrcweirSHL1STDLIBS+=\
74*cdf0e10cSrcweir    $(OLEAUT32LIB)\
75*cdf0e10cSrcweir    $(ADVAPI32LIB)\
76*cdf0e10cSrcweir    $(OLE32LIB)\
77*cdf0e10cSrcweir    $(UUIDLIB)\
78*cdf0e10cSrcweir    $(SHELL32LIB)\
79*cdf0e10cSrcweir    $(KERNEL32LIB)\
80*cdf0e10cSrcweir    $(GDI32LIB)\
81*cdf0e10cSrcweir    $(GDIPLUSLIB)
82*cdf0e10cSrcweir
83*cdf0e10cSrcweir.IF "$(COM)"!="GCC"
84*cdf0e10cSrcweirSHL1STDLIBS+=\
85*cdf0e10cSrcweir    msvcprt.lib
86*cdf0e10cSrcweir.ENDIF
87*cdf0e10cSrcweir
88*cdf0e10cSrcweirSHL1STDLIBS+=\
89*cdf0e10cSrcweir    $(SHLWAPILIB)
90*cdf0e10cSrcweir
91*cdf0e10cSrcweirSHL1LIBS+=$(SLB)$/util.lib\
92*cdf0e10cSrcweir    $(SLB)$/ooofilereader.lib
93*cdf0e10cSrcweir
94*cdf0e10cSrcweirSHL1DEPN=
95*cdf0e10cSrcweir
96*cdf0e10cSrcweirSHL1OBJS=$(SLOFILES)
97*cdf0e10cSrcweirSHL1DEF=$(MISC)$/$(SHL1TARGET).def
98*cdf0e10cSrcweir
99*cdf0e10cSrcweirSHL1RES=$(RES)$/$(TARGET).res
100*cdf0e10cSrcweir
101*cdf0e10cSrcweirDEF1NAME=$(SHL1TARGET)
102*cdf0e10cSrcweirDEF1EXPORTFILE=exports.dxp
103*cdf0e10cSrcweir
104*cdf0e10cSrcweir.IF "$(BUILD_X64)"!=""
105*cdf0e10cSrcweir# -------------------- x64 -----------------------
106*cdf0e10cSrcweirCFLAGS_X64+=-DISOLATION_AWARE_ENABLED -DWIN32_LEAN_AND_MEAN -DXML_UNICODE -D_NTSDK -DUNICODE -D_UNICODE -D_WIN32_WINNT=0x0501
107*cdf0e10cSrcweirCFLAGS_X64+=-wd4710 -wd4711 -wd4514 -wd4619 -wd4217 -wd4820
108*cdf0e10cSrcweirCDEFS_X64+=-D_WIN32_IE=0x501
109*cdf0e10cSrcweir
110*cdf0e10cSrcweirSLOFILES_X64= \
111*cdf0e10cSrcweir	$(SLO_X64)$/classfactory.obj\
112*cdf0e10cSrcweir	$(SLO_X64)$/columninfo.obj\
113*cdf0e10cSrcweir	$(SLO_X64)$/infotips.obj\
114*cdf0e10cSrcweir	$(SLO_X64)$/propsheets.obj\
115*cdf0e10cSrcweir	$(SLO_X64)$/shlxthdl.obj\
116*cdf0e10cSrcweir	$(SLO_X64)$/listviewbuilder.obj\
117*cdf0e10cSrcweir	$(SLO_X64)$/document_statistic.obj\
118*cdf0e10cSrcweir	$(SLO_X64)$/thumbviewer.obj\
119*cdf0e10cSrcweir
120*cdf0e10cSrcweirSHL1TARGET_X64=$(TARGET)
121*cdf0e10cSrcweirSHL1LIBS_X64=$(SOLARLIBDIR_X64)$/zlib.lib\
122*cdf0e10cSrcweir    $(SOLARLIBDIR_X64)$/expat_xmlparse.lib\
123*cdf0e10cSrcweir    $(SOLARLIBDIR_X64)$/expat_xmltok.lib
124*cdf0e10cSrcweir
125*cdf0e10cSrcweirSHL1STDLIBS_X64+=\
126*cdf0e10cSrcweir    $(OLEAUT32LIB_X64)\
127*cdf0e10cSrcweir    $(ADVAPI32LIB_X64)\
128*cdf0e10cSrcweir    $(OLE32LIB_X64)\
129*cdf0e10cSrcweir    $(UUIDLIB_X64)\
130*cdf0e10cSrcweir    $(SHELL32LIB_X64)\
131*cdf0e10cSrcweir    $(KERNEL32LIB_X64)\
132*cdf0e10cSrcweir    $(GDI32LIB_X64)\
133*cdf0e10cSrcweir    $(USER32LIB_X64) \
134*cdf0e10cSrcweir    $(GDIPLUSLIB_X64) \
135*cdf0e10cSrcweir	$(MSVCRT_X64)   \
136*cdf0e10cSrcweir	$(MSVCPRT_X64)  \
137*cdf0e10cSrcweir	$(OLDNAMESLIB_X64) \
138*cdf0e10cSrcweir    msvcprt.lib
139*cdf0e10cSrcweir
140*cdf0e10cSrcweirSHL1LIBS_X64+=$(SLB_X64)$/util.lib\
141*cdf0e10cSrcweir    $(SLB_X64)$/ooofilereader.lib
142*cdf0e10cSrcweirSHL1OBJS_X64=$(SLOFILES_X64)
143*cdf0e10cSrcweirSHL1DEF_X64=$(MISC_X64)$/$(SHL1TARGET).def
144*cdf0e10cSrcweirSHL1RES_X64=$(RES_X64)$/$(TARGET).res
145*cdf0e10cSrcweir
146*cdf0e10cSrcweirDEF1NAME_X64=$(SHL1TARGET_X64)
147*cdf0e10cSrcweirDEF1EXPORTFILE_X64=exports.dxp
148*cdf0e10cSrcweir.ENDIF # "$(BUILD_X64)"!=""
149*cdf0e10cSrcweir
150*cdf0e10cSrcweir# --- Targets ------------------------------------------------------
151*cdf0e10cSrcweir
152*cdf0e10cSrcweir.INCLUDE :	set_wntx64.mk
153*cdf0e10cSrcweir.INCLUDE :	target.mk
154*cdf0e10cSrcweirINCLUDE!:=$(subst,/stl, $(INCLUDE))
155*cdf0e10cSrcweir.EXPORT : INCLUDE
156*cdf0e10cSrcweir.INCLUDE :	tg_wntx64.mk
157*cdf0e10cSrcweir
158