xref: /aoo4110/main/basic/workben/makefile.mk (revision b1cdbd2c)
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=basic
27TARGET=miniapp
28TARGETTYPE=GUI
29
30# --- Settings ---------------------------------------------------
31
32.INCLUDE :  settings.mk
33
34# --- SBASIC IDE --------------------------------------------------------
35
36APP1TARGET=$(PRJNAME)app
37APP1STDLIBS= \
38			$(SALLIB) \
39			$(TOOLSLIB) \
40            $(UNOTOOLSLIB) \
41			$(SVTOOLLIB) \
42			$(SVLLIB) \
43			$(VCLLIB) \
44			$(COMPHELPERLIB) \
45			$(UCBHELPERLIB) \
46			$(CPPUHELPERLIB) \
47			$(CPPULIB) \
48			$(SJLIB) \
49			$(SOTLIB) \
50			$(VOSLIB)
51
52#.IF "$(GUI)"=="WNT" || "$(COM)"=="GCC"
53#APP1STDLIBS+=$(CPPULIB)
54#.ENDIF
55#.IF "$(GUI)"=="UNX"
56#APP1STDLIBS+= \
57#			$(VOSLIB) \
58#			$(SALLIB)
59#.ENDIF
60
61.IF "$(GUI)"!="OS2"
62APP1LIBS= \
63			$(LB)$/basic.lib
64.ENDIF
65APP1LIBS+= \
66			$(LB)$/app.lib \
67			$(LB)$/sample.lib
68.IF "$(GUI)"=="UNX" || "$(GUI)"=="OS2"
69APP1STDLIBS+=	\
70			$(BASICLIB)
71.ENDIF
72
73
74APP1DEPN=	$(L)$/itools.lib $(SVLIBDEPEND) $(LB)$/basic.lib $(LB)$/app.lib $(LB)$/sample.lib
75
76APP1OBJS = $(OBJ)$/ttbasic.obj
77
78.IF "$(GUI)" != "UNX"
79APP1OBJS+=	\
80			$(OBJ)$/app.obj \
81			$(SLO)$/sbintern.obj
82.ENDIF
83
84.INCLUDE :  target.mk
85
86