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=ooofilt 31*cdf0e10cSrcweirLIBTARGET=NO 32*cdf0e10cSrcweirENABLE_EXCEPTIONS=TRUE 33*cdf0e10cSrcweirUSE_DEFFILE=TRUE 34*cdf0e10cSrcweir 35*cdf0e10cSrcweir# Do not use the dynamic STLport library. 36*cdf0e10cSrcweirNO_DEFAULT_STL=YES 37*cdf0e10cSrcweir 38*cdf0e10cSrcweir# Do not use the uwinapi library 39*cdf0e10cSrcweirUWINAPILIB= 40*cdf0e10cSrcweir 41*cdf0e10cSrcweir 42*cdf0e10cSrcweir# --- Settings ----------------------------------------------------- 43*cdf0e10cSrcweir 44*cdf0e10cSrcweir.INCLUDE : settings.mk 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 48*cdf0e10cSrcweirCDEFS+=-D_WIN32_IE=0x501 49*cdf0e10cSrcweir# SCPCDEFS+=-D_STLP_USE_STATIC_LIB 50*cdf0e10cSrcweir 51*cdf0e10cSrcweir# --- Files -------------------------------------------------------- 52*cdf0e10cSrcweir 53*cdf0e10cSrcweirSLOFILES=$(SLO)$/ooofilt.obj\ 54*cdf0e10cSrcweir $(SLO)$/propspec.obj\ 55*cdf0e10cSrcweir $(SLO)$/stream_helper.obj 56*cdf0e10cSrcweir 57*cdf0e10cSrcweir# $(SLO)$/utilities.obj 58*cdf0e10cSrcweir# $(SLO)$/dbgmacros.obj 59*cdf0e10cSrcweir 60*cdf0e10cSrcweirSHL1TARGET=$(TARGET) 61*cdf0e10cSrcweir.IF "$(COM)"=="GCC" 62*cdf0e10cSrcweirSHL1STDLIBS=$(ZLIB3RDLIB) $(EXPAT3RDLIB) 63*cdf0e10cSrcweirSHL1LIBS= 64*cdf0e10cSrcweir.ELSE 65*cdf0e10cSrcweirSHL1STDLIBS= 66*cdf0e10cSrcweirSHL1LIBS=$(SOLARLIBDIR)$/zlib.lib\ 67*cdf0e10cSrcweir $(SOLARLIBDIR)$/expat_xmlparse.lib\ 68*cdf0e10cSrcweir $(SOLARLIBDIR)$/expat_xmltok.lib 69*cdf0e10cSrcweir.ENDIF 70*cdf0e10cSrcweirSHL1STDLIBS+=$(OLE32LIB)\ 71*cdf0e10cSrcweir $(ADVAPI32LIB)\ 72*cdf0e10cSrcweir $(COMCTL32LIB)\ 73*cdf0e10cSrcweir $(UUIDLIB)\ 74*cdf0e10cSrcweir $(SHELL32LIB)\ 75*cdf0e10cSrcweir $(KERNEL32LIB)\ 76*cdf0e10cSrcweir $(OLDNAMESLIB) 77*cdf0e10cSrcweir 78*cdf0e10cSrcweir.IF "$(COM)"!="GCC" 79*cdf0e10cSrcweirSHL1STDLIBS+=msvcprt.lib 80*cdf0e10cSrcweir 81*cdf0e10cSrcweir.IF "$(PRODUCT)"!="full" 82*cdf0e10cSrcweirSHL1STDLIBS+=msvcrt.lib 83*cdf0e10cSrcweir.ENDIF 84*cdf0e10cSrcweir.ENDIF 85*cdf0e10cSrcweir 86*cdf0e10cSrcweir 87*cdf0e10cSrcweir# $(LIBSTLPORTST) 88*cdf0e10cSrcweir 89*cdf0e10cSrcweirSHL1LIBS+=$(SLB)$/util.lib\ 90*cdf0e10cSrcweir $(SLB)$/ooofilereader.lib 91*cdf0e10cSrcweir 92*cdf0e10cSrcweirSHL1DEPN= 93*cdf0e10cSrcweirSHL1OBJS=$(SLOFILES) 94*cdf0e10cSrcweirSHL1DEF=$(MISC)$/$(SHL1TARGET).def 95*cdf0e10cSrcweirDEF1NAME=$(SHL1TARGET) 96*cdf0e10cSrcweirDEF1EXPORTFILE=exports.dxp 97*cdf0e10cSrcweir 98*cdf0e10cSrcweir 99*cdf0e10cSrcweir.IF "$(BUILD_X64)"!="" 100*cdf0e10cSrcweir#---------------------------- x64 ------------------------- 101*cdf0e10cSrcweirCFLAGS_X64+=-DISOLATION_AWARE_ENABLED -DWIN32_LEAN_AND_MEAN -DXML_UNICODE -D_NTSDK -DUNICODE -D_UNICODE -D_WIN32_WINNT=0x0501 102*cdf0e10cSrcweirCFLAGS_X64+=-wd4710 -wd4711 -wd4514 -wd4619 -wd4217 -wd4820 103*cdf0e10cSrcweirCDEFS_X64+=-D_WIN32_IE=0x501 104*cdf0e10cSrcweirUSE_DEFFILE_X64=TRUE 105*cdf0e10cSrcweir 106*cdf0e10cSrcweirSLOFILES_X64=$(SLO_X64)$/ooofilt.obj\ 107*cdf0e10cSrcweir $(SLO_X64)$/propspec.obj\ 108*cdf0e10cSrcweir $(SLO_X64)$/stream_helper.obj 109*cdf0e10cSrcweir 110*cdf0e10cSrcweirSHL1TARGET_X64=$(TARGET) 111*cdf0e10cSrcweir 112*cdf0e10cSrcweirSHL1LIBS_X64=$(SOLARLIBDIR_X64)$/zlib.lib\ 113*cdf0e10cSrcweir $(SOLARLIBDIR_X64)$/expat_xmlparse.lib\ 114*cdf0e10cSrcweir $(SOLARLIBDIR_X64)$/expat_xmltok.lib 115*cdf0e10cSrcweir 116*cdf0e10cSrcweirSHL1STDLIBS_X64+=$(OLE32LIB_X64)\ 117*cdf0e10cSrcweir $(ADVAPI32LIB_X64)\ 118*cdf0e10cSrcweir $(COMCTL32LIB_X64)\ 119*cdf0e10cSrcweir $(UUIDLIB_X64)\ 120*cdf0e10cSrcweir $(USER32LIB_X64) \ 121*cdf0e10cSrcweir $(SHELL32LIB_X64)\ 122*cdf0e10cSrcweir $(KERNEL32LIB_X64)\ 123*cdf0e10cSrcweir $(MSVCPRT_X64) \ 124*cdf0e10cSrcweir $(MSVCRT_X64) \ 125*cdf0e10cSrcweir $(OLDNAMESLIB_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_X64).def 131*cdf0e10cSrcweirDEF1NAME_X64=$(SHL1TARGET_X64) 132*cdf0e10cSrcweirDEF1EXPORTFILE_X64=exports.dxp 133*cdf0e10cSrcweir.ENDIF # "$(BUILD_X64)"!="" 134*cdf0e10cSrcweir 135*cdf0e10cSrcweir# --- Targets ------------------------------------------------------ 136*cdf0e10cSrcweir 137*cdf0e10cSrcweir.INCLUDE : set_wntx64.mk 138*cdf0e10cSrcweir.INCLUDE : target.mk 139*cdf0e10cSrcweirINCLUDE!:=$(subst,/stl, $(INCLUDE)) 140*cdf0e10cSrcweir.EXPORT : INCLUDE 141*cdf0e10cSrcweir.INCLUDE : tg_wntx64.mk 142