update dev300-m58
[ooovba.git] / shell / source / win32 / shlxthandler / ooofilt / makefile.mk
blob22127bc8ddacd3c28f14020fbe148afe637201b9
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.8 $
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=ooofilt
35 LIBTARGET=NO
36 ENABLE_EXCEPTIONS=TRUE
37 USE_DEFFILE=TRUE
39 # Do not use the dynamic STLport library.
40 # NO_DEFAULT_STL=YES
42 # Do not use the uwinapi library
43 UWINAPILIB=
46 # --- Settings -----------------------------------------------------
48 .INCLUDE : settings.mk
50 CFLAGS+=-DISOLATION_AWARE_ENABLED -DWIN32_LEAN_AND_MEAN -DXML_UNICODE -D_NTSDK -DUNICODE -D_UNICODE -D_WIN32_WINNT=0x0501
51 CFLAGS+=-wd4710 -wd4711 -wd4514 -wd4619 -wd4217 -wd4820
52 CDEFS+=-D_WIN32_IE=0x501
53 # SCPCDEFS+=-D_STLP_USE_STATIC_LIB
55 # --- Files --------------------------------------------------------
57 SLOFILES=$(SLO)$/ooofilt.obj\
58 $(SLO)$/propspec.obj
60 # $(SLO)$/utilities.obj
61 # $(SLO)$/dbgmacros.obj
63 SHL1TARGET=$(TARGET)
64 .IF "$(COM)"=="GCC"
65 SHL1STDLIBS=$(ZLIB3RDLIB) $(EXPAT3RDLIB)
66 SHL1LIBS=
67 .ELSE
68 SHL1STDLIBS=
69 SHL1LIBS=$(SOLARLIBDIR)$/zlib.lib\
70 $(SOLARLIBDIR)$/expat_xmlparse.lib\
71 $(SOLARLIBDIR)$/expat_xmltok.lib
72 .ENDIF
73 SHL1STDLIBS+=$(OLE32LIB)\
74 $(ADVAPI32LIB)\
75 $(COMCTL32LIB)\
76 $(UUIDLIB)\
77 $(SHELL32LIB)\
78 $(KERNEL32LIB)\
79 $(OLDNAMESLIB)
81 # $(LIBSTLPORTST)
83 SHL1LIBS+=$(SLB)$/util.lib\
84 $(SLB)$/ooofilereader.lib
86 SHL1DEPN=
87 SHL1OBJS=$(SLOFILES)
88 SHL1DEF=$(MISC)$/$(SHL1TARGET).def
89 DEF1NAME=$(SHL1TARGET)
90 DEF1EXPORTFILE=exports.dxp
93 .IF "$(BUILD_X64)"!=""
94 #---------------------------- x64 -------------------------
95 CFLAGS_X64+=-DISOLATION_AWARE_ENABLED -DWIN32_LEAN_AND_MEAN -DXML_UNICODE -D_NTSDK -DUNICODE -D_UNICODE -D_WIN32_WINNT=0x0501
96 CFLAGS_X64+=-wd4710 -wd4711 -wd4514 -wd4619 -wd4217 -wd4820
97 CDEFS_X64+=-D_WIN32_IE=0x501
98 USE_DEFFILE_X64=TRUE
100 SLOFILES_X64=$(SLO_X64)$/ooofilt.obj\
101 $(SLO_X64)$/propspec.obj
103 SHL1TARGET_X64=$(TARGET)
105 SHL1LIBS_X64=$(SOLARLIBDIR_X64)$/zlib.lib\
106 $(SOLARLIBDIR_X64)$/expat_xmlparse.lib\
107 $(SOLARLIBDIR_X64)$/expat_xmltok.lib
109 SHL1STDLIBS_X64+=$(OLE32LIB_X64)\
110 $(ADVAPI32LIB_X64)\
111 $(COMCTL32LIB_X64)\
112 $(UUIDLIB_X64)\
113 $(USER32LIB_X64) \
114 $(SHELL32LIB_X64)\
115 $(KERNEL32LIB_X64)\
116 $(MSVCPRT_X64) \
117 $(MSVCRT_X64) \
118 $(OLDNAMESLIB_X64)
120 SHL1LIBS_X64+=$(SLB_X64)$/util.lib\
121 $(SLB_X64)$/ooofilereader.lib
122 SHL1OBJS_X64=$(SLOFILES_X64)
123 SHL1DEF_X64=$(MISC_X64)$/$(SHL1TARGET_X64).def
124 DEF1NAME_X64=$(SHL1TARGET_X64)
125 DEF1EXPORTFILE_X64=exports.dxp
126 .ENDIF # "$(BUILD_X64)"!=""
128 # --- Targets ------------------------------------------------------
130 .INCLUDE : set_wntx64.mk
131 .INCLUDE : target.mk
132 .INCLUDE : tg_wntx64.mk