update dev300-m58
[ooovba.git] / sd / util / makefile.mk
blob0b84a957d0467700293c1162789dfbfe45744ac5
1 #*************************************************************************
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 # Copyright 2008 by Sun Microsystems, Inc.
7 # OpenOffice.org - a multi-platform office productivity suite
9 # $RCSfile: makefile.mk,v $
11 # $Revision: 1.58 $
13 # This file is part of OpenOffice.org.
15 # OpenOffice.org is free software: you can redistribute it and/or modify
16 # it under the terms of the GNU Lesser General Public License version 3
17 # only, as published by the Free Software Foundation.
19 # OpenOffice.org is distributed in the hope that it will be useful,
20 # but WITHOUT ANY WARRANTY; without even the implied warranty of
21 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22 # GNU Lesser General Public License version 3 for more details
23 # (a copy is included in the LICENSE file that accompanied this code).
25 # You should have received a copy of the GNU Lesser General Public License
26 # version 3 along with OpenOffice.org. If not, see
27 # <http://www.openoffice.org/license.html>
28 # for a copy of the LGPLv3 License.
30 #*************************************************************************
32 PRJ=..
34 PRJNAME=sd
35 TARGET=sdraw3
36 GEN_HID=TRUE
37 GEN_HID_OTHER=TRUE
38 USE_DEFFILE=TRUE
40 # --- Settings -----------------------------------------------------------
42 .INCLUDE : settings.mk
44 # --- Resources ----------------------------------------------------
46 RESLIB1NAME=sd
47 RESLIB1IMAGES=$(PRJ)$/res/imagelst $(PRJ)$/res
48 RESLIB1SRSFILES=\
49 $(SRS)$/app.srs \
50 $(SRS)$/dlg.srs \
51 $(SRS)$/core.srs \
52 $(SRS)$/html.srs \
53 $(SRS)$/accessibility.srs \
54 $(SRS)$/notes.srs \
55 $(SRS)$/animui.srs \
56 $(SRS)$/slideshow.srs \
57 $(SRS)$/uitable.srs \
58 $(SOLARCOMMONRESDIR)$/sfx.srs
60 # --- StarDraw DLL
62 SHL1TARGET= sd$(DLLPOSTFIX)
63 SHL1USE_EXPORTS=name
64 SHL1IMPLIB= sdi
66 # dynamic libraries
67 SHL1STDLIBS+= \
68 $(SVXCORELIB) \
69 $(SVXLIB) \
70 $(SFXLIB) \
71 $(BASICLIB) \
72 $(CPPCANVASLIB) \
73 $(BASEGFXLIB) \
74 $(DRAWINGLAYERLIB) \
75 $(GOODIESLIB) \
76 $(BASEGFXLIB) \
77 $(SVTOOLLIB) \
78 $(TKLIB) \
79 $(VCLLIB) \
80 $(SVLLIB) \
81 $(SOTLIB) \
82 $(UNOTOOLSLIB) \
83 $(TOOLSLIB) \
84 $(I18NISOLANGLIB) \
85 $(COMPHELPERLIB) \
86 $(UCBHELPERLIB) \
87 $(CPPUHELPERLIB) \
88 $(CPPULIB) \
89 $(VOSLIB) \
90 $(CANVASLIB) \
91 $(SALLIB) \
92 $(AVMEDIALIB)
94 SHL1LIBS= $(LIB3TARGET) $(LIB5TARGET) $(LIB6TARGET)
95 SHL1DEPN+= makefile.mk
97 SHL1DEF= $(MISC)$/$(SHL1TARGET).def
98 DEF1DEPN =$(MISC)$/$(SHL1TARGET).flt
99 DEF1NAME =$(SHL1TARGET)
100 DEFLIB1NAME = $(TARGET) $(LIB5TARGET:b) $(LIB6TARGET:b)
102 .IF "$(GUI)" == "WNT"
103 SHL1RES= $(RCTARGET)
104 .ENDIF
106 # --- Linken der Applikation ---------------------------------------
108 LIB2TARGET=$(SLB)$/sdmod.lib
109 LIB2OBJFILES= \
110 $(SLO)$/sdmod1.obj \
111 $(SLO)$/sdmod2.obj \
112 $(SLO)$/sdmod.obj
114 LIB3TARGET=$(SLB)$/sdraw3.lib
115 LIB3FILES= \
116 $(SLB)$/view.lib \
117 $(SLB)$/app.lib \
118 $(SLB)$/docshell.lib \
119 $(SLB)$/dlg.lib \
120 $(SLB)$/core.lib \
121 $(SLB)$/undo.lib \
122 $(SLB)$/helper.lib \
123 $(SLB)$/xml.lib \
124 $(SLB)$/cgm.lib \
125 $(SLB)$/uitable.lib \
126 $(SLB)$/grf.lib
128 LIB5TARGET=$(SLB)$/sdraw3_2.lib
129 LIB5FILES= \
130 $(SLB)$/html.lib \
131 $(SLB)$/filter.lib \
132 $(SLB)$/unoidl.lib \
133 $(SLB)$/animui.lib \
134 $(SLB)$/accessibility.lib \
135 $(SLB)$/toolpanel.lib \
136 $(SLB)$/uitools.lib \
137 $(SLB)$/tpcontrols.lib
139 LIB6TARGET=$(SLB)$/sdraw3_3.lib
140 LIB6FILES= \
141 $(SLB)$/func.lib \
142 $(SLB)$/func_2.lib \
143 $(SLB)$/slsshell.lib \
144 $(SLB)$/slsmodel.lib \
145 $(SLB)$/slsview.lib \
146 $(SLB)$/slscontroller.lib \
147 $(SLB)$/slscache.lib \
148 $(SLB)$/slideshow.lib \
149 $(SLB)$/framework_configuration.lib \
150 $(SLB)$/framework_factories.lib \
151 $(SLB)$/framework_module.lib \
152 $(SLB)$/framework_tools.lib \
153 $(SLB)$/presenter.lib
155 # sdd
156 SHL2TARGET= sdd$(DLLPOSTFIX)
157 SHL2IMPLIB= sddimp
158 SHL2VERSIONMAP= sdd.map
159 SHL2DEF=$(MISC)$/$(SHL2TARGET).def
160 DEF2NAME= $(SHL2TARGET)
162 SHL2STDLIBS= \
163 $(SFX2LIB) \
164 $(SVXCORELIB) \
165 $(SVTOOLLIB) \
166 $(SVLLIB) \
167 $(VCLLIB) \
168 $(SOTLIB) \
169 $(TOOLSLIB) \
170 $(UCBHELPERLIB) \
171 $(CPPUHELPERLIB) \
172 $(CPPULIB) \
173 $(SALLIB)
175 SHL2OBJS= $(SLO)$/sddetect.obj \
176 $(SLO)$/detreg.obj
178 SHL2DEPN+= makefile.mk
180 # sdui
181 SHL4TARGET= sdui$(DLLPOSTFIX)
182 SHL4IMPLIB= sduiimp
183 SHL4VERSIONMAP= sdui.map
184 SHL4DEF=$(MISC)$/$(SHL4TARGET).def
185 DEF4NAME= $(SHL4TARGET)
186 SHL4LIBS= $(SLB)$/sdui_all.lib
188 LIB4TARGET= $(SLB)$/sdui_all.lib
189 LIB4FILES= \
190 $(SLB)$/sdui.lib \
191 $(SLB)$/func_ui.lib \
192 $(SLB)$/html_ui.lib
194 SHL4STDLIBS= \
195 $(ISDLIB) \
196 $(SVXCORELIB) \
197 $(SVXLIB) \
198 $(SFXLIB) \
199 $(BASEGFXLIB) \
200 $(SO2LIB) \
201 $(SVTOOLLIB) \
202 $(VCLLIB) \
203 $(SVLLIB) \
204 $(SOTLIB) \
205 $(UNOTOOLSLIB) \
206 $(TOOLSLIB) \
207 $(I18NISOLANGLIB) \
208 $(COMPHELPERLIB) \
209 $(CPPUHELPERLIB) \
210 $(CPPULIB) \
211 $(CANVASLIB) \
212 $(SALLIB)
214 .IF "$(GUI)$(COM)" == "WNTMSC"
215 .IF "$(ENABLE_PCH)" != ""
216 #target sd
217 SHL1OBJS += $(SLO)$/pchname.obj \
218 $(SLO)$/pchname_ex.obj
219 #target sdd
220 SHL2OBJS += $(SLO)$/pchname.obj \
221 $(SLO)$/pchname_ex.obj
222 #target sdui
223 SHL4OBJS += $(SLO)$/pchname.obj \
224 $(SLO)$/pchname_ex.obj
225 .ENDIF # "$(ENABLE_PCH)" != ""
226 .ENDIF # "$(GUI)$(COM)" == "WNTMSC"
228 # $(ISDLIB) is build in SHL1TARGET
229 .IF "$(GUI)" == "UNX"
230 SHL4DEPN=$(SHL1TARGETN)
231 SHL5DEPN=$(SHL1TARGETN)
232 .ELSE
233 SHL4DEPN=$(SHL1IMPLIBN)
234 SHL5DEPN=$(SHL1IMPLIBN)
235 .ENDIF
237 # ppt import/export library
238 SHL5TARGET = sdfilt$(DLLPOSTFIX)
239 SHL5IMPLIB = sdfilti
240 SHL5VERSIONMAP= sdfilt.map
241 SHL5DEF = $(MISC)$/$(SHL5TARGET).def
242 SHL5LIBS = $(SLB)$/ppt.lib $(SLB)$/eppt.lib
244 DEF5NAME=$(SHL5TARGET)
246 SHL5STDLIBS = $(ISDLIB) \
247 $(SVXCORELIB) \
248 $(SVXMSFILTERLIB) \
249 $(SFX2LIB) \
250 $(SVTOOLLIB) \
251 $(SOTLIB) \
252 $(GOODIESLIB) \
253 $(VCLLIB) \
254 $(SVLLIB) \
255 $(SOTLIB) \
256 $(UNOTOOLSLIB) \
257 $(TOOLSLIB) \
258 $(UCBHELPERLIB) \
259 $(CPPUHELPERLIB) \
260 $(CPPULIB) \
261 $(SALLIB) \
262 $(COMPHELPERLIB) \
263 $(I18NISOLANGLIB)
265 # --- Targets -------------------------------------------------------------
267 .INCLUDE : target.mk
269 $(MISC)$/$(SHL1TARGET).flt: makefile.mk
270 @echo ------------------------------
271 @echo Making: $@
272 @$(TYPE) sd.flt > $@