Update ooo320-m1
[ooovba.git] / shell / source / win32 / shlxthandler / makefile.mk
blob07eea87f02636a30405ef73c81a0bdbcea42580f
1 #*************************************************************************
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 #
5 # Copyright 2008 by Sun Microsystems, Inc.
7 # OpenOffice.org - a multi-platform office productivity suite
9 # $RCSfile: makefile.mk,v $
11 # $Revision: 1.14 $
13 # This file is part of OpenOffice.org.
15 # OpenOffice.org is free software: you can redistribute it and/or modify
16 # it under the terms of the GNU Lesser General Public License version 3
17 # only, as published by the Free Software Foundation.
19 # OpenOffice.org is distributed in the hope that it will be useful,
20 # but WITHOUT ANY WARRANTY; without even the implied warranty of
21 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22 # GNU Lesser General Public License version 3 for more details
23 # (a copy is included in the LICENSE file that accompanied this code).
25 # You should have received a copy of the GNU Lesser General Public License
26 # version 3 along with OpenOffice.org. If not, see
27 # <http://www.openoffice.org/license.html>
28 # for a copy of the LGPLv3 License.
30 #*************************************************************************
32 PRJ=..$/..$/..
33 PRJNAME=shell
34 TARGET=shlxthdl
35 LIBTARGET=NO
36 ENABLE_EXCEPTIONS=TRUE
37 USE_DEFFILE=TRUE
38 .IF "$(BUILD_X64)"!=""
39 USE_DEFFILE_X64=TRUE
40 .ENDIF
41 # --- Settings -----------------------------------------------------
43 .INCLUDE : settings.mk
45 UWINAPILIB =
46 UWINAPILIB_X64 =
48 CFLAGS+=-DISOLATION_AWARE_ENABLED -DWIN32_LEAN_AND_MEAN -DXML_UNICODE -D_NTSDK -DUNICODE -D_UNICODE -D_WIN32_WINNT=0x0501
49 CFLAGS+=-wd4710 -wd4711 -wd4514 -wd4619 -wd4217 -wd4820
50 CDEFS+=-D_WIN32_IE=0x501
52 # --- Files --------------------------------------------------------
54 SLOFILES=$(SLO)$/classfactory.obj\
55 $(SLO)$/columninfo.obj\
56 $(SLO)$/infotips.obj\
57 $(SLO)$/propsheets.obj\
58 $(SLO)$/shlxthdl.obj\
59 $(SLO)$/listviewbuilder.obj\
60 $(SLO)$/document_statistic.obj\
61 $(SLO)$/thumbviewer.obj
63 SHL1TARGET=$(TARGET)
65 .IF "$(COM)"=="GCC"
66 SHL1STDLIBS=$(ZLIB3RDLIB) $(EXPAT3RDLIB) $(COMCTL32LIB)
67 SHL1LIBS=
68 .ELSE
69 SHL1STDLIBS=
70 SHL1LIBS=$(SOLARLIBDIR)$/zlib.lib\
71 $(SOLARLIBDIR)$/expat_xmlparse.lib\
72 $(SOLARLIBDIR)$/expat_xmltok.lib
73 .ENDIF
74 SHL1STDLIBS+=\
75 $(OLEAUT32LIB)\
76 $(ADVAPI32LIB)\
77 $(OLE32LIB)\
78 $(UUIDLIB)\
79 $(SHELL32LIB)\
80 $(KERNEL32LIB)\
81 $(GDI32LIB)\
82 $(GDIPLUSLIB)
84 SHL1LIBS+=$(SLB)$/util.lib\
85 $(SLB)$/ooofilereader.lib
87 SHL1DEPN=
89 SHL1OBJS=$(SLOFILES)
90 SHL1DEF=$(MISC)$/$(SHL1TARGET).def
92 SHL1RES=$(RES)$/$(TARGET).res
94 DEF1NAME=$(SHL1TARGET)
95 DEF1EXPORTFILE=exports.dxp
97 .IF "$(BUILD_X64)"!=""
98 # -------------------- x64 -----------------------
99 CFLAGS_X64+=-DISOLATION_AWARE_ENABLED -DWIN32_LEAN_AND_MEAN -DXML_UNICODE -D_NTSDK -DUNICODE -D_UNICODE -D_WIN32_WINNT=0x0501
100 CFLAGS_X64+=-wd4710 -wd4711 -wd4514 -wd4619 -wd4217 -wd4820
101 CDEFS_X64+=-D_WIN32_IE=0x501
103 SLOFILES_X64= \
104 $(SLO_X64)$/classfactory.obj\
105 $(SLO_X64)$/columninfo.obj\
106 $(SLO_X64)$/infotips.obj\
107 $(SLO_X64)$/propsheets.obj\
108 $(SLO_X64)$/shlxthdl.obj\
109 $(SLO_X64)$/listviewbuilder.obj\
110 $(SLO_X64)$/document_statistic.obj\
111 $(SLO_X64)$/thumbviewer.obj
113 SHL1TARGET_X64=$(TARGET)
114 SHL1LIBS_X64=$(SOLARLIBDIR_X64)$/zlib.lib\
115 $(SOLARLIBDIR_X64)$/expat_xmlparse.lib\
116 $(SOLARLIBDIR_X64)$/expat_xmltok.lib
118 SHL1STDLIBS_X64+=\
119 $(OLEAUT32LIB_X64)\
120 $(ADVAPI32LIB_X64)\
121 $(OLE32LIB_X64)\
122 $(UUIDLIB_X64)\
123 $(SHELL32LIB_X64)\
124 $(KERNEL32LIB_X64)\
125 $(GDI32LIB_X64)\
126 $(MSVCRT_X64) \
127 $(MSVCPRT_X64) \
128 $(USER32LIB_X64) \
129 $(OLDNAMESLIB_X64) \
130 $(GDIPLUSLIB_X64)
132 SHL1LIBS_X64+=$(SLB_X64)$/util.lib\
133 $(SLB_X64)$/ooofilereader.lib
134 SHL1OBJS_X64=$(SLOFILES_X64)
135 SHL1DEF_X64=$(MISC_X64)$/$(SHL1TARGET).def
136 SHL1RES_X64=$(RES_X64)$/$(TARGET)_x64.res
138 DEF1NAME_X64=$(SHL1TARGET_X64)
139 DEF1EXPORTFILE_X64=exports.dxp
140 .ENDIF # "$(BUILD_X64)"!=""
142 # --- Targets ------------------------------------------------------
144 .INCLUDE : set_wntx64.mk
145 .INCLUDE : target.mk
146 .INCLUDE : tg_wntx64.mk