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=setup_native 26TARGET=shlxtmsi 27 28# --- Settings ----------------------------------------------------- 29 30ENABLE_EXCEPTIONS=TRUE 31NO_DEFAULT_STL=TRUE 32DYNAMIC_CRT= 33USE_DEFFILE=TRUE 34 35.INCLUDE : settings.mk 36 37.IF "$(USE_SYSTEM_STL)" != "YES" 38CFLAGS+=-D_STLP_USE_STATIC_LIB 39.ENDIF 40 41#Disable precompiled header 42CDEFS+=-Dnot_used_define_to_disable_pch 43 44# --- Files -------------------------------------------------------- 45 46.IF "$(GUI)"=="WNT" 47 48.IF "$(USE_SYSTEM_STL)" != "YES" && "$(PRODUCT)" = "" 49CDEFS+=-D_DEBUG 50.ENDIF 51 52UWINAPILIB= 53 54SLOFILES = \ 55 $(SLO)$/shellextensions.obj \ 56 $(SLO)$/startmenuicon.obj \ 57 $(SLO)$/upgrade.obj \ 58 $(SLO)$/iconcache.obj \ 59 $(SLO)$/postuninstall.obj \ 60 $(SLO)$/migrateinstallpath.obj \ 61 $(SLO)$/completeinstallpath.obj \ 62 $(SLO)$/checkdirectory.obj \ 63 $(SLO)$/setadmininstall.obj \ 64 $(SLO)$/layerlinks.obj \ 65 $(SLO)$/dotnetcheck.obj \ 66 $(SLO)$/registerextensions.obj \ 67 $(SLO)$/copyeditiondata.obj \ 68 $(SLO)$/vistaspecial.obj \ 69 $(SLO)$/checkrunningoffice.obj \ 70 $(SLO)$/checkpatches.obj \ 71 $(SLO)$/copyextensiondata.obj 72 73STDSHL += \ 74 $(ADVAPI32LIB)\ 75 $(MSILIB)\ 76 $(SHELL32LIB) 77 78.IF "$(USE_SYSTEM_STL)" != "YES" 79STDSHL += $(LIBSTLPORTST) 80.ENDIF 81 82.IF "$(COM)"=="GCC" 83STDSHL+= \ 84 $(KERNEL32LIB)\ 85 -lmsvcrt 86.ENDIF 87 88SHL1OBJS = $(SLOFILES) \ 89 $(SLO)$/seterror.obj 90 91SHL1TARGET = $(TARGET) 92SHL1IMPLIB = i$(TARGET) 93 94SHL1DEF = $(MISC)$/$(SHL1TARGET).def 95SHL1DEPN = $(SLB)$/$(TARGET).lib 96SHL1BASE = 0x1c000000 97DEF1NAME=$(SHL1TARGET) 98DEF1EXPORTFILE=exports.dxp 99 100.ENDIF 101 102# --- Targets -------------------------------------------------------------- 103 104.INCLUDE : target.mk 105 106# ------------------------------------------------------------------------- 107 108 109