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 $(SOLARCOMMONRESDIR
)$/sfx.srs
62 SHL1TARGET
= sd
$(DLLPOSTFIX
)
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"
106 # --- Linken der Applikation ---------------------------------------
108 LIB2TARGET
=$(SLB
)$/sdmod.lib
114 LIB3TARGET
=$(SLB
)$/sdraw3.lib
118 $(SLB
)$/docshell.lib \
125 $(SLB
)$/uitable.lib \
128 LIB5TARGET
=$(SLB
)$/sdraw3_2.lib
134 $(SLB
)$/accessibility.lib \
135 $(SLB
)$/toolpanel.lib \
136 $(SLB
)$/uitools.lib \
137 $(SLB
)$/tpcontrols.lib
139 LIB6TARGET
=$(SLB
)$/sdraw3_3.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
156 SHL2TARGET
= sdd
$(DLLPOSTFIX
)
158 SHL2VERSIONMAP
= sdd.map
159 SHL2DEF
=$(MISC
)$/$(SHL2TARGET
).def
160 DEF2NAME
= $(SHL2TARGET
)
175 SHL2OBJS
= $(SLO
)$/sddetect.obj \
178 SHL2DEPN
+= makefile.mk
181 SHL4TARGET
= sdui
$(DLLPOSTFIX
)
183 SHL4VERSIONMAP
= sdui.map
184 SHL4DEF
=$(MISC
)$/$(SHL4TARGET
).def
185 DEF4NAME
= $(SHL4TARGET
)
186 SHL4LIBS
= $(SLB
)$/sdui_all.lib
188 LIB4TARGET
= $(SLB
)$/sdui_all.lib
191 $(SLB
)$/func_ui.lib \
214 .IF
"$(GUI)$(COM)" == "WNTMSC"
215 .IF
"$(ENABLE_PCH)" != ""
217 SHL1OBJS
+= $(SLO
)$/pchname.obj \
218 $(SLO
)$/pchname_ex.obj
220 SHL2OBJS
+= $(SLO
)$/pchname.obj \
221 $(SLO
)$/pchname_ex.obj
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
)
233 SHL4DEPN
=$(SHL1IMPLIBN
)
234 SHL5DEPN
=$(SHL1IMPLIBN
)
237 # ppt import/export library
238 SHL5TARGET
= sdfilt
$(DLLPOSTFIX
)
240 SHL5VERSIONMAP
= sdfilt.map
241 SHL5DEF
= $(MISC
)$/$(SHL5TARGET
).def
242 SHL5LIBS
= $(SLB
)$/ppt.lib
$(SLB
)$/eppt.lib
244 DEF5NAME
=$(SHL5TARGET
)
246 SHL5STDLIBS
= $(ISDLIB
) \
265 # --- Targets -------------------------------------------------------------
269 $(MISC
)$/$(SHL1TARGET
).flt
: makefile.mk
270 @echo
------------------------------