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