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