xref: /aoo41x/main/rsc/source/prj/makefile.mk (revision cdf0e10c)
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=rsc
31TARGETTYPE=CUI
32TARGET=rsc
33LIBTARGET=NO
34
35# --- Settings -----------------------------------------------------------
36
37.INCLUDE :  settings.mk
38
39# --- Files --------------------------------------------------------------
40
41OBJFILES=   $(OBJ)$/gui.obj          \
42            $(OBJ)$/start.obj
43
44APP1TARGET= rsc
45APP1STDLIBS=$(TOOLSLIB) $(I18NISOLANGLIB) $(VOSLIB) $(SALLIB) # $(RTLLIB)
46APP1LIBS=   $(LB)$/rsctoo.lib
47APP1OBJS=   $(OBJ)$/start.obj
48.IF "$(GUI)" != "OS2"
49# why not this way?
50APP1STACK=64000
51#APP1STACK=32768
52.ENDIF
53APP1RPATH=NONE
54
55APP2TARGET= rsc2
56.IF "$(OS)"=="SCO"
57# SCO hat Probleme mit fork/exec und einigen shared libraries.
58# rsc2 muss daher statisch gelinkt werden
59APP2STDLIBS=$(STATIC) -latools $(BPICONVLIB) $(VOSLIB) $(OSLLIB) $(RTLLIB) $(DYNAMIC)
60.ELSE
61APP2STDLIBS=$(TOOLSLIB) $(I18NISOLANGLIB) $(VOSLIB) $(SALLIB) # $(RTLLIB)
62.ENDIF
63APP2LIBS=   $(LB)$/rsctoo.lib \
64            $(LB)$/rscres.lib \
65            $(LB)$/rscpar.lib \
66            $(LB)$/rscrsc.lib \
67            $(LB)$/rscmis.lib
68APP2OBJS=   $(OBJ)$/gui.obj
69.IF "$(GUI)" != "OS2"
70# why not this way?
71APP2STACK=64000
72#APP2STACK=32768
73.ENDIF
74APP2RPATH=NONE
75
76# --- Targets ------------------------------------------------------------
77
78.INCLUDE :  target.mk
79
80