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