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=regpatchactivex 27USE_DEFFILE=TRUE 28 29.IF "$(GUI)"=="WNT" 30 31# --- Settings ----------------------------------------------------- 32 33# NO_DEFAULT_STL=TRUE 34ENABLE_EXCEPTIONS=TRUE 35 36.INCLUDE : settings.mk 37 38STDSHL= 39# SOLARINC!:=$(SOLARINC:s/stl//) 40 41# --- Files -------------------------------------------------------- 42 43INCPRE+=.\Include 44.DIRCACHE=NO 45# CFLAGS+=-E 46 47SLOFILES = $(SLO)$/regpatchactivex.obj 48 49.IF "$(COM)"=="GCC" 50SHL1STDLIBS += -lstdc++ 51.IF "$(MINGW_GCCLIB_EH)"=="YES" 52SHL1STDLIBS += -lgcc_eh 53.ENDIF 54SHL1STDLIBS += -lgcc -lmingw32 -lmoldname -lmsvcrt 55.ELSE 56SHL1STDLIBS= 57.ENDIF 58 59SHL1STDLIBS+= $(KERNEL32LIB)\ 60 $(USER32LIB)\ 61 $(ADVAPI32LIB)\ 62 $(SHELL32LIB)\ 63 $(MSILIB) 64.IF "$(COM)"!="GCC" 65SHL1STDLIBS+= libcmt.lib 66.ENDIF 67 68 69SHL1LIBS = $(SLB)$/$(TARGET).lib 70 71#SHL1TARGET = $(TARGET)$(DLLPOSTFIX) 72SHL1TARGET = $(TARGET) 73SHL1IMPLIB = i$(TARGET) 74 75SHL1DEF = $(MISC)$/$(SHL1TARGET).def 76SHL1DEPN = $(SLB)$/$(TARGET).lib 77SHL1BASE = 0x1c000000 78DEF1NAME=$(SHL1TARGET) 79DEF1EXPORTFILE=exports.dxp 80 81# --- Targets -------------------------------------------------------------- 82 83.INCLUDE : target.mk 84 85# ------------------------------------------------------------------------- 86 87 88.ENDIF 89 90