1#*************************************************************************
2#
3# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4#
5# Copyright 2000, 2010 Oracle and/or its affiliates.
6#
7# OpenOffice.org - a multi-platform office productivity suite
8#
9# This file is part of OpenOffice.org.
10#
11# OpenOffice.org is free software: you can redistribute it and/or modify
12# it under the terms of the GNU Lesser General Public License version 3
13# only, as published by the Free Software Foundation.
14#
15# OpenOffice.org is distributed in the hope that it will be useful,
16# but WITHOUT ANY WARRANTY; without even the implied warranty of
17# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18# GNU Lesser General Public License version 3 for more details
19# (a copy is included in the LICENSE file that accompanied this code).
20#
21# You should have received a copy of the GNU Lesser General Public License
22# version 3 along with OpenOffice.org.  If not, see
23# <http://www.openoffice.org/license.html>
24# for a copy of the LGPLv3 License.
25#
26#*************************************************************************
27
28PRJ=..$/..$/..
29
30PRJNAME		=	desktop
31TARGET		=	loader2
32LIBTARGET	=	NO
33DYNAMIC_CRT	=
34TARGETTYPE	=	GUI
35
36ENABLE_EXCEPTIONS	=	TRUE
37
38# --- Settings ------------------------------------------------------------
39
40.INCLUDE : settings.mk
41
42# --- Allgemein -----------------------------------------------------------
43
44INCPRE+=$(MFC_INCLUDE)
45
46.IF "$(USE_STLP_DEBUG)"!=""
47CDEFS+=-D_DEBUG
48.ENDIF # "$(USE_STLP_DEBUG)"!=""
49
50RCFILES=	$(RES)$/$(TARGET).rc
51
52ULFFILES=	setup.ulf
53
54.IF "$(WITH_LANG)"!=""
55ULFDIR:=$(COMMONMISC)$/$(TARGET)
56.ELSE			# "$(WITH_LANG)"!=""
57ULFDIR:=.
58.ENDIF			# "$(WITH_LANG)"!=""
59
60OBJFILES= 	$(OBJ)$/setup_main.obj \
61			$(OBJ)$/setup_a.obj \
62			$(OBJ)$/setup_w.obj
63
64# --- Targets ------------------------------------------------------
65# Generate the native Windows resource file
66# using lngconvex.exe
67
68UWINAPILIB=		$(0)
69LIBSALCPPRT=	$(0)
70
71APP1NOSAL=		TRUE
72APP1TARGET=		loader2
73
74APP1STDLIBS=	$(GDI32LIB) $(ADVAPI32LIB) $(SHELL32LIB) $(MSILIB)
75.IF "$(COM)"!="GCC"
76APP1STDLIBS+=	libcmt.lib
77.ENDIF
78APP1OBJS=		$(OBJFILES)
79
80APP1DEF=		$(MISC)$/$(TARGET).def
81
82APP1RES=		$(RES)$/$(TARGET).res
83APP1NOSVRES=	$(RES)$/$(TARGET).res
84
85# --- setup --------------------------------------------------------------
86
87.INCLUDE :  target.mk
88
89$(RCFILES) : $(ULFDIR)$/setup.ulf makefile.mk rcfooter.txt rcheader.txt rctmpl.txt
90    $(LNGCONVEX) -ulf $(ULFDIR)$/setup.ulf -rc $(RCFILES) -rct rctmpl.txt -rch rcheader.txt -rcf rcfooter.txt
91
92