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