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 #*************************************************************************
36 ENABLE_EXCEPTIONS
=TRUE
39 # --- Settings -----------------------------------------------------
41 .INCLUDE
: settings.mk
42 .INCLUDE
: $(PRJ
)$/util
$/makefile.pmk
48 CFLAGS
+=-DENABLE_QUICKSTART_APPLET
52 .IF
"$(GUIBASE)"=="aqua"
53 CFLAGS
+=-DENABLE_QUICKSTART_APPLET
57 CDEFS
+=-DDLL_NAME
=libsfx
$(DLLPOSTFIX
)$(DLLPOST
)
58 .IF
"$(ENABLE_SYSTRAY_GTK)"=="TRUE"
59 PKGCONFIG_MODULES
=gtk
+-2.0
60 .INCLUDE
: pkg_config.mk
61 CFLAGS
+=$(PKGCONFIG_CFLAGS
)
62 CFLAGS
+=-DENABLE_QUICKSTART_APPLET
63 CDEFS
+=-DPLUGIN_NAME
=libqstart_gtk
$(DLLPOSTFIX
)$(DLLPOST
)
64 .ENDIF
# "$(ENABLE_SYSTRAY_GTK)"=="TRUE"
66 CDEFS
+=-DDLL_NAME
=sfx
$(DLLPOSTFIX
)$(DLLPOST
)
69 # --- Files --------------------------------------------------------
73 app.src newhelp.src dde.src
83 $(SLO
)$/appchild.obj \
94 $(SLO
)$/appbaslib.obj \
95 $(SLO
)$/childwin.obj \
96 $(SLO
)$/helpdispatch.obj \
97 $(SLO
)$/helpinterceptor.obj \
99 $(SLO
)$/imestatuswindow.obj \
100 $(SLO
)$/impldde.obj \
101 $(SLO
)$/linkmgr2.obj \
102 $(SLO
)$/linksrc.obj \
103 $(SLO
)$/lnkbase2.obj \
105 $(SLO
)$/newhelp.obj \
107 $(SLO
)$/sfxhelp.obj \
108 $(SLO
)$/sfxpicklist.obj \
109 $(SLO
)$/shutdownicon.obj \
110 $(SLO
)$/shutdowniconw32.obj \
111 $(SLO
)$/workwin.obj \
112 $(SLO
)$/xpackcreator.obj \
113 $(SLO
)$/fwkhelper.obj
116 SFX_OBJECTS
+= $(SLO
)$/shutdowniconOs2.obj
119 .IF
"$(GUIBASE)"=="aqua"
120 SFX_OBJECTS
+= $(SLO
)$/shutdowniconaqua.obj
123 SLOFILES
= $(SFX_OBJECTS
)
124 LIB1TARGET
= $(SLB
)$/$(TARGET
).lib
125 LIB1OBJFILES
= $(SFX_OBJECTS
)
127 .IF
"$(ENABLE_SYSTRAY_GTK)"=="TRUE"
128 QUICKSTART_OBJECTS
= $(SLO
)$/shutdowniconunx.obj
129 SLOFILES
+= $(QUICKSTART_OBJECTS
)
131 LIB2TARGET
= $(SLB
)$/quickstart.lib
132 LIB2OBJFILES
= $(QUICKSTART_OBJECTS
)
136 SLOFILES
+= $(SLO
)$/shutdowniconOs2.obj
140 $(SLO
)$/imagemgr.obj \
141 $(SLO
)$/appopen.obj \
142 $(SLO
)$/appmain.obj \
143 $(SLO
)$/appmisc.obj \
144 $(SLO
)$/appinit.obj \
146 $(SLO
)$/helpinterceptor.obj \
147 $(SLO
)$/newhelp.obj \
148 $(SLO
)$/sfxhelp.obj \
149 $(SLO
)$/shutdownicon.obj \
150 $(SLO
)$/shutdowniconw32.obj \
151 $(SLO
)$/sfxpicklist.obj \
152 $(SLO
)$/helpdispatch.obj \
153 $(SLO
)$/xpackcreator.obj
156 # --- Targets -------------------------------------------------------