merged tag LIBREOFFICE_3_2_99_3
[LibreOffice.git] / basic / util / makefile.mk
blob7340d08139549cb1a99d092b322a656a0a6b6be3
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=basic
31 TARGET=sb
32 #basic.hid generieren
33 GEN_HID=TRUE
35 # --- Settings ---------------------------------------------------
37 .INCLUDE : settings.mk
39 # --- Allgemein ---------------------------------------------------
41 LIB1TARGET=$(SLB)$/sb.lib
42 LIB1FILES= \
43 $(SLB)$/basicmgr.lib \
44 $(SLB)$/classes.lib \
45 $(SLB)$/comp.lib \
46 $(SLB)$/uno.lib \
47 $(SLB)$/runtime.lib \
48 $(SLB)$/sbx.lib
50 SHL1TARGET= sb$(DLLPOSTFIX)
51 SHL1IMPLIB= basic
53 SHL1STDLIBS= \
54 $(CPPULIB) \
55 $(CPPUHELPERLIB) \
56 $(TOOLSLIB) \
57 $(SVTOOLLIB) \
58 $(SVLLIB) \
59 $(VCLLIB) \
60 $(SALLIB) \
61 $(SALHELPERLIB) \
62 $(COMPHELPERLIB) \
63 $(UNOTOOLSLIB) \
64 $(SOTLIB) \
65 $(XMLSCRIPTLIB)
67 .IF "$(SOLAR_JAVA)" != "TRUE"
68 SHL1STDLIBS+=$(SJLIB)
69 .ENDIF
71 .IF "$(GUI)"=="WNT"
72 SHL1STDLIBS+= \
73 $(UWINAPILIB) \
74 $(OLEAUT32LIB)
75 .ENDIF # WNT
77 .IF "$(GUI)" != "UNX"
78 .IF "$(COM)" != "GCC"
79 SHL1OBJS= \
80 $(SLO)$/sb.obj
81 .ENDIF
82 .ENDIF
84 SHL1DEF= $(MISC)$/$(SHL1TARGET).def
85 SHL1LIBS= $(SLB)$/sb.lib
87 DEF1NAME =$(SHL1TARGET)
88 DEF1DEPN = \
89 $(MISC)$/$(SHL1TARGET).flt
91 DEFLIB1NAME =sb
92 DEF1DES =StarBasic
95 RES1TARGET=$(PRJNAME)
96 SRS1FILES= \
97 $(SRS)$/classes.srs \
98 $(SRS)$/sbx.srs
100 # --- TESTTOOL IDE ------------------------------------------------------
101 # The resources are linked here
103 RESLIB1NAME=stt
104 RESLIB1IMAGES=$(PRJ)$/res
105 RESLIB1SRSFILES= \
106 $(SRS)$/app.srs
108 RESLIB2NAME=sb
109 RESLIB2IMAGES=$(PRJ)$/res
110 RESLIB2SRSFILES= \
111 $(SRS)$/classes.srs \
112 $(SRS)$/sbx.srs
113 ########## remove sbx.srx (and this line) when issue i53795 is fixed
115 # --- Targets -----------------------------------------------------------
117 .INCLUDE : target.mk
119 #-------------------------------------------------------------------------
120 # Windows NT
121 #-------------------------------------------------------------------------
123 # default targets aus target.mk
126 # --- Basic-Filter-Datei ---
128 $(MISC)$/$(SHL1TARGET).flt: makefile.mk
129 @echo ------------------------------
130 @echo Making: $@
131 @echo WEP > $@
132 @echo LIBMAIN >> $@
133 @echo LibMain >> $@
134 @echo Sbi >> $@
135 @echo SvRTL >> $@
136 @echo SbRtl_ >> $@
137 @echo exception >> $@
138 @echo bad_alloc >> $@
139 @echo __CT >> $@
141 $(SRS)$/basic.srs:
142 $(TYPE) $(SRS)$/classes.srs + $(SRS)$/runtime.srs + $(SRS)$/sbx.srs > $@