1#************************************************************** 2# 3# Licensed to the Apache Software Foundation (ASF) under one 4# or more contributor license agreements. See the NOTICE file 5# distributed with this work for additional information 6# regarding copyright ownership. The ASF licenses this file 7# to you under the Apache License, Version 2.0 (the 8# "License"); you may not use this file except in compliance 9# with the License. You may obtain a copy of the License at 10# 11# http://www.apache.org/licenses/LICENSE-2.0 12# 13# Unless required by applicable law or agreed to in writing, 14# software distributed under the License is distributed on an 15# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16# KIND, either express or implied. See the License for the 17# specific language governing permissions and limitations 18# under the License. 19# 20#************************************************************** 21 22 23 24PRJ=..$/..$/..$/.. 25PRJNAME=shell 26TARGET=propertyhdl 27LIBTARGET=NO 28ENABLE_EXCEPTIONS=TRUE 29NO_DEFAULT_STL=YES 30USE_DEFFILE=TRUE 31.IF "$(BUILD_X64)"!="" 32USE_DEFFILE_X64=TRUE 33.ENDIF 34 35# --- Settings ----------------------------------------------------- 36 37.INCLUDE : settings.mk 38 39UWINAPILIB = 40UWINAPILIB_X64 = 41 42CFLAGS+=-DISOLATION_AWARE_ENABLED -DWIN32_LEAN_AND_MEAN -DXML_UNICODE -D_NTSDK -DUNICODE -D_UNICODE -D_WIN32_WINNT=0x0501 43CFLAGS+=-wd4710 -wd4711 -wd4514 -wd4619 -wd4217 -wd4820 -wd4100 44CDEFS+=-D_WIN32_IE=0x501 45 46# --- Files -------------------------------------------------------- 47 48SLOFILES=$(SLO)$/$(TARGET).obj\ 49 $(SLO)$/stream_helper.obj 50 51SHL1TARGET=$(TARGET) 52 53.IF "$(COM)"=="GCC" 54SHL1STDLIBS=$(ZLIB3RDLIB) $(EXPAT3RDLIB) $(COMCTL32LIB) 55SHL1LIBS= 56.ELSE 57SHL1STDLIBS= 58SHL1LIBS=$(SOLARLIBDIR)$/zlib.lib\ 59 $(SOLARLIBDIR)$/expat_xmlparse.lib\ 60 $(SOLARLIBDIR)$/expat_xmltok.lib 61.ENDIF 62SHL1STDLIBS+=\ 63 $(OLEAUT32LIB)\ 64 $(ADVAPI32LIB)\ 65 $(OLE32LIB)\ 66 $(UUIDLIB)\ 67 $(SHELL32LIB)\ 68 $(KERNEL32LIB)\ 69 $(GDI32LIB)\ 70 $(GDIPLUSLIB)\ 71 $(SHLWAPILIB)\ 72 $(PROPSYSLIB) 73 74.IF "$(COM)"!="GCC" 75SHL1STDLIBS+=\ 76 msvcprt.lib 77 78.IF "$(PRODUCT)"!="full" 79SHL1STDLIBS+=msvcrt.lib 80.ENDIF 81.ENDIF 82 83SHL1LIBS+=$(SLB)$/util.lib\ 84 $(SLB)$/ooofilereader.lib 85 86SHL1DEPN= 87SHL1OBJS=$(SLOFILES) 88SHL1DEF=$(MISC)$/$(SHL1TARGET).def 89DEF1NAME=$(SHL1TARGET) 90DEF1EXPORTFILE=exports.dxp 91 92# -------------------- x64 ----------------------- 93.IF "$(BUILD_X64)"!="" 94CFLAGS_X64+=-DISOLATION_AWARE_ENABLED -DWIN32_LEAN_AND_MEAN -DXML_UNICODE -D_NTSDK -DUNICODE -D_UNICODE -D_WIN32_WINNT=0x0501 95CFLAGS_X64+=-wd4710 -wd4711 -wd4514 -wd4619 -wd4217 -wd4820 96CDEFS_X64+=-D_WIN32_IE=0x501 97SLOFILES_X64=$(SLO_X64)$/$(TARGET).obj 98 99SLOFILES_X64= \ 100 $(SLO_X64)$/propertyhdl.obj\ 101 $(SLO_X64)$/stream_helper.obj\ 102 103SHL1TARGET_X64=$(TARGET) 104SHL1LIBS_X64=$(SOLARLIBDIR_X64)$/zlib.lib\ 105 $(SOLARLIBDIR_X64)$/expat_xmlparse.lib\ 106 $(SOLARLIBDIR_X64)$/expat_xmltok.lib 107 108SHL1STDLIBS_X64+=\ 109 $(OLEAUT32LIB_X64)\ 110 $(ADVAPI32LIB_X64)\ 111 $(OLE32LIB_X64)\ 112 $(UUIDLIB_X64)\ 113 $(SHELL32LIB_X64)\ 114 $(KERNEL32LIB_X64)\ 115 $(GDI32LIB_X64)\ 116 $(USER32LIB_X64) \ 117 $(GDIPLUSLIB_X64) \ 118 $(MSVCRT_X64) \ 119 $(MSVCPRT_X64) \ 120 $(OLDNAMESLIB_X64)\ 121 $(PROPSYSLIB_X64) 122 123SHL1LIBS_X64+=$(SLB_X64)$/util.lib\ 124 $(SLB_X64)$/ooofilereader.lib 125SHL1OBJS_X64=$(SLOFILES_X64) 126SHL1DEF_X64=$(MISC_X64)$/$(SHL1TARGET).def 127 128DEF1NAME_X64=$(SHL1TARGET_X64) 129DEF1EXPORTFILE_X64=exports.dxp 130 131.ENDIF # "$(BUILD_X64)"!="" 132 133# --- Targets ------------------------------------------------------ 134.INCLUDE : set_wntx64.mk 135.INCLUDE : target.mk 136INCLUDE!:=$(subst,/stl, $(INCLUDE)) 137.EXPORT : INCLUDE 138.INCLUDE : tg_wntx64.mk 139