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=rebasegui
32LIBTARGET=NO
33TARGETTYPE=GUI
34UWINAPILIB=
35
36# --- Settings -----------------------------------------------------
37
38.INCLUDE :  settings.mk
39
40# --- Files --------------------------------------------------------
41
42OBJFILES = \
43	$(OBJ)$/rebase.obj	\
44	$(OBJ)$/rebasegui.obj
45
46ULFFILES=	rebasegui.ulf
47
48.IF "$(WITH_LANG)"!=""
49ULFDIR:=$(COMMONMISC)$/$(TARGET)
50.ELSE			# "$(WITH_LANG)"!=""
51ULFDIR:=.
52.ENDIF			# "$(WITH_LANG)"!=""
53
54RCFILES=		$(RES)$/$(TARGET).rc
55
56# --- Targets ------------------------------------------------------
57
58APP1NOSAL=		TRUE
59APP1TARGET=		rebaseoo
60
61APP1STDLIBS=	$(SHELL32LIB) $(SOLARLIBDIR)$/pathutils-obj.obj
62.IF "$(COM)"=="GCC"
63	APP1STDLIBS+=$(PSDK_HOME)$/lib$/imagehlp.lib
64.ELSE
65	APP1STDLIBS+=imagehlp.lib
66.ENDIF
67
68APP1OBJS=		$(OBJ)$/rebase.obj
69
70APP1RPATH=		BRAND
71
72APP2NOSAL=		TRUE
73APP2TARGET=		rebasegui
74APP2STDLIBS=	$(SHELL32LIB) $(SOLARLIBDIR)$/pathutils-obj.obj
75
76APP2OBJS=		$(OBJ)$/rebasegui.obj
77
78APP2DEF=		$(MISC)$/$(TARGET).def
79APP2RPATH=		BRAND
80
81APP2RES=		$(RES)$/$(TARGET).res
82APP2NOSVRES=	$(RES)$/$(TARGET).res
83
84# --- setup --------------------------------------------------------------
85
86.INCLUDE :  target.mk
87
88$(RCFILES) : $(ULFDIR)$/rebasegui.ulf makefile.mk rcfooter.txt rcheader.txt rctmpl.txt
89    $(LNGCONVEX) -ulf $(ULFDIR)$/rebasegui.ulf -rc $(RCFILES) -rct rctmpl.txt -rch rcheader.txt -rcf rcfooter.txt
90