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