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=reg4msdocmsi 27 28# --- Settings ----------------------------------------------------- 29 30ENABLE_EXCEPTIONS=TRUE 31NO_DEFAULT_STL=TRUE 32DYNAMIC_CRT= 33USE_DEFFILE=TRUE 34MINGW_NODLL=YES 35 36.INCLUDE : settings.mk 37 38CFLAGS+=-DUNICODE -D_UNICODE 39.IF "$(USE_SYSTEM_STL)" != "YES" 40CFLAGS+=-D_STLP_USE_STATIC_LIB 41.ENDIF 42 43# --- Files -------------------------------------------------------- 44 45.IF "$(GUI)"=="WNT" 46 47UWINAPILIB= 48 49SLOFILES = $(SLO)$/msihelper.obj\ 50 $(SLO)$/windowsregistry.obj\ 51 $(SLO)$/userregistrar.obj\ 52 $(SLO)$/stringconverter.obj\ 53 $(SLO)$/registrywnt.obj\ 54 $(SLO)$/registryw9x.obj\ 55 $(SLO)$/registryvalueimpl.obj\ 56 $(SLO)$/registryexception.obj\ 57 $(SLO)$/registry.obj\ 58 $(SLO)$/registrationcontextinformation.obj\ 59 $(SLO)$/registrar.obj\ 60 $(SLO)$/register.obj\ 61 $(SLO)$/reg4msdocmsi.obj 62 63SHL1STDLIBS= $(KERNEL32LIB)\ 64 $(USER32LIB)\ 65 $(ADVAPI32LIB)\ 66 $(SHELL32LIB)\ 67 $(MSILIB)\ 68 $(SHLWAPILIB) 69 70.IF "$(USE_SYSTEM_STL)" != "YES" 71SHL1STDLIBS+=$(LIBSTLPORTST) 72.ENDIF 73 74SHL1LIBS = $(SLB)$/$(TARGET).lib 75 76SHL1TARGET = $(TARGET) 77SHL1IMPLIB = i$(TARGET) 78 79SHL1DEF = $(MISC)$/$(SHL1TARGET).def 80SHL1DEPN = $(SLB)$/$(TARGET).lib 81SHL1BASE = 0x1c000000 82DEF1NAME=$(SHL1TARGET) 83DEF1EXPORTFILE=exports.dxp 84 85.ENDIF 86 87# --- Targets -------------------------------------------------------------- 88 89.INCLUDE : target.mk 90 91# ------------------------------------------------------------------------- 92 93