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