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_a.obj \
58			$(OBJ)$/setup_w.obj
59
60# --- Targets ------------------------------------------------------
61# Generate the native Windows resource file
62# using lngconvex.exe
63
64UWINAPILIB=		$(0)
65LIBSALCPPRT=	$(0)
66
67APP1NOSAL=		TRUE
68APP1TARGET=		loader2
69
70APP1STDLIBS=	$(GDI32LIB) $(ADVAPI32LIB) $(SHELL32LIB) $(MSILIB)
71.IF "$(COM)"!="GCC"
72APP1STDLIBS+=	libcmt.lib
73.ENDIF
74APP1OBJS=		$(OBJFILES)
75
76APP1DEF=		$(MISC)$/$(TARGET).def
77
78APP1RES=		$(RES)$/$(TARGET).res
79APP1NOSVRES=	$(RES)$/$(TARGET).res
80
81# --- setup --------------------------------------------------------------
82
83.INCLUDE :  target.mk
84
85$(RCFILES) : $(ULFDIR)$/setup.ulf makefile.mk rcfooter.txt rcheader.txt rctmpl.txt
86    $(LNGCONVEX) -ulf $(ULFDIR)$/setup.ulf -rc $(RCFILES) -rct rctmpl.txt -rch rcheader.txt -rcf rcfooter.txt
87
88