Update ooo320-m1
[ooovba.git] / rsc / source / prj / makefile.mk
blob1e58270aa67cb9948b871416be557b258fd5ce7a
1 #*************************************************************************
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 #
5 # Copyright 2008 by Sun Microsystems, Inc.
7 # OpenOffice.org - a multi-platform office productivity suite
9 # $RCSfile: makefile.mk,v $
11 # $Revision: 1.8 $
13 # This file is part of OpenOffice.org.
15 # OpenOffice.org is free software: you can redistribute it and/or modify
16 # it under the terms of the GNU Lesser General Public License version 3
17 # only, as published by the Free Software Foundation.
19 # OpenOffice.org is distributed in the hope that it will be useful,
20 # but WITHOUT ANY WARRANTY; without even the implied warranty of
21 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22 # GNU Lesser General Public License version 3 for more details
23 # (a copy is included in the LICENSE file that accompanied this code).
25 # You should have received a copy of the GNU Lesser General Public License
26 # version 3 along with OpenOffice.org. If not, see
27 # <http://www.openoffice.org/license.html>
28 # for a copy of the LGPLv3 License.
30 #*************************************************************************
32 PRJ=..$/..
34 PRJNAME=rsc
35 TARGETTYPE=CUI
36 TARGET=rsc
37 LIBTARGET=NO
39 # --- Settings -----------------------------------------------------------
41 .INCLUDE : settings.mk
43 # --- Files --------------------------------------------------------------
45 OBJFILES= $(OBJ)$/gui.obj \
46 $(OBJ)$/start.obj
48 APP1TARGET= rsc
49 APP1STDLIBS=$(TOOLSLIB) $(I18NISOLANGLIB) $(VOSLIB) $(SALLIB) # $(RTLLIB)
50 APP1LIBS= $(LB)$/rsctoo.lib
51 APP1OBJS= $(OBJ)$/start.obj
52 .IF "$(GUI)" != "OS2"
53 # why not this way?
54 APP1STACK=64000
55 #APP1STACK=32768
56 .ENDIF
57 APP1RPATH=NONE
59 APP2TARGET= rsc2
60 .IF "$(OS)"=="SCO"
61 # SCO hat Probleme mit fork/exec und einigen shared libraries.
62 # rsc2 muss daher statisch gelinkt werden
63 APP2STDLIBS=$(STATIC) -latools $(BPICONVLIB) $(VOSLIB) $(OSLLIB) $(RTLLIB) $(DYNAMIC)
64 .ELSE
65 APP2STDLIBS=$(TOOLSLIB) $(I18NISOLANGLIB) $(VOSLIB) $(SALLIB) # $(RTLLIB)
66 .ENDIF
67 APP2LIBS= $(LB)$/rsctoo.lib \
68 $(LB)$/rscres.lib \
69 $(LB)$/rscpar.lib \
70 $(LB)$/rscrsc.lib \
71 $(LB)$/rscmis.lib
72 APP2OBJS= $(OBJ)$/gui.obj
73 .IF "$(GUI)" != "OS2"
74 # why not this way?
75 APP2STACK=64000
76 #APP2STACK=32768
77 .ENDIF
78 APP2RPATH=NONE
80 # --- Targets ------------------------------------------------------------
82 .INCLUDE : target.mk