Stop leaking all ScPostIt instances.
[LibreOffice.git] / sd / Library_sd.mk
blobf9b69c9a2370b17fd481f3decf4fd659819e964d
1 # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
3 # This file is part of the LibreOffice project.
5 # This Source Code Form is subject to the terms of the Mozilla Public
6 # License, v. 2.0. If a copy of the MPL was not distributed with this
7 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
10 $(eval $(call gb_Library_Library,sd))
12 $(eval $(call gb_Library_set_precompiled_header,sd,$(SRCDIR)/sd/inc/pch/precompiled_sd))
14 $(eval $(call gb_SdiTarget_SdiTarget,sd/sdi/sdslots,sd/sdi/sdslots))
16 $(eval $(call gb_SdiTarget_set_include,sd/sdi/sdslots,\
17 -I$(SRCDIR)/sd/inc \
18 -I$(SRCDIR)/sd/sdi \
19 -I$(SRCDIR)/svx/sdi \
20 -I$(SRCDIR)/sfx2/sdi \
21 $$(INCLUDE) \
24 $(eval $(call gb_SdiTarget_SdiTarget,sd/sdi/sdgslots,sd/sdi/sdgslots))
26 $(eval $(call gb_SdiTarget_set_include,sd/sdi/sdgslots,\
27 -I$(SRCDIR)/sd/inc \
28 -I$(SRCDIR)/sd/sdi \
29 -I$(SRCDIR)/svx/sdi \
30 -I$(SRCDIR)/sfx2/sdi \
31 $$(INCLUDE) \
34 $(eval $(call gb_Library_add_sdi_headers,sd,\
35 sd/sdi/sdgslots \
36 sd/sdi/sdslots \
39 $(eval $(call gb_Library_set_include,sd,\
40 $$(INCLUDE) \
41 -I$(SRCDIR)/sd/inc \
42 -I$(SRCDIR)/sd/source/ui/inc \
43 -I$(SRCDIR)/sd/source/ui/slidesorter/inc \
44 -I$(WORKDIR)/SdiTarget/sd/sdi \
47 $(eval $(call gb_Library_add_defs,sd,\
48 -DSD_DLLIMPLEMENTATION \
51 ifneq ($(strip $(dbg_anim_log)$(DBG_ANIM_LOG)),)
52 $(eval $(call gb_Library_add_defs,sd,\
53 $$(DEFS) \
54 -DDBG_ANIM_LOG \
56 endif
58 $(eval $(call gb_Library_use_custom_headers,sd,\
59 officecfg/registry \
62 $(eval $(call gb_Library_use_sdk_api,sd))
64 $(eval $(call gb_Library_use_libraries,sd,\
65 avmedia \
66 basegfx \
67 canvastools \
68 comphelper \
69 cppcanvas \
70 cppu \
71 cppuhelper \
72 drawinglayer \
73 editeng \
74 i18nlangtag \
75 msfilter \
76 oox \
77 sal \
78 salhelper \
79 sax \
80 sb \
81 sfx \
82 sot \
83 svl \
84 svt \
85 svxcore \
86 svx \
87 tk \
88 tl \
89 ucbhelper \
90 utl \
91 vcl \
92 xmlsecurity \
93 $(gb_UWINAPI) \
96 $(eval $(call gb_Library_use_externals,sd,\
97 bluez_bluetooth_headers \
98 boost_headers \
99 libxml2 \
100 dbus \
101 $(if $(ENABLE_AVAHI), \
102 avahi \
106 ifeq ($(OS),WNT)
107 $(eval $(call gb_Library_use_system_win32_libs,sd,\
108 uuid \
109 ws2_32 \
111 endif
113 $(eval $(call gb_Library_set_componentfile,sd,sd/util/sd))
115 $(eval $(call gb_Library_add_exception_objects,sd,\
116 sd/source/core/CustomAnimationCloner \
117 sd/source/core/CustomAnimationEffect \
118 sd/source/core/CustomAnimationPreset \
119 sd/source/core/EffectMigration \
120 sd/source/core/PageListWatcher \
121 sd/source/core/TransitionPreset \
122 sd/source/core/anminfo \
123 sd/source/core/annotations/Annotation \
124 sd/source/core/annotations/AnnotationEnumeration \
125 sd/source/core/cusshow \
126 sd/source/core/drawdoc \
127 sd/source/core/drawdoc2 \
128 sd/source/core/drawdoc3 \
129 sd/source/core/drawdoc4 \
130 sd/source/core/drawdoc_animations \
131 sd/source/core/pglink \
132 sd/source/core/sdattr \
133 sd/source/core/sdiocmpt \
134 sd/source/core/sdobjfac \
135 sd/source/core/sdpage \
136 sd/source/core/sdpage2 \
137 sd/source/core/sdpage_animations \
138 sd/source/core/shapelist \
139 sd/source/core/stlfamily \
140 sd/source/core/stlpool \
141 sd/source/core/stlsheet \
142 sd/source/core/text/textapi \
143 sd/source/core/typemap \
144 sd/source/core/undo/undofactory \
145 sd/source/core/undo/undomanager \
146 sd/source/core/undo/undoobjects \
147 sd/source/core/undoanim \
148 sd/source/filter/cgm/sdcgmfilter \
149 sd/source/filter/grf/sdgrffilter \
150 sd/source/filter/html/HtmlOptionsDialog \
151 sd/source/filter/html/buttonset \
152 sd/source/filter/html/htmlex \
153 sd/source/filter/html/sdhtmlfilter \
154 sd/source/filter/sdfilter \
155 sd/source/filter/sdpptwrp \
156 sd/source/filter/xml/sdtransform \
157 sd/source/filter/xml/sdxmlwrp \
158 sd/source/helper/simplereferencecomponent \
159 sd/source/ui/accessibility/AccessibleDocumentViewBase \
160 sd/source/ui/accessibility/AccessibleDrawDocumentView \
161 sd/source/ui/accessibility/AccessibleOutlineEditSource \
162 sd/source/ui/accessibility/AccessibleOutlineView \
163 sd/source/ui/accessibility/AccessiblePageShape \
164 sd/source/ui/accessibility/AccessiblePresentationGraphicShape \
165 sd/source/ui/accessibility/AccessiblePresentationOLEShape \
166 sd/source/ui/accessibility/AccessiblePresentationShape \
167 sd/source/ui/accessibility/AccessibleSlideSorterObject \
168 sd/source/ui/accessibility/AccessibleSlideSorterView \
169 sd/source/ui/accessibility/AccessibleViewForwarder \
170 sd/source/ui/accessibility/SdShapeTypes \
171 sd/source/ui/animations/CustomAnimationCreateDialog \
172 sd/source/ui/animations/CustomAnimationDialog \
173 sd/source/ui/animations/CustomAnimationList \
174 sd/source/ui/animations/CustomAnimationPane \
175 sd/source/ui/animations/STLPropertySet \
176 sd/source/ui/animations/SlideTransitionPane \
177 sd/source/ui/animations/motionpathtag \
178 sd/source/ui/annotations/annotationmanager \
179 sd/source/ui/annotations/annotationtag \
180 sd/source/ui/annotations/annotationwindow \
181 sd/source/ui/app/optsitem \
182 sd/source/ui/app/sddll \
183 sd/source/ui/app/sdmod \
184 sd/source/ui/app/sdmod1 \
185 sd/source/ui/app/sdmod2 \
186 sd/source/ui/app/sdpopup \
187 sd/source/ui/app/sdresid \
188 sd/source/ui/app/sdxfer \
189 sd/source/ui/app/tbxww \
190 sd/source/ui/app/tmplctrl \
191 sd/source/ui/controller/slidelayoutcontroller \
192 sd/source/ui/dlg/AnimationChildWindow \
193 sd/source/ui/dlg/LayerDialogChildWindow \
194 sd/source/ui/dlg/LayerDialogContent \
195 sd/source/ui/dlg/LayerTabBar \
196 sd/source/ui/dlg/NavigatorChildWindow \
197 sd/source/ui/dlg/PaneChildWindows \
198 sd/source/ui/dlg/PaneDockingWindow \
199 sd/source/ui/dlg/PaneShells \
200 sd/source/ui/dlg/SpellDialogChildWindow \
201 sd/source/ui/dlg/TemplateScanner \
202 sd/source/ui/dlg/animobjs \
203 sd/source/ui/dlg/assclass \
204 sd/source/ui/dlg/diactrl \
205 sd/source/ui/dlg/dlgctrls \
206 sd/source/ui/dlg/docprev \
207 sd/source/ui/dlg/filedlg \
208 sd/source/ui/dlg/gluectrl \
209 sd/source/ui/dlg/ins_paste \
210 sd/source/ui/dlg/layeroptionsdlg \
211 sd/source/ui/dlg/navigatr \
212 sd/source/ui/dlg/sdabstdlg \
213 sd/source/ui/dlg/sdtreelb \
214 sd/source/ui/dlg/unchss \
215 sd/source/ui/docshell/docshel2 \
216 sd/source/ui/docshell/docshel3 \
217 sd/source/ui/docshell/docshel4 \
218 sd/source/ui/docshell/docshell \
219 sd/source/ui/docshell/grdocsh \
220 sd/source/ui/docshell/sdclient \
221 sd/source/ui/framework/configuration/ChangeRequestQueue \
222 sd/source/ui/framework/configuration/ChangeRequestQueueProcessor \
223 sd/source/ui/framework/configuration/Configuration \
224 sd/source/ui/framework/configuration/ConfigurationClassifier \
225 sd/source/ui/framework/configuration/ConfigurationController \
226 sd/source/ui/framework/configuration/ConfigurationControllerBroadcaster \
227 sd/source/ui/framework/configuration/ConfigurationControllerResourceManager \
228 sd/source/ui/framework/configuration/ConfigurationTracer \
229 sd/source/ui/framework/configuration/ConfigurationUpdater \
230 sd/source/ui/framework/configuration/GenericConfigurationChangeRequest \
231 sd/source/ui/framework/configuration/ResourceFactoryManager \
232 sd/source/ui/framework/configuration/ResourceId \
233 sd/source/ui/framework/configuration/UpdateRequest \
234 sd/source/ui/framework/factories/BasicPaneFactory \
235 sd/source/ui/framework/factories/BasicToolBarFactory \
236 sd/source/ui/framework/factories/BasicViewFactory \
237 sd/source/ui/framework/factories/ChildWindowPane \
238 sd/source/ui/framework/factories/FrameWindowPane \
239 sd/source/ui/framework/factories/FullScreenPane \
240 sd/source/ui/framework/factories/Pane \
241 sd/source/ui/framework/factories/PresentationFactory \
242 sd/source/ui/framework/factories/ViewShellWrapper \
243 sd/source/ui/framework/module/CenterViewFocusModule \
244 sd/source/ui/framework/module/DrawModule \
245 sd/source/ui/framework/module/ImpressModule \
246 sd/source/ui/framework/module/ModuleController \
247 sd/source/ui/framework/module/PresentationModule \
248 sd/source/ui/framework/module/ResourceManager \
249 sd/source/ui/framework/module/ShellStackGuard \
250 sd/source/ui/framework/module/SlideSorterModule \
251 sd/source/ui/framework/module/ToolBarModule \
252 sd/source/ui/framework/module/ToolPanelModule \
253 sd/source/ui/framework/module/ViewTabBarModule \
254 sd/source/ui/framework/tools/FrameworkHelper \
255 sd/source/ui/func/bulmaper \
256 sd/source/ui/func/fuarea \
257 sd/source/ui/func/fubullet \
258 sd/source/ui/func/fuchar \
259 sd/source/ui/func/fucon3d \
260 sd/source/ui/func/fuconarc \
261 sd/source/ui/func/fuconbez \
262 sd/source/ui/func/fuconcs \
263 sd/source/ui/func/fuconnct \
264 sd/source/ui/func/fuconrec \
265 sd/source/ui/func/fuconstr \
266 sd/source/ui/func/fuconuno \
267 sd/source/ui/func/fucopy \
268 sd/source/ui/func/fucushow \
269 sd/source/ui/func/fudraw \
270 sd/source/ui/func/fudspord \
271 sd/source/ui/func/fuediglu \
272 sd/source/ui/func/fuexpand \
273 sd/source/ui/func/fuformatpaintbrush \
274 sd/source/ui/func/fuhhconv \
275 sd/source/ui/func/fuinsert \
276 sd/source/ui/func/fuinsfil \
277 sd/source/ui/func/fuline \
278 sd/source/ui/func/fulinend \
279 sd/source/ui/func/fulink \
280 sd/source/ui/func/fumeasur \
281 sd/source/ui/func/fumorph \
282 sd/source/ui/func/fuoaprms \
283 sd/source/ui/func/fuolbull \
284 sd/source/ui/func/fuoltext \
285 sd/source/ui/func/fuoutl \
286 sd/source/ui/func/fupage \
287 sd/source/ui/func/fuparagr \
288 sd/source/ui/func/fupoor \
289 sd/source/ui/func/fuprlout \
290 sd/source/ui/func/fuprobjs \
291 sd/source/ui/func/fuscale \
292 sd/source/ui/func/fusearch \
293 sd/source/ui/func/fusel \
294 sd/source/ui/func/fusldlg \
295 sd/source/ui/func/fusnapln \
296 sd/source/ui/func/fusumry \
297 sd/source/ui/func/futempl \
298 sd/source/ui/func/futext \
299 sd/source/ui/func/futhes \
300 sd/source/ui/func/futransf \
301 sd/source/ui/func/futxtatt \
302 sd/source/ui/func/fuvect \
303 sd/source/ui/func/fuzoom \
304 sd/source/ui/func/sdundo \
305 sd/source/ui/func/sdundogr \
306 sd/source/ui/func/smarttag \
307 sd/source/ui/func/undoback \
308 sd/source/ui/func/undoheaderfooter \
309 sd/source/ui/func/undolayer \
310 sd/source/ui/func/undopage \
311 sd/source/ui/func/unmovss \
312 sd/source/ui/func/unoaprms \
313 sd/source/ui/func/unprlout \
314 sd/source/ui/presenter/CanvasUpdateRequester \
315 sd/source/ui/presenter/PresenterCanvas \
316 sd/source/ui/presenter/PresenterHelper \
317 sd/source/ui/presenter/PresenterPreviewCache \
318 sd/source/ui/presenter/PresenterTextView \
319 sd/source/ui/presenter/SlideRenderer \
320 sd/source/ui/sidebar/AllMasterPagesSelector \
321 sd/source/ui/sidebar/CurrentMasterPagesSelector \
322 sd/source/ui/sidebar/CustomAnimationPanel \
323 sd/source/ui/sidebar/DocumentHelper \
324 sd/source/ui/sidebar/LayoutMenu \
325 sd/source/ui/sidebar/MasterPageContainer \
326 sd/source/ui/sidebar/MasterPageContainerFiller \
327 sd/source/ui/sidebar/MasterPageContainerProviders \
328 sd/source/ui/sidebar/MasterPageContainerQueue \
329 sd/source/ui/sidebar/MasterPageDescriptor \
330 sd/source/ui/sidebar/MasterPageObserver \
331 sd/source/ui/sidebar/MasterPagesSelector \
332 sd/source/ui/sidebar/NavigatorWrapper \
333 sd/source/ui/sidebar/PanelBase \
334 sd/source/ui/sidebar/PanelFactory \
335 sd/source/ui/sidebar/PreviewValueSet \
336 sd/source/ui/sidebar/RecentlyUsedMasterPages \
337 sd/source/ui/sidebar/RecentMasterPagesSelector \
338 sd/source/ui/sidebar/SlideTransitionPanel \
339 sd/source/ui/sidebar/TableDesignPanel \
340 sd/source/ui/slideshow/PaneHider \
341 sd/source/ui/slideshow/SlideShowRestarter \
342 sd/source/ui/slideshow/showwin \
343 sd/source/ui/slideshow/slideshow \
344 sd/source/ui/slideshow/slideshowimpl \
345 sd/source/ui/slideshow/slideshowviewimpl \
346 sd/source/ui/slidesorter/cache/SlsBitmapCache \
347 sd/source/ui/slidesorter/cache/SlsBitmapCompressor \
348 sd/source/ui/slidesorter/cache/SlsBitmapFactory \
349 sd/source/ui/slidesorter/cache/SlsCacheCompactor \
350 sd/source/ui/slidesorter/cache/SlsCacheConfiguration \
351 sd/source/ui/slidesorter/cache/SlsGenericPageCache \
352 sd/source/ui/slidesorter/cache/SlsPageCache \
353 sd/source/ui/slidesorter/cache/SlsPageCacheManager \
354 sd/source/ui/slidesorter/cache/SlsQueueProcessor \
355 sd/source/ui/slidesorter/cache/SlsRequestFactory \
356 sd/source/ui/slidesorter/cache/SlsRequestQueue \
357 sd/source/ui/slidesorter/controller/SlideSorterController \
358 sd/source/ui/slidesorter/controller/SlsAnimationFunction \
359 sd/source/ui/slidesorter/controller/SlsAnimator \
360 sd/source/ui/slidesorter/controller/SlsClipboard \
361 sd/source/ui/slidesorter/controller/SlsCurrentSlideManager \
362 sd/source/ui/slidesorter/controller/SlsDragAndDropContext \
363 sd/source/ui/slidesorter/controller/SlsFocusManager \
364 sd/source/ui/slidesorter/controller/SlsInsertionIndicatorHandler \
365 sd/source/ui/slidesorter/controller/SlsListener \
366 sd/source/ui/slidesorter/controller/SlsPageSelector \
367 sd/source/ui/slidesorter/controller/SlsProperties \
368 sd/source/ui/slidesorter/controller/SlsScrollBarManager \
369 sd/source/ui/slidesorter/controller/SlsSelectionFunction \
370 sd/source/ui/slidesorter/controller/SlsSelectionManager \
371 sd/source/ui/slidesorter/controller/SlsSelectionObserver \
372 sd/source/ui/slidesorter/controller/SlsSlotManager \
373 sd/source/ui/slidesorter/controller/SlsTransferableData \
374 sd/source/ui/slidesorter/controller/SlsVisibleAreaManager \
375 sd/source/ui/slidesorter/model/SlideSorterModel \
376 sd/source/ui/slidesorter/model/SlsPageDescriptor \
377 sd/source/ui/slidesorter/model/SlsPageEnumeration \
378 sd/source/ui/slidesorter/model/SlsPageEnumerationProvider \
379 sd/source/ui/slidesorter/model/SlsVisualState \
380 sd/source/ui/slidesorter/shell/SlideSorter \
381 sd/source/ui/slidesorter/shell/SlideSorterService \
382 sd/source/ui/slidesorter/shell/SlideSorterViewShell \
383 sd/source/ui/slidesorter/view/SlideSorterView \
384 sd/source/ui/slidesorter/view/SlsFontProvider \
385 sd/source/ui/slidesorter/view/SlsFramePainter \
386 sd/source/ui/slidesorter/view/SlsInsertAnimator \
387 sd/source/ui/slidesorter/view/SlsInsertionIndicatorOverlay \
388 sd/source/ui/slidesorter/view/SlsLayeredDevice \
389 sd/source/ui/slidesorter/view/SlsLayouter \
390 sd/source/ui/slidesorter/view/SlsPageObjectLayouter \
391 sd/source/ui/slidesorter/view/SlsPageObjectPainter \
392 sd/source/ui/slidesorter/view/SlsTheme \
393 sd/source/ui/slidesorter/view/SlsToolTip \
394 sd/source/ui/slidesorter/view/SlsViewCacheContext \
395 sd/source/ui/table/TableDesignPane \
396 sd/source/ui/table/tablefunction \
397 sd/source/ui/table/tableobjectbar \
398 sd/source/ui/tools/AsynchronousCall \
399 sd/source/ui/tools/ConfigurationAccess \
400 sd/source/ui/tools/EventMultiplexer \
401 sd/source/ui/tools/IconCache \
402 sd/source/ui/tools/IdleDetection \
403 sd/source/ui/tools/PreviewRenderer \
404 sd/source/ui/tools/PropertySet \
405 sd/source/ui/tools/SdGlobalResourceContainer \
406 sd/source/ui/tools/SlotStateListener \
407 sd/source/ui/tools/TimerBasedTaskExecution \
408 sd/source/ui/unoidl/DrawController \
409 sd/source/ui/unoidl/SdUnoDrawView \
410 sd/source/ui/unoidl/SdUnoOutlineView \
411 sd/source/ui/unoidl/SdUnoSlideView \
412 sd/source/ui/unoidl/UnoDocumentSettings \
413 sd/source/ui/unoidl/facreg \
414 sd/source/ui/unoidl/randomnode \
415 sd/source/ui/unoidl/unocpres \
416 sd/source/ui/unoidl/unodoc \
417 sd/source/ui/unoidl/unolayer \
418 sd/source/ui/unoidl/unomodel \
419 sd/source/ui/unoidl/unomodule \
420 sd/source/ui/unoidl/unoobj \
421 sd/source/ui/unoidl/unopage \
422 sd/source/ui/unoidl/unopback \
423 sd/source/ui/unoidl/unopool \
424 sd/source/ui/unoidl/unosrch \
425 sd/source/ui/unoidl/unowcntr \
426 sd/source/ui/view/DocumentRenderer \
427 sd/source/ui/view/FormShellManager \
428 sd/source/ui/view/GraphicObjectBar \
429 sd/source/ui/view/GraphicViewShellBase \
430 sd/source/ui/view/ImpressViewShellBase \
431 sd/source/ui/view/MediaObjectBar \
432 sd/source/ui/view/OutlineViewShellBase \
433 sd/source/ui/view/Outliner \
434 sd/source/ui/view/OutlinerIterator \
435 sd/source/ui/view/PresentationViewShellBase \
436 sd/source/ui/view/SlideSorterViewShellBase \
437 sd/source/ui/view/ToolBarManager \
438 sd/source/ui/view/ViewClipboard \
439 sd/source/ui/view/ViewShellBase \
440 sd/source/ui/view/ViewShellHint \
441 sd/source/ui/view/ViewShellImplementation \
442 sd/source/ui/view/ViewShellManager \
443 sd/source/ui/view/ViewTabBar \
444 sd/source/ui/view/WindowUpdater \
445 sd/source/ui/view/clview \
446 sd/source/ui/view/drawview \
447 sd/source/ui/view/drbezob \
448 sd/source/ui/view/drtxtob \
449 sd/source/ui/view/drtxtob1 \
450 sd/source/ui/view/drviews1 \
451 sd/source/ui/view/drviews2 \
452 sd/source/ui/view/drviews3 \
453 sd/source/ui/view/drviews4 \
454 sd/source/ui/view/drviews5 \
455 sd/source/ui/view/drviews6 \
456 sd/source/ui/view/drviews7 \
457 sd/source/ui/view/drviews8 \
458 sd/source/ui/view/drviews9 \
459 sd/source/ui/view/drviewsa \
460 sd/source/ui/view/drviewsb \
461 sd/source/ui/view/drviewsc \
462 sd/source/ui/view/drviewsd \
463 sd/source/ui/view/drviewse \
464 sd/source/ui/view/drviewsf \
465 sd/source/ui/view/drviewsg \
466 sd/source/ui/view/drviewsh \
467 sd/source/ui/view/drviewsi \
468 sd/source/ui/view/drviewsj \
469 sd/source/ui/view/drvwshrg \
470 sd/source/ui/view/frmview \
471 sd/source/ui/view/grviewsh \
472 sd/source/ui/view/outlnvs2 \
473 sd/source/ui/view/outlnvsh \
474 sd/source/ui/view/outlview \
475 sd/source/ui/view/presvish \
476 sd/source/ui/view/sdruler \
477 sd/source/ui/view/sdview \
478 sd/source/ui/view/sdview2 \
479 sd/source/ui/view/sdview3 \
480 sd/source/ui/view/sdview4 \
481 sd/source/ui/view/sdview5 \
482 sd/source/ui/view/sdwindow \
483 sd/source/ui/view/tabcontr \
484 sd/source/ui/view/unmodpg \
485 sd/source/ui/view/viewoverlaymanager \
486 sd/source/ui/view/viewshe2 \
487 sd/source/ui/view/viewshe3 \
488 sd/source/ui/view/viewshel \
489 sd/source/ui/view/zoomlist \
492 ifeq ($(ENABLE_SDREMOTE),TRUE)
493 $(eval $(call gb_Library_add_exception_objects,sd,\
494 sd/source/ui/remotecontrol/BufferedStreamSocket \
495 sd/source/ui/remotecontrol/Communicator \
496 sd/source/ui/remotecontrol/ImagePreparer \
497 sd/source/ui/remotecontrol/Server \
498 sd/source/ui/remotecontrol/Receiver \
499 sd/source/ui/remotecontrol/Listener \
500 sd/source/ui/remotecontrol/Transmitter \
503 ifeq ($(OS),MACOSX)
504 $(eval $(call gb_Library_add_objcxxobjects,sd,\
505 sd/source/ui/remotecontrol/DiscoveryService \
506 sd/source/ui/remotecontrol/OSXNetworkService \
509 else # OS!=MACSOX
511 ifeq ($(ENABLE_AVAHI),TRUE)
512 $(eval $(call gb_Library_add_exception_objects,sd,\
513 sd/source/ui/remotecontrol/AvahiNetworkService \
515 endif # ENABLE_AVAHI=TRUE
517 $(eval $(call gb_Library_add_exception_objects,sd,\
518 sd/source/ui/remotecontrol/DiscoveryService \
521 ifeq ($(OS),WNT)
523 $(eval $(call gb_Library_add_exception_objects,sd,\
524 sd/source/ui/remotecontrol/WINNetworkService \
527 $(eval $(call gb_Library_add_cobjects,sd,\
528 sd/source/ui/remotecontrol/mDNSResponder/DebugServices \
529 sd/source/ui/remotecontrol/mDNSResponder/dnssd_clientlib \
530 sd/source/ui/remotecontrol/mDNSResponder/dnssd_clientstub \
531 sd/source/ui/remotecontrol/mDNSResponder/dnssd_ipc \
532 sd/source/ui/remotecontrol/mDNSResponder/GenLinkedList \
533 sd/source/ui/remotecontrol/mDNSResponder/dllmain \
536 endif # OS=WNT
538 endif # OS!=MACOSX
540 $(eval $(call gb_Library_add_defs,sd,\
541 -DENABLE_SDREMOTE \
544 ifeq ($(ENABLE_SDREMOTE_BLUETOOTH),TRUE)
546 ifneq ($(OS),MACOSX)
548 $(eval $(call gb_Library_add_exception_objects,sd,\
549 sd/source/ui/remotecontrol/BluetoothServer \
552 else # OS!=MACOSX
554 $(eval $(call gb_Library_add_objcxxobjects,sd,\
555 sd/source/ui/remotecontrol/BluetoothServer \
556 sd/source/ui/remotecontrol/OSXBluetooth \
559 $(eval $(call gb_Library_add_libs,sd,\
560 -lobjc \
563 $(eval $(call gb_Library_use_system_darwin_frameworks,sd,\
564 Foundation \
565 IOBluetooth \
568 endif # OS!=MACOSX
570 $(eval $(call gb_Library_add_defs,sd,\
571 -DENABLE_SDREMOTE_BLUETOOTH \
574 endif # ENABLE_SDREMOTE_BLUETOOTH=TRUE
576 endif # ENABLE_SDREMOTE=TRUE
578 # vim: set noet sw=4 ts=4: