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=..$/..$/.. 25 26PRJNAME = desktop 27TARGET = loader2 28LIBTARGET = NO 29DYNAMIC_CRT = 30TARGETTYPE = GUI 31 32ENABLE_EXCEPTIONS = TRUE 33 34# --- Settings ------------------------------------------------------------ 35 36.INCLUDE : settings.mk 37 38# --- Allgemein ----------------------------------------------------------- 39 40INCPRE+=$(MFC_INCLUDE) 41 42.IF "$(USE_STLP_DEBUG)"!="" 43CDEFS+=-D_DEBUG 44.ENDIF # "$(USE_STLP_DEBUG)"!="" 45 46RCFILES= $(RES)$/$(TARGET).rc 47 48ULFFILES= setup.ulf 49 50.IF "$(WITH_LANG)"!="" 51ULFDIR:=$(COMMONMISC)$/$(TARGET) 52.ELSE # "$(WITH_LANG)"!="" 53ULFDIR:=. 54.ENDIF # "$(WITH_LANG)"!="" 55 56OBJFILES= $(OBJ)$/setup_main.obj \ 57 $(OBJ)$/setup.obj $(OBJ)$/aoo_msi.obj 58 59# --- Targets ------------------------------------------------------ 60# Generate the native Windows resource file 61# using lngconvex.exe 62 63UWINAPILIB= $(0) 64LIBSALCPPRT= $(0) 65 66APP1NOSAL= TRUE 67APP1TARGET= loader2 68 69APP1STDLIBS= $(GDI32LIB) $(ADVAPI32LIB) $(SHELL32LIB) 70.IF "$(COM)"!="GCC" 71APP1STDLIBS+= libcmt.lib 72.ENDIF 73APP1OBJS= $(OBJFILES) 74 75APP1DEF= $(MISC)$/$(TARGET).def 76 77APP1RES= $(RES)$/$(TARGET).res 78APP1NOSVRES= $(RES)$/$(TARGET).res 79 80# --- setup -------------------------------------------------------------- 81 82.INCLUDE : target.mk 83 84$(RCFILES) : $(ULFDIR)$/setup.ulf makefile.mk rcfooter.txt rcheader.txt rctmpl.txt 85 $(LNGCONVEX) -ulf $(ULFDIR)$/setup.ulf -rc $(RCFILES) -rct rctmpl.txt -rch rcheader.txt -rcf rcfooter.txt 86