CWS-TOOLING: integrate CWS os146
[LibreOffice.git] / rsc / source / prj / makefile.mk
blob89b00a779d3bd38247d13018dfe900c0d8a86111
1 #*************************************************************************
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 #
5 # Copyright 2000, 2010 Oracle and/or its affiliates.
7 # OpenOffice.org - a multi-platform office productivity suite
9 # This file is part of OpenOffice.org.
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.
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).
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.
26 #*************************************************************************
28 PRJ=..$/..
30 PRJNAME=rsc
31 TARGETTYPE=CUI
32 TARGET=rsc
33 LIBTARGET=NO
35 # --- Settings -----------------------------------------------------------
37 .INCLUDE : settings.mk
39 # --- Files --------------------------------------------------------------
41 OBJFILES= $(OBJ)$/gui.obj \
42 $(OBJ)$/start.obj
44 APP1TARGET= rsc
45 APP1STDLIBS=$(TOOLSLIB) $(I18NISOLANGLIB) $(VOSLIB) $(SALLIB) # $(RTLLIB)
46 APP1LIBS= $(LB)$/rsctoo.lib
47 APP1OBJS= $(OBJ)$/start.obj
48 .IF "$(GUI)" != "OS2"
49 # why not this way?
50 APP1STACK=64000
51 #APP1STACK=32768
52 .ENDIF
53 APP1RPATH=NONE
55 APP2TARGET= rsc2
56 .IF "$(OS)"=="SCO"
57 # SCO hat Probleme mit fork/exec und einigen shared libraries.
58 # rsc2 muss daher statisch gelinkt werden
59 APP2STDLIBS=$(STATIC) -latools $(BPICONVLIB) $(VOSLIB) $(OSLLIB) $(RTLLIB) $(DYNAMIC)
60 .ELSE
61 APP2STDLIBS=$(TOOLSLIB) $(I18NISOLANGLIB) $(VOSLIB) $(SALLIB) # $(RTLLIB)
62 .ENDIF
63 APP2LIBS= $(LB)$/rsctoo.lib \
64 $(LB)$/rscres.lib \
65 $(LB)$/rscpar.lib \
66 $(LB)$/rscrsc.lib \
67 $(LB)$/rscmis.lib
68 APP2OBJS= $(OBJ)$/gui.obj
69 .IF "$(GUI)" != "OS2"
70 # why not this way?
71 APP2STACK=64000
72 #APP2STACK=32768
73 .ENDIF
74 APP2RPATH=NONE
76 # --- Targets ------------------------------------------------------------
78 .INCLUDE : target.mk