1 #*************************************************************************
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 # Copyright 2000, 2011 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 $(eval
$(call gb_Library_Library
,sfx
))
30 $(eval
$(call gb_Library_add_package_headers
,sfx
,\
35 $(eval
$(call gb_Library_add_precompiled_header
,sfx
,$(SRCDIR
)/sfx2
/inc
/pch
/precompiled_sfx2
))
37 $(eval
$(call gb_Library_add_sdi_headers
,sfx
,sfx2
/sdi
/sfxslots
))
39 $(eval
$(call gb_Library_set_componentfile
,sfx
,sfx2
/util
/sfx
))
41 $(eval
$(call gb_Library_set_include
,sfx
,\
42 -I
$(SRCDIR
)/sfx2
/inc \
43 -I
$(SRCDIR
)/sfx2
/inc
/sfx2 \
44 -I
$(SRCDIR
)/sfx2
/source
/inc \
45 -I
$(SRCDIR
)/sfx2
/inc
/pch \
46 -I
$(WORKDIR
)/SdiTarget
/sfx2
/sdi \
49 -I
$(OUTDIR
)/inc
/offuh \
54 $(eval
$(call gb_Library_set_defs
,sfx
,\
56 -DSFX2_DLLIMPLEMENTATION \
59 $(eval
$(call gb_Library_add_linked_libs
,sfx
,\
82 $(eval
$(call gb_Library_add_exception_objects
,sfx
,\
83 sfx2
/source
/appl
/app \
84 sfx2
/source
/appl
/appbas \
85 sfx2
/source
/appl
/appbaslib \
86 sfx2
/source
/appl
/appcfg \
87 sfx2
/source
/appl
/appchild \
88 sfx2
/source
/appl
/appdata \
89 sfx2
/source
/appl
/appdde \
90 sfx2
/source
/appl
/appinit \
91 sfx2
/source
/appl
/appmain \
92 sfx2
/source
/appl
/appmisc \
93 sfx2
/source
/appl
/appopen \
94 sfx2
/source
/appl
/appquit \
95 sfx2
/source
/appl
/appreg \
96 sfx2
/source
/appl
/appserv \
97 sfx2
/source
/appl
/appuno \
98 sfx2
/source
/appl
/childwin \
99 sfx2
/source
/appl
/fileobj \
100 sfx2
/source
/appl
/fwkhelper \
101 sfx2
/source
/appl
/helpdispatch \
102 sfx2
/source
/appl
/helpinterceptor \
103 sfx2
/source
/appl
/imagemgr \
104 sfx2
/source
/appl
/imestatuswindow \
105 sfx2
/source
/appl
/impldde \
106 sfx2
/source
/appl
/linkmgr2 \
107 sfx2
/source
/appl
/linksrc \
108 sfx2
/source
/appl
/lnkbase2 \
109 sfx2
/source
/appl
/module \
110 sfx2
/source
/appl
/newhelp \
111 sfx2
/source
/appl
/opengrf \
112 sfx2
/source
/appl
/sfxhelp \
113 sfx2
/source
/appl
/sfxpicklist \
114 sfx2
/source
/appl
/shutdownicon \
115 sfx2
/source
/appl
/workwin \
116 sfx2
/source
/appl
/xpackcreator \
117 sfx2
/source
/bastyp
/bitset \
118 sfx2
/source
/bastyp
/fltfnc \
119 sfx2
/source
/bastyp
/fltlst \
120 sfx2
/source
/bastyp
/frmhtml \
121 sfx2
/source
/bastyp
/frmhtmlw \
122 sfx2
/source
/bastyp
/helper \
123 sfx2
/source
/bastyp
/mieclip \
124 sfx2
/source
/bastyp
/minarray \
125 sfx2
/source
/bastyp
/misc \
126 sfx2
/source
/bastyp
/progress \
127 sfx2
/source
/bastyp
/sfxhtml \
128 sfx2
/source
/bastyp
/sfxresid \
129 sfx2
/source
/config
/evntconf \
130 sfx2
/source
/control
/bindings \
131 sfx2
/source
/control
/ctrlitem \
132 sfx2
/source
/control
/dispatch \
133 sfx2
/source
/control
/macro \
134 sfx2
/source
/control
/minfitem \
135 sfx2
/source
/control
/msg \
136 sfx2
/source
/control
/msgpool \
137 sfx2
/source
/control
/objface \
138 sfx2
/source
/control
/querystatus \
139 sfx2
/source
/control
/request \
140 sfx2
/source
/control
/sfxstatuslistener \
141 sfx2
/source
/control
/shell \
142 sfx2
/source
/control
/sorgitm \
143 sfx2
/source
/control
/statcach \
144 sfx2
/source
/control
/unoctitm \
145 sfx2
/source
/dialog
/alienwarn \
146 sfx2
/source
/dialog
/basedlgs \
147 sfx2
/source
/dialog
/dinfdlg \
148 sfx2
/source
/dialog
/dinfedt \
149 sfx2
/source
/dialog
/dockwin \
150 sfx2
/source
/dialog
/filedlghelper \
151 sfx2
/source
/dialog
/filtergrouping \
152 sfx2
/source
/dialog
/intro \
153 sfx2
/source
/dialog
/itemconnect \
154 sfx2
/source
/dialog
/mailmodel \
155 sfx2
/source
/dialog
/mgetempl \
156 sfx2
/source
/dialog
/navigat \
157 sfx2
/source
/dialog
/newstyle \
158 sfx2
/source
/dialog
/partwnd \
159 sfx2
/source
/dialog
/passwd \
160 sfx2
/source
/dialog
/printopt \
161 sfx2
/source
/dialog
/recfloat \
162 sfx2
/source
/dialog
/securitypage \
163 sfx2
/source
/dialog
/sfxdlg \
164 sfx2
/source
/dialog
/splitwin \
165 sfx2
/source
/dialog
/srchdlg \
166 sfx2
/source
/dialog
/styfitem \
167 sfx2
/source
/dialog
/styledlg \
168 sfx2
/source
/dialog
/tabdlg \
169 sfx2
/source
/dialog
/taskpane \
170 sfx2
/source
/dialog
/templdlg \
171 sfx2
/source
/dialog
/titledockwin \
172 sfx2
/source
/dialog
/tplcitem \
173 sfx2
/source
/dialog
/tplpitem \
174 sfx2
/source
/dialog
/versdlg \
175 sfx2
/source
/doc
/DocumentMetadataAccess \
176 sfx2
/source
/doc
/Metadatable \
177 sfx2
/source
/doc
/QuerySaveDocument \
178 sfx2
/source
/doc
/SfxDocumentMetaData \
179 sfx2
/source
/doc
/docfac \
180 sfx2
/source
/doc
/docfile \
181 sfx2
/source
/doc
/docfilt \
182 sfx2
/source
/doc
/docinf \
183 sfx2
/source
/doc
/docinsert \
184 sfx2
/source
/doc
/docmacromode \
185 sfx2
/source
/doc
/docstoragemodifylistener \
186 sfx2
/source
/doc
/doctdlg \
187 sfx2
/source
/doc
/doctempl \
188 sfx2
/source
/doc
/doctemplates \
189 sfx2
/source
/doc
/doctemplateslocal \
190 sfx2
/source
/doc
/docvor \
191 sfx2
/source
/doc
/frmdescr \
192 sfx2
/source
/doc
/graphhelp \
193 sfx2
/source
/doc
/guisaveas \
194 sfx2
/source
/doc
/iframe \
195 sfx2
/source
/doc
/new \
196 sfx2
/source
/doc
/objcont \
197 sfx2
/source
/doc
/objembed \
198 sfx2
/source
/doc
/objitem \
199 sfx2
/source
/doc
/objmisc \
200 sfx2
/source
/doc
/objserv \
201 sfx2
/source
/doc
/objstor \
202 sfx2
/source
/doc
/objuno \
203 sfx2
/source
/doc
/objxtor \
204 sfx2
/source
/doc
/oleprops \
205 sfx2
/source
/doc
/ownsubfilterservice \
206 sfx2
/source
/doc
/plugin \
207 sfx2
/source
/doc
/printhelper \
208 sfx2
/source
/doc
/querytemplate \
209 sfx2
/source
/doc
/docundomanager \
210 sfx2
/source
/doc
/sfxbasemodel \
211 sfx2
/source
/doc
/sfxmodelfactory \
212 sfx2
/source
/doc
/syspath \
213 sfx2
/source
/explorer
/nochaos \
214 sfx2
/source
/inet
/inettbc \
215 sfx2
/source
/menu
/mnuitem \
216 sfx2
/source
/menu
/mnumgr \
217 sfx2
/source
/menu
/objmnctl \
218 sfx2
/source
/menu
/thessubmenu \
219 sfx2
/source
/menu
/virtmenu \
220 sfx2
/source
/notify
/eventsupplier \
221 sfx2
/source
/notify
/hintpost \
222 sfx2
/source
/statbar
/stbitem \
223 sfx2
/source
/toolbox
/imgmgr \
224 sfx2
/source
/toolbox
/tbxitem \
225 sfx2
/source
/view
/frame \
226 sfx2
/source
/view
/frame2 \
227 sfx2
/source
/view
/frmload \
228 sfx2
/source
/view
/ipclient \
229 sfx2
/source
/view
/orgmgr \
230 sfx2
/source
/view
/printer \
231 sfx2
/source
/view
/sfxbasecontroller \
232 sfx2
/source
/view
/userinputinterception \
233 sfx2
/source
/view
/viewfac \
234 sfx2
/source
/view
/viewfrm \
235 sfx2
/source
/view
/viewfrm2 \
236 sfx2
/source
/view
/viewprn \
237 sfx2
/source
/view
/viewsh \
240 $(eval
$(call gb_SdiTarget_SdiTarget
,sfx2
/sdi
/sfxslots
,sfx2
/sdi
/sfx
))
242 $(eval
$(call gb_SdiTarget_set_include
,sfx2
/sdi
/sfxslots
,\
244 -I
$(SRCDIR
)/sfx2
/inc
/sfx2 \
245 -I
$(SRCDIR
)/sfx2
/inc \
246 -I
$(SRCDIR
)/sfx2
/sdi \
249 ifeq ($(OS
),$(filter WNT MACOSX
,$(OS
)))
250 $(eval
$(call gb_Library_set_defs
,sfx
,\
252 -DENABLE_QUICKSTART_APPLET \
257 $(eval
$(call gb_Library_add_exception_objects
,sfx
,\
258 sfx2
/source
/appl
/shutdowniconOs2.ob \
262 $(eval
$(call gb_Library_add_objcxxobjects
,sfx
,\
263 sfx2
/source
/appl
/shutdowniconaqua \
265 $(eval
$(call gb_Library_add_linked_libs
,sfx
,\
273 # workaround: disable PCH for these objects to avoid redeclaration
274 # errors - needs to be fixed in module tools
275 $(eval
$(call gb_Library_add_cxxobjects
,sfx
,\
276 sfx2
/source
/appl
/shutdowniconw32 \
277 sfx2
/source
/doc
/sfxacldetect \
278 sfx2
/source
/doc
/syspathw32 \
279 , $(gb_LinkTarget_EXCEPTIONFLAGS
) $(gb_COMPILEROPTFLAGS
) -nologo
-UPRECOMPILED_HEADERS \
282 $(eval
$(call gb_Library_add_linked_libs
,sfx
,\
293 $(eval
$(call gb_Library_add_cxxobjects
,sfx
,\
294 sfx2
/source
/appl
/shutdowniconw32 \
295 sfx2
/source
/doc
/sfxacldetect \
296 , $(gb_LinkTarget_EXCEPTIONFLAGS
) $(gb_COMPILEROPTFLAGS
) \
300 # vim: set noet sw=4 ts=4: