17871dc3eSAndrew Rist#************************************************************** 27871dc3eSAndrew Rist# 37871dc3eSAndrew Rist# Licensed to the Apache Software Foundation (ASF) under one 47871dc3eSAndrew Rist# or more contributor license agreements. See the NOTICE file 57871dc3eSAndrew Rist# distributed with this work for additional information 67871dc3eSAndrew Rist# regarding copyright ownership. The ASF licenses this file 77871dc3eSAndrew Rist# to you under the Apache License, Version 2.0 (the 87871dc3eSAndrew Rist# "License"); you may not use this file except in compliance 97871dc3eSAndrew Rist# with the License. You may obtain a copy of the License at 107871dc3eSAndrew Rist# 117871dc3eSAndrew Rist# http://www.apache.org/licenses/LICENSE-2.0 127871dc3eSAndrew Rist# 137871dc3eSAndrew Rist# Unless required by applicable law or agreed to in writing, 147871dc3eSAndrew Rist# software distributed under the License is distributed on an 157871dc3eSAndrew Rist# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 167871dc3eSAndrew Rist# KIND, either express or implied. See the License for the 177871dc3eSAndrew Rist# specific language governing permissions and limitations 187871dc3eSAndrew Rist# under the License. 197871dc3eSAndrew Rist# 207871dc3eSAndrew Rist#************************************************************** 217871dc3eSAndrew Rist 227871dc3eSAndrew Rist 23cdf0e10cSrcweir 24cdf0e10cSrcweirPRJ=..$/..$/..$/.. 25cdf0e10cSrcweirPRJNAME=shell 26cdf0e10cSrcweirTARGET=ooofilt 27cdf0e10cSrcweirLIBTARGET=NO 28cdf0e10cSrcweirENABLE_EXCEPTIONS=TRUE 29cdf0e10cSrcweirUSE_DEFFILE=TRUE 30cdf0e10cSrcweir 31cdf0e10cSrcweir# Do not use the dynamic STLport library. 32cdf0e10cSrcweirNO_DEFAULT_STL=YES 33cdf0e10cSrcweir 34cdf0e10cSrcweir# Do not use the uwinapi library 35cdf0e10cSrcweirUWINAPILIB= 36cdf0e10cSrcweir 37cdf0e10cSrcweir 38cdf0e10cSrcweir# --- Settings ----------------------------------------------------- 39cdf0e10cSrcweir 40cdf0e10cSrcweir.INCLUDE : settings.mk 41cdf0e10cSrcweir 42cdf0e10cSrcweirCFLAGS+=-DISOLATION_AWARE_ENABLED -DWIN32_LEAN_AND_MEAN -DXML_UNICODE -D_NTSDK -DUNICODE -D_UNICODE -D_WIN32_WINNT=0x0501 43cdf0e10cSrcweirCFLAGS+=-wd4710 -wd4711 -wd4514 -wd4619 -wd4217 -wd4820 44cdf0e10cSrcweirCDEFS+=-D_WIN32_IE=0x501 45cdf0e10cSrcweir# SCPCDEFS+=-D_STLP_USE_STATIC_LIB 46cdf0e10cSrcweir 47cdf0e10cSrcweir# --- Files -------------------------------------------------------- 48cdf0e10cSrcweir 49cdf0e10cSrcweirSLOFILES=$(SLO)$/ooofilt.obj\ 50cdf0e10cSrcweir $(SLO)$/propspec.obj\ 51cdf0e10cSrcweir $(SLO)$/stream_helper.obj 52cdf0e10cSrcweir 53cdf0e10cSrcweir# $(SLO)$/utilities.obj 54cdf0e10cSrcweir# $(SLO)$/dbgmacros.obj 55cdf0e10cSrcweir 56cdf0e10cSrcweirSHL1TARGET=$(TARGET) 57cdf0e10cSrcweir.IF "$(COM)"=="GCC" 58cdf0e10cSrcweirSHL1STDLIBS=$(ZLIB3RDLIB) $(EXPAT3RDLIB) 59cdf0e10cSrcweirSHL1LIBS= 60cdf0e10cSrcweir.ELSE 61cdf0e10cSrcweirSHL1STDLIBS= 62cdf0e10cSrcweirSHL1LIBS=$(SOLARLIBDIR)$/zlib.lib\ 63cdf0e10cSrcweir $(SOLARLIBDIR)$/expat_xmlparse.lib\ 64cdf0e10cSrcweir $(SOLARLIBDIR)$/expat_xmltok.lib 65cdf0e10cSrcweir.ENDIF 66cdf0e10cSrcweirSHL1STDLIBS+=$(OLE32LIB)\ 67cdf0e10cSrcweir $(ADVAPI32LIB)\ 68cdf0e10cSrcweir $(COMCTL32LIB)\ 69cdf0e10cSrcweir $(UUIDLIB)\ 70cdf0e10cSrcweir $(SHELL32LIB)\ 71cdf0e10cSrcweir $(KERNEL32LIB)\ 72cdf0e10cSrcweir $(OLDNAMESLIB) 73cdf0e10cSrcweir 74cdf0e10cSrcweir.IF "$(COM)"!="GCC" 75cdf0e10cSrcweirSHL1STDLIBS+=msvcprt.lib 76cdf0e10cSrcweir 77cdf0e10cSrcweir.IF "$(PRODUCT)"!="full" 78cdf0e10cSrcweirSHL1STDLIBS+=msvcrt.lib 79cdf0e10cSrcweir.ENDIF 80cdf0e10cSrcweir.ENDIF 81cdf0e10cSrcweir 82cdf0e10cSrcweir 83cdf0e10cSrcweir# $(LIBSTLPORTST) 84cdf0e10cSrcweir 85cdf0e10cSrcweirSHL1LIBS+=$(SLB)$/util.lib\ 86cdf0e10cSrcweir $(SLB)$/ooofilereader.lib 87cdf0e10cSrcweir 88cdf0e10cSrcweirSHL1DEPN= 89cdf0e10cSrcweirSHL1OBJS=$(SLOFILES) 90cdf0e10cSrcweirSHL1DEF=$(MISC)$/$(SHL1TARGET).def 91cdf0e10cSrcweirDEF1NAME=$(SHL1TARGET) 92cdf0e10cSrcweirDEF1EXPORTFILE=exports.dxp 93cdf0e10cSrcweir 94cdf0e10cSrcweir 95cdf0e10cSrcweir.IF "$(BUILD_X64)"!="" 96cdf0e10cSrcweir#---------------------------- x64 ------------------------- 97cdf0e10cSrcweirCFLAGS_X64+=-DISOLATION_AWARE_ENABLED -DWIN32_LEAN_AND_MEAN -DXML_UNICODE -D_NTSDK -DUNICODE -D_UNICODE -D_WIN32_WINNT=0x0501 98cdf0e10cSrcweirCFLAGS_X64+=-wd4710 -wd4711 -wd4514 -wd4619 -wd4217 -wd4820 99cdf0e10cSrcweirCDEFS_X64+=-D_WIN32_IE=0x501 100cdf0e10cSrcweirUSE_DEFFILE_X64=TRUE 101cdf0e10cSrcweir 102cdf0e10cSrcweirSLOFILES_X64=$(SLO_X64)$/ooofilt.obj\ 103cdf0e10cSrcweir $(SLO_X64)$/propspec.obj\ 104cdf0e10cSrcweir $(SLO_X64)$/stream_helper.obj 105cdf0e10cSrcweir 106cdf0e10cSrcweirSHL1TARGET_X64=$(TARGET) 107cdf0e10cSrcweir 108cdf0e10cSrcweirSHL1LIBS_X64=$(SOLARLIBDIR_X64)$/zlib.lib\ 109cdf0e10cSrcweir $(SOLARLIBDIR_X64)$/expat_xmlparse.lib\ 110cdf0e10cSrcweir $(SOLARLIBDIR_X64)$/expat_xmltok.lib 111cdf0e10cSrcweir 112cdf0e10cSrcweirSHL1STDLIBS_X64+=$(OLE32LIB_X64)\ 113cdf0e10cSrcweir $(ADVAPI32LIB_X64)\ 114cdf0e10cSrcweir $(COMCTL32LIB_X64)\ 115cdf0e10cSrcweir $(UUIDLIB_X64)\ 116cdf0e10cSrcweir $(USER32LIB_X64) \ 117cdf0e10cSrcweir $(SHELL32LIB_X64)\ 118cdf0e10cSrcweir $(KERNEL32LIB_X64)\ 119cdf0e10cSrcweir $(MSVCPRT_X64) \ 120cdf0e10cSrcweir $(MSVCRT_X64) \ 121cdf0e10cSrcweir $(OLDNAMESLIB_X64) 122cdf0e10cSrcweir 123cdf0e10cSrcweirSHL1LIBS_X64+=$(SLB_X64)$/util.lib\ 124cdf0e10cSrcweir $(SLB_X64)$/ooofilereader.lib 125cdf0e10cSrcweirSHL1OBJS_X64=$(SLOFILES_X64) 126cdf0e10cSrcweirSHL1DEF_X64=$(MISC_X64)$/$(SHL1TARGET_X64).def 127cdf0e10cSrcweirDEF1NAME_X64=$(SHL1TARGET_X64) 128cdf0e10cSrcweirDEF1EXPORTFILE_X64=exports.dxp 129cdf0e10cSrcweir.ENDIF # "$(BUILD_X64)"!="" 130cdf0e10cSrcweir 131cdf0e10cSrcweir# --- Targets ------------------------------------------------------ 132cdf0e10cSrcweir 133cdf0e10cSrcweir.INCLUDE : set_wntx64.mk 134cdf0e10cSrcweir.INCLUDE : target.mk 135cdf0e10cSrcweirINCLUDE!:=$(subst,/stl, $(INCLUDE)) 136*8fb1ee5aSHerbert Dürr 137cdf0e10cSrcweir.INCLUDE : tg_wntx64.mk 138