1*cdf0e10cSrcweir#*************************************************************************
2*cdf0e10cSrcweir#
3*cdf0e10cSrcweir# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4*cdf0e10cSrcweir#
5*cdf0e10cSrcweir# Copyright 2010 by Sun Microsystems, Inc.
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=propertyhdl
31*cdf0e10cSrcweirLIBTARGET=NO
32*cdf0e10cSrcweirENABLE_EXCEPTIONS=TRUE
33*cdf0e10cSrcweirNO_DEFAULT_STL=YES
34*cdf0e10cSrcweirUSE_DEFFILE=TRUE
35*cdf0e10cSrcweir.IF "$(BUILD_X64)"!=""
36*cdf0e10cSrcweirUSE_DEFFILE_X64=TRUE
37*cdf0e10cSrcweir.ENDIF
38*cdf0e10cSrcweir
39*cdf0e10cSrcweir# --- Settings -----------------------------------------------------
40*cdf0e10cSrcweir
41*cdf0e10cSrcweir.INCLUDE :  settings.mk
42*cdf0e10cSrcweir
43*cdf0e10cSrcweirUWINAPILIB =
44*cdf0e10cSrcweirUWINAPILIB_X64 =
45*cdf0e10cSrcweir
46*cdf0e10cSrcweirCFLAGS+=-DISOLATION_AWARE_ENABLED -DWIN32_LEAN_AND_MEAN -DXML_UNICODE -D_NTSDK -DUNICODE -D_UNICODE -D_WIN32_WINNT=0x0501
47*cdf0e10cSrcweirCFLAGS+=-wd4710 -wd4711 -wd4514 -wd4619 -wd4217 -wd4820 -wd4100
48*cdf0e10cSrcweirCDEFS+=-D_WIN32_IE=0x501
49*cdf0e10cSrcweir
50*cdf0e10cSrcweir# --- Files --------------------------------------------------------
51*cdf0e10cSrcweir
52*cdf0e10cSrcweirSLOFILES=$(SLO)$/$(TARGET).obj\
53*cdf0e10cSrcweir	$(SLO)$/stream_helper.obj
54*cdf0e10cSrcweir
55*cdf0e10cSrcweirSHL1TARGET=$(TARGET)
56*cdf0e10cSrcweir
57*cdf0e10cSrcweir.IF "$(COM)"=="GCC"
58*cdf0e10cSrcweirSHL1STDLIBS=$(ZLIB3RDLIB) $(EXPAT3RDLIB) $(COMCTL32LIB)
59*cdf0e10cSrcweirSHL1LIBS=
60*cdf0e10cSrcweir.ELSE
61*cdf0e10cSrcweirSHL1STDLIBS=
62*cdf0e10cSrcweirSHL1LIBS=$(SOLARLIBDIR)$/zlib.lib\
63*cdf0e10cSrcweir    $(SOLARLIBDIR)$/expat_xmlparse.lib\
64*cdf0e10cSrcweir    $(SOLARLIBDIR)$/expat_xmltok.lib
65*cdf0e10cSrcweir.ENDIF
66*cdf0e10cSrcweirSHL1STDLIBS+=\
67*cdf0e10cSrcweir    $(OLEAUT32LIB)\
68*cdf0e10cSrcweir    $(ADVAPI32LIB)\
69*cdf0e10cSrcweir    $(OLE32LIB)\
70*cdf0e10cSrcweir    $(UUIDLIB)\
71*cdf0e10cSrcweir    $(SHELL32LIB)\
72*cdf0e10cSrcweir    $(KERNEL32LIB)\
73*cdf0e10cSrcweir    $(GDI32LIB)\
74*cdf0e10cSrcweir    $(GDIPLUSLIB)\
75*cdf0e10cSrcweir    $(SHLWAPILIB)\
76*cdf0e10cSrcweir    $(PROPSYSLIB)
77*cdf0e10cSrcweir
78*cdf0e10cSrcweir.IF "$(COM)"!="GCC"
79*cdf0e10cSrcweirSHL1STDLIBS+=\
80*cdf0e10cSrcweir    msvcprt.lib
81*cdf0e10cSrcweir
82*cdf0e10cSrcweir.IF "$(PRODUCT)"!="full"
83*cdf0e10cSrcweirSHL1STDLIBS+=msvcrt.lib
84*cdf0e10cSrcweir.ENDIF
85*cdf0e10cSrcweir.ENDIF
86*cdf0e10cSrcweir
87*cdf0e10cSrcweirSHL1LIBS+=$(SLB)$/util.lib\
88*cdf0e10cSrcweir    $(SLB)$/ooofilereader.lib
89*cdf0e10cSrcweir
90*cdf0e10cSrcweirSHL1DEPN=
91*cdf0e10cSrcweirSHL1OBJS=$(SLOFILES)
92*cdf0e10cSrcweirSHL1DEF=$(MISC)$/$(SHL1TARGET).def
93*cdf0e10cSrcweirDEF1NAME=$(SHL1TARGET)
94*cdf0e10cSrcweirDEF1EXPORTFILE=exports.dxp
95*cdf0e10cSrcweir
96*cdf0e10cSrcweir# -------------------- x64 -----------------------
97*cdf0e10cSrcweir.IF "$(BUILD_X64)"!=""
98*cdf0e10cSrcweirCFLAGS_X64+=-DISOLATION_AWARE_ENABLED -DWIN32_LEAN_AND_MEAN -DXML_UNICODE -D_NTSDK -DUNICODE -D_UNICODE -D_WIN32_WINNT=0x0501
99*cdf0e10cSrcweirCFLAGS_X64+=-wd4710 -wd4711 -wd4514 -wd4619 -wd4217 -wd4820
100*cdf0e10cSrcweirCDEFS_X64+=-D_WIN32_IE=0x501
101*cdf0e10cSrcweirSLOFILES_X64=$(SLO_X64)$/$(TARGET).obj
102*cdf0e10cSrcweir
103*cdf0e10cSrcweirSLOFILES_X64= \
104*cdf0e10cSrcweir	$(SLO_X64)$/propertyhdl.obj\
105*cdf0e10cSrcweir	$(SLO_X64)$/stream_helper.obj\
106*cdf0e10cSrcweir
107*cdf0e10cSrcweirSHL1TARGET_X64=$(TARGET)
108*cdf0e10cSrcweirSHL1LIBS_X64=$(SOLARLIBDIR_X64)$/zlib.lib\
109*cdf0e10cSrcweir    $(SOLARLIBDIR_X64)$/expat_xmlparse.lib\
110*cdf0e10cSrcweir    $(SOLARLIBDIR_X64)$/expat_xmltok.lib
111*cdf0e10cSrcweir
112*cdf0e10cSrcweirSHL1STDLIBS_X64+=\
113*cdf0e10cSrcweir    $(OLEAUT32LIB_X64)\
114*cdf0e10cSrcweir    $(ADVAPI32LIB_X64)\
115*cdf0e10cSrcweir    $(OLE32LIB_X64)\
116*cdf0e10cSrcweir    $(UUIDLIB_X64)\
117*cdf0e10cSrcweir    $(SHELL32LIB_X64)\
118*cdf0e10cSrcweir    $(KERNEL32LIB_X64)\
119*cdf0e10cSrcweir    $(GDI32LIB_X64)\
120*cdf0e10cSrcweir    $(USER32LIB_X64) \
121*cdf0e10cSrcweir    $(GDIPLUSLIB_X64) \
122*cdf0e10cSrcweir	$(MSVCRT_X64)   \
123*cdf0e10cSrcweir	$(MSVCPRT_X64)  \
124*cdf0e10cSrcweir	$(OLDNAMESLIB_X64)\
125*cdf0e10cSrcweir	$(PROPSYSLIB_X64)
126*cdf0e10cSrcweir
127*cdf0e10cSrcweirSHL1LIBS_X64+=$(SLB_X64)$/util.lib\
128*cdf0e10cSrcweir    $(SLB_X64)$/ooofilereader.lib
129*cdf0e10cSrcweirSHL1OBJS_X64=$(SLOFILES_X64)
130*cdf0e10cSrcweirSHL1DEF_X64=$(MISC_X64)$/$(SHL1TARGET).def
131*cdf0e10cSrcweir
132*cdf0e10cSrcweirDEF1NAME_X64=$(SHL1TARGET_X64)
133*cdf0e10cSrcweirDEF1EXPORTFILE_X64=exports.dxp
134*cdf0e10cSrcweir
135*cdf0e10cSrcweir.ENDIF # "$(BUILD_X64)"!=""
136*cdf0e10cSrcweir
137*cdf0e10cSrcweir# --- Targets ------------------------------------------------------
138*cdf0e10cSrcweir.INCLUDE :  set_wntx64.mk
139*cdf0e10cSrcweir.INCLUDE :	target.mk
140*cdf0e10cSrcweirINCLUDE!:=$(subst,/stl, $(INCLUDE))
141*cdf0e10cSrcweir.EXPORT : INCLUDE
142*cdf0e10cSrcweir.INCLUDE :  tg_wntx64.mk
143