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 $
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 #*************************************************************************
40 # --- Settings -----------------------------------------------------------
42 .INCLUDE
: settings.mk
44 # --- Resources ----------------------------------------------------
47 RESLIB1IMAGES
=$(PRJ
)$/res
/imagelst
$(PRJ
)$/res
53 $(SRS
)$/accessibility.srs \
56 $(SRS
)$/slideshow.srs \
58 $(SRS
)$/uiannotations.srs \
59 $(SOLARCOMMONRESDIR
)$/sfx.srs
63 SHL1TARGET
= sd
$(DLLPOSTFIX
)
95 SHL1LIBS
= $(LIB3TARGET
) $(LIB5TARGET
) $(LIB6TARGET
)
96 SHL1DEPN
+= makefile.mk
98 SHL1DEF
= $(MISC
)$/$(SHL1TARGET
).def
99 DEF1DEPN
=$(MISC
)$/$(SHL1TARGET
).flt
100 DEF1NAME
=$(SHL1TARGET
)
101 DEFLIB1NAME
= $(TARGET
) $(LIB5TARGET
:b
) $(LIB6TARGET
:b
)
103 .IF
"$(GUI)" == "WNT"
107 # --- Linken der Applikation ---------------------------------------
109 LIB2TARGET
=$(SLB
)$/sdmod.lib
115 LIB3TARGET
=$(SLB
)$/sdraw3.lib
119 $(SLB
)$/docshell.lib \
123 $(SLB
)$/annotations.lib \
128 $(SLB
)$/uitable.lib \
129 $(SLB
)$/uiannotations.lib\
132 LIB5TARGET
=$(SLB
)$/sdraw3_2.lib
138 $(SLB
)$/accessibility.lib \
139 $(SLB
)$/toolpanel.lib \
140 $(SLB
)$/uitools.lib \
141 $(SLB
)$/tpcontrols.lib
143 LIB6TARGET
=$(SLB
)$/sdraw3_3.lib
147 $(SLB
)$/slsshell.lib \
148 $(SLB
)$/slsmodel.lib \
149 $(SLB
)$/slsview.lib \
150 $(SLB
)$/slscontroller.lib \
151 $(SLB
)$/slscache.lib \
152 $(SLB
)$/slideshow.lib \
153 $(SLB
)$/framework_configuration.lib \
154 $(SLB
)$/framework_factories.lib \
155 $(SLB
)$/framework_module.lib \
156 $(SLB
)$/framework_tools.lib \
157 $(SLB
)$/presenter.lib
160 SHL2TARGET
= sdd
$(DLLPOSTFIX
)
162 SHL2VERSIONMAP
= sdd.map
163 SHL2DEF
=$(MISC
)$/$(SHL2TARGET
).def
164 DEF2NAME
= $(SHL2TARGET
)
179 SHL2OBJS
= $(SLO
)$/sddetect.obj \
182 SHL2DEPN
+= makefile.mk
185 SHL4TARGET
= sdui
$(DLLPOSTFIX
)
187 SHL4VERSIONMAP
= sdui.map
188 SHL4DEF
=$(MISC
)$/$(SHL4TARGET
).def
189 DEF4NAME
= $(SHL4TARGET
)
190 SHL4LIBS
= $(SLB
)$/sdui_all.lib
192 LIB4TARGET
= $(SLB
)$/sdui_all.lib
195 $(SLB
)$/func_ui.lib \
218 .IF
"$(GUI)$(COM)" == "WNTMSC"
219 .IF
"$(ENABLE_PCH)" != ""
221 SHL1OBJS
+= $(SLO
)$/pchname.obj \
222 $(SLO
)$/pchname_ex.obj
224 SHL2OBJS
+= $(SLO
)$/pchname.obj \
225 $(SLO
)$/pchname_ex.obj
227 SHL4OBJS
+= $(SLO
)$/pchname.obj \
228 $(SLO
)$/pchname_ex.obj
229 .ENDIF
# "$(ENABLE_PCH)" != ""
230 .ENDIF
# "$(GUI)$(COM)" == "WNTMSC"
232 # $(ISDLIB) is build in SHL1TARGET
233 .IF
"$(GUI)" == "UNX"
234 SHL4DEPN
=$(SHL1TARGETN
)
235 SHL5DEPN
=$(SHL1TARGETN
)
237 SHL4DEPN
=$(SHL1IMPLIBN
)
238 SHL5DEPN
=$(SHL1IMPLIBN
)
241 # ppt import/export library
242 SHL5TARGET
= sdfilt
$(DLLPOSTFIX
)
244 SHL5VERSIONMAP
= sdfilt.map
245 SHL5DEF
= $(MISC
)$/$(SHL5TARGET
).def
246 SHL5LIBS
= $(SLB
)$/ppt.lib
$(SLB
)$/eppt.lib
248 DEF5NAME
=$(SHL5TARGET
)
250 SHL5STDLIBS
= $(ISDLIB
) \
269 # --- Targets -------------------------------------------------------------
273 $(MISC
)$/$(SHL1TARGET
).flt
: makefile.mk
274 @echo
------------------------------