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=shlxthdl 27LIBTARGET=NO 28ENABLE_EXCEPTIONS=TRUE 29USE_DEFFILE=TRUE 30.IF "$(BUILD_X64)"!="" 31USE_DEFFILE_X64=TRUE 32.ENDIF 33NO_DEFAULT_STL=TRUE 34USE_STLP_DEBUG= 35 36# --- Settings ----------------------------------------------------- 37 38.INCLUDE : settings.mk 39 40UWINAPILIB = 41UWINAPILIB_X64 = 42 43CFLAGS+=-DISOLATION_AWARE_ENABLED -DWIN32_LEAN_AND_MEAN -DXML_UNICODE -D_NTSDK -DUNICODE -D_UNICODE -D_WIN32_WINNT=0x0501 44CFLAGS+=-wd4710 -wd4711 -wd4514 -wd4619 -wd4217 -wd4820 45CDEFS+=-D_WIN32_IE=0x501 46 47# --- Files -------------------------------------------------------- 48 49SLOFILES=$(SLO)$/classfactory.obj\ 50 $(SLO)$/columninfo.obj\ 51 $(SLO)$/infotips.obj\ 52 $(SLO)$/propsheets.obj\ 53 $(SLO)$/shlxthdl.obj\ 54 $(SLO)$/listviewbuilder.obj\ 55 $(SLO)$/document_statistic.obj\ 56 $(SLO)$/thumbviewer.obj\ 57 58SHL1TARGET=$(TARGET) 59 60.IF "$(COM)"=="GCC" 61SHL1STDLIBS=$(ZLIB3RDLIB) $(EXPAT3RDLIB) $(COMCTL32LIB) 62SHL1LIBS= 63.ELSE 64SHL1STDLIBS= 65SHL1LIBS=$(SOLARLIBDIR)$/zlib.lib\ 66 $(SOLARLIBDIR)$/expat_xmlparse.lib\ 67 $(SOLARLIBDIR)$/expat_xmltok.lib 68.ENDIF 69SHL1STDLIBS+=\ 70 $(OLEAUT32LIB)\ 71 $(ADVAPI32LIB)\ 72 $(OLE32LIB)\ 73 $(UUIDLIB)\ 74 $(SHELL32LIB)\ 75 $(KERNEL32LIB)\ 76 $(GDI32LIB)\ 77 $(GDIPLUSLIB) 78 79.IF "$(COM)"!="GCC" 80SHL1STDLIBS+=\ 81 msvcprt.lib 82.ENDIF 83 84SHL1STDLIBS+=\ 85 $(SHLWAPILIB) 86 87SHL1LIBS+=$(SLB)$/util.lib\ 88 $(SLB)$/ooofilereader.lib 89 90SHL1DEPN= 91 92SHL1OBJS=$(SLOFILES) 93SHL1DEF=$(MISC)$/$(SHL1TARGET).def 94 95SHL1RES=$(RES)$/$(TARGET).res 96 97DEF1NAME=$(SHL1TARGET) 98DEF1EXPORTFILE=exports.dxp 99 100.IF "$(BUILD_X64)"!="" 101# -------------------- x64 ----------------------- 102CFLAGS_X64+=-DISOLATION_AWARE_ENABLED -DWIN32_LEAN_AND_MEAN -DXML_UNICODE -D_NTSDK -DUNICODE -D_UNICODE -D_WIN32_WINNT=0x0501 103CFLAGS_X64+=-wd4710 -wd4711 -wd4514 -wd4619 -wd4217 -wd4820 104CDEFS_X64+=-D_WIN32_IE=0x501 105 106SLOFILES_X64= \ 107 $(SLO_X64)$/classfactory.obj\ 108 $(SLO_X64)$/columninfo.obj\ 109 $(SLO_X64)$/infotips.obj\ 110 $(SLO_X64)$/propsheets.obj\ 111 $(SLO_X64)$/shlxthdl.obj\ 112 $(SLO_X64)$/listviewbuilder.obj\ 113 $(SLO_X64)$/document_statistic.obj\ 114 $(SLO_X64)$/thumbviewer.obj\ 115 116SHL1TARGET_X64=$(TARGET) 117SHL1LIBS_X64=$(SOLARLIBDIR_X64)$/zlib.lib\ 118 $(SOLARLIBDIR_X64)$/expat_xmlparse.lib\ 119 $(SOLARLIBDIR_X64)$/expat_xmltok.lib 120 121SHL1STDLIBS_X64+=\ 122 $(OLEAUT32LIB_X64)\ 123 $(ADVAPI32LIB_X64)\ 124 $(OLE32LIB_X64)\ 125 $(UUIDLIB_X64)\ 126 $(SHELL32LIB_X64)\ 127 $(KERNEL32LIB_X64)\ 128 $(GDI32LIB_X64)\ 129 $(USER32LIB_X64) \ 130 $(GDIPLUSLIB_X64) \ 131 $(MSVCRT_X64) \ 132 $(MSVCPRT_X64) \ 133 $(OLDNAMESLIB_X64) \ 134 msvcprt.lib 135 136SHL1LIBS_X64+=$(SLB_X64)$/util.lib\ 137 $(SLB_X64)$/ooofilereader.lib 138SHL1OBJS_X64=$(SLOFILES_X64) 139SHL1DEF_X64=$(MISC_X64)$/$(SHL1TARGET).def 140SHL1RES_X64=$(RES_X64)$/$(TARGET).res 141 142DEF1NAME_X64=$(SHL1TARGET_X64) 143DEF1EXPORTFILE_X64=exports.dxp 144.ENDIF # "$(BUILD_X64)"!="" 145 146# --- Targets ------------------------------------------------------ 147 148.INCLUDE : set_wntx64.mk 149.INCLUDE : target.mk 150INCLUDE!:=$(subst,/stl, $(INCLUDE)) 151 152.INCLUDE : tg_wntx64.mk 153 154