coverity#1242771 Unused value
[LibreOffice.git] / Repository.mk
blob16189e42f9ab61e8a47a1751d5abab21ddbff6e8
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/.
9 # This file incorporates work covered by the following license notice:
11 # Licensed to the Apache Software Foundation (ASF) under one or more
12 # contributor license agreements. See the NOTICE file distributed
13 # with this work for additional information regarding copyright
14 # ownership. The ASF licenses this file to you under the Apache
15 # License, Version 2.0 (the "License"); you may not use this file
16 # except in compliance with the License. You may obtain a copy of
17 # the License at http://www.apache.org/licenses/LICENSE-2.0 .
20 $(eval $(call gb_Helper_register_executables,NONE, \
21 HelpIndexer \
22 HelpLinker \
23 bestreversemap \
24 cfgex \
25 concat-deps \
26 cpp \
27 cppunittester \
28 $(if $(filter MSC,$(COM)), \
29 gcc-wrapper \
30 g++-wrapper \
31 ) \
32 gencoll_rule \
33 genconv_dict \
34 gendict \
35 genindex_data \
36 helpex \
37 idxdict \
38 langsupport \
39 $(if $(ENABLE_TELEPATHY),liboapprover) \
40 $(if $(filter IOS,$(OS)),LibreOffice) \
41 libtest \
42 lngconvex \
43 localize \
44 makedepend \
45 mork_helper \
46 osl_process_child \
47 pdf2xml \
48 pdfunzip \
49 pocheck \
50 propex \
51 regsvrex \
52 rsc \
53 saxparser \
54 sp2bv \
55 svg2odf \
56 svidl \
57 transex3 \
58 treex \
59 uiex \
60 ulfex \
61 unoidl-check \
62 unoidl-read \
63 unoidl-write \
64 xrmex \
65 $(if $(filter-out ANDROID IOS WNT,$(OS)), \
66 svdemo \
67 svptest \
68 svpclient \
69 pixelctl ) \
72 $(eval $(call gb_Helper_register_executables_for_install,SDK,sdk, \
73 $(if $(filter MSC,$(COM)),climaker) \
74 cppumaker \
75 idlc \
76 javamaker \
77 regcompare \
78 $(if $(filter UCPP,$(BUILD_TYPE)),ucpp) \
79 $(if $(filter ODK,$(BUILD_TYPE)),unoapploader) \
80 $(if $(filter ODK,$(BUILD_TYPE)),uno-skeletonmaker) \
83 $(eval $(call gb_Helper_register_executables_for_install,OOO,ooo, \
84 gengal \
87 $(eval $(call gb_Helper_register_executables,OOO, \
88 $(if $(filter LINUX,$(OS)), tilebench) \
89 $(call gb_Helper_optional,CRASHREP,crashrep) \
90 gnome-open-url.bin \
91 $(if $(filter-out ANDROID IOS MACOSX WNT,$(OS)),oosplash) \
92 $(if $(ENABLE_NPAPI_FROM_BROWSER),pluginapp.bin) \
93 soffice_bin \
94 $(if $(filter $(GUIBASE)$(ENABLE_GTK),unxTRUE), \
95 xid-fullscreen-on-all-monitors \
96 ) \
97 $(if $(filter $(GUIBASE)$(ENABLE_TDE),unxTRUE), \
98 tdefilepicker \
99 ) \
100 uri-encode \
101 ui-previewer \
102 vcldemo \
103 tiledrendering \
104 $(if $(and $(ENABLE_GTK), $(filter LINUX,$(OS))), gtktiledviewer) \
105 $(if $(filter DESKTOP,$(BUILD_TYPE)),unopkg_bin) \
106 xpdfimport \
107 $(if $(filter WNT,$(OS)), \
108 crashrep_com \
109 odbcconfig \
110 python \
111 quickstart \
112 sbase \
113 scalc \
114 sdraw \
115 senddoc \
116 simpress \
117 soffice \
118 smath \
119 sweb \
120 swriter \
121 unoinfo \
122 unopkg \
123 unopkg_com \
127 $(eval $(call gb_Helper_register_executables_for_install,UREBIN,ure,\
128 $(if $(and $(ENABLE_JAVA),$(filter-out MACOSX WNT,$(OS)),$(filter DESKTOP,$(BUILD_TYPE))),javaldx) \
129 regmerge \
130 regview \
131 $(if $(filter DESKTOP,$(BUILD_TYPE)),uno) \
134 ifneq (,$(filter ANDROID IOS,$(OS)))
136 $(eval $(call gb_Helper_register_libraries,PLAINLIBS_OOO, \
137 $(if $(filter $(OS),ANDROID), \
138 lo-bootstrap \
142 $(eval $(call gb_Helper_register_libraries,OOOLIBS, \
143 libotouch \
146 endif
148 ifeq ($(OS),MACOSX)
150 $(eval $(call gb_Helper_register_libraries,PLAINLIBS_NONE, \
151 OOoSpotlightImporter \
154 endif
156 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,base, \
157 abp \
158 dbp \
159 dbu \
162 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,calc, \
163 analysis \
164 $(call gb_Helper_optional,DBCONNECTIVITY,calc) \
165 date \
166 pricing \
167 sc \
168 scd \
169 scfilt \
170 scui \
171 wpftcalc \
172 $(if $(ENABLE_OPENCL),scopencl) \
173 $(if $(ENABLE_COINMP)$(ENABLE_LPSOLVE),solver) \
174 $(if $(DISABLE_SCRIPTING),,vbaobj) \
177 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,graphicfilter, \
178 svgfilter \
179 flash \
180 wpftdraw \
181 graphicfilter \
184 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,tde, \
185 $(if $(ENABLE_TDE),tdebe1) \
188 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,impress, \
189 animcore \
190 placeware \
191 PresenterScreen \
192 PresentationMinimizer \
193 wpftimpress \
196 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,onlineupdate, \
197 $(if $(ENABLE_ONLINE_UPDATE), \
198 updatecheckui \
199 updchk \
203 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,gnome, \
204 $(if $(ENABLE_EVOAB2),evoab) \
205 $(if $(ENABLE_GTK),vclplug_gtk) \
206 $(if $(ENABLE_GTK3),vclplug_gtk3) \
207 $(if $(ENABLE_GCONF),gconfbe1) \
208 $(if $(ENABLE_SYSTRAY_GTK),qstart_gtk) \
209 $(if $(ENABLE_GIO),losessioninstall) \
210 $(if $(ENABLE_GIO),ucpgio1) \
211 $(if $(ENABLE_GNOMEVFS),ucpgvfs1) \
214 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,kde, \
215 $(if $(ENABLE_KDE),kdebe1) \
216 $(if $(ENABLE_KDE4),kde4be1) \
217 $(if $(and $(filter unx,$(GUIBASE)),$(filter-out MACOSX,$(OS))), \
218 $(if $(ENABLE_KDE),vclplug_kde) \
219 $(if $(ENABLE_KDE4),vclplug_kde4) \
223 $(eval $(call gb_Helper_register_executables_for_install,OOO,kde, \
224 $(if $(filter $(GUIBASE)$(ENABLE_KDE),unxTRUE), \
225 kdefilepicker \
229 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,math, \
230 sm \
231 smd \
234 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,ogltrans, \
235 OGLTrans \
238 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,ooo, \
239 acc \
240 $(call gb_Helper_optional,AVMEDIA,avmedia) \
241 $(if $(filter MACOSX,$(OS)),\
242 $(if $(filter-out 1050 1060,$(MACOSX_SDK_VERSION)),avmediaMacAVF) \
243 $(if $(ENABLE_MACOSX_SANDBOX),,avmediaQuickTime) \
245 $(if $(DISABLE_SCRIPTING),,basctl) \
246 $(if $(DISABLE_SCRIPTING),,basprov) \
247 $(if $(filter $(OS),ANDROID),, \
248 basebmp \
250 basegfx \
251 bib \
252 $(if $(ENABLE_CAIRO_CANVAS),cairocanvas) \
253 canvasfactory \
254 canvastools \
255 chartcore \
256 chartcontroller \
257 chartopengl \
258 $(if $(filter $(OS),WNT),,cmdmail) \
259 cppcanvas \
260 configmgr \
261 ctl \
262 cui \
263 $(call gb_Helper_optional,DBCONNECTIVITY, \
264 dba \
265 dbase \
266 dbmm \
267 dbtools \
268 dbaxml) \
269 deploymentmisc \
270 $(if $(filter-out MACOSX WNT,$(OS)),desktopbe1) \
271 $(if $(filter unx,$(GUIBASE)),desktop_detector) \
272 $(if $(DISABLE_SCRIPTING),,dlgprov) \
273 $(if $(ENABLE_DIRECTX),directx9canvas) \
274 $(if $(ENABLE_OPENGL_CANVAS),oglcanvas) \
275 drawinglayer \
276 editeng \
277 egi \
278 eme \
279 $(if $(filter WNT,$(OS)),$(if $(DISABLE_ATL),,emser)) \
280 epb \
281 epg \
282 epp \
283 eps \
284 ept \
285 era \
286 eti \
287 evtatt \
288 exp \
289 expwrap \
290 $(call gb_Helper_optional,DBCONNECTIVITY, \
291 flat \
292 file) \
293 filterconfig \
294 $(if $(filter $(ENABLE_FIREBIRD_SDBC),TRUE),firebird_sdbc) \
295 fps_office \
296 for \
297 forui \
298 frm \
299 fsstorage \
300 fwe \
301 fwi \
302 fwk \
303 fwl \
304 fwm \
305 $(if $(ENABLE_DIRECTX),gdipluscanvas) \
306 guesslang \
307 $(if $(filter DESKTOP,$(BUILD_TYPE)),helplinker) \
308 i18npool \
309 i18nsearch \
310 hyphen \
311 icd \
312 icg \
313 idx \
314 ime \
315 ipb \
316 ipd \
317 ips \
318 ipt \
319 ipx \
320 ira \
321 itg \
322 iti \
323 $(if $(ENABLE_JAVA),jdbc) \
324 $(if $(ENABLE_KAB),kab1) \
325 $(if $(ENABLE_KAB),kabdrv1) \
326 ldapbe2 \
327 localebe1 \
328 log \
329 lng \
330 lnth \
331 $(if $(filter $(OS),MACOSX),macbe1) \
332 $(if $(MERGELIBS),merged) \
333 migrationoo2 \
334 migrationoo3 \
335 msfilter \
336 $(if $(DISABLE_SCRIPTING),,msforms) \
337 mtfrenderer \
338 $(call gb_Helper_optional,DBCONNECTIVITY,mysql) \
339 odbc \
340 odfflatxml \
341 offacc \
342 oox \
343 passwordcontainer \
344 pcr \
345 $(if $(ENABLE_NPAPI_FROM_BROWSER),pl) \
346 pdffilter \
347 $(if $(DISABLE_SCRIPTING),,protocolhandler) \
348 res \
349 sax \
350 sb \
351 $(call gb_Helper_optional,DBCONNECTIVITY,sdbt) \
352 scn \
353 sd \
354 sdd \
355 sdfilt \
356 sdui \
357 sfx \
358 simplecanvas \
359 slideshow \
360 sot \
361 spell \
362 $(if $(ENABLE_HEADLESS),,spl) \
363 storagefd \
364 $(if $(DISABLE_SCRIPTING),,stringresource) \
365 svgio \
366 svl \
367 svt \
368 svx \
369 svxcore \
370 sw \
371 syssh \
372 $(if $(ENABLE_TDEAB),tdeab1) \
373 $(if $(ENABLE_TDEAB),tdeabdrv1) \
374 textconversiondlgs \
375 textfd \
376 tk \
377 tl \
378 $(if $(ENABLE_TELEPATHY),tubes) \
379 ucpexpand1 \
380 ucpext \
381 ucpcmis1 \
382 ucptdoc1 \
383 unordf \
384 unoxml \
385 updatefeed \
386 utl \
387 uui \
388 $(if $(DISABLE_SCRIPTING),,vbaevents) \
389 $(if $(DISABLE_SCRIPTING),,vbahelper) \
390 vcl \
391 vclcanvas \
392 vclopengl \
393 $(if $(and $(filter unx,$(GUIBASE)),$(filter-out MACOSX,$(OS))), \
394 vclplug_gen \
395 $(if $(ENABLE_TDE),vclplug_tde) \
396 $(if $(ENABLE_HEADLESS),,vclplug_svp) \
398 writerperfect \
399 xmlscript \
400 xmlfa \
401 xmlfd \
402 xo \
403 xof \
404 xsltdlg \
405 xsltfilter \
406 $(if $(filter $(OS),WNT), \
407 ado \
408 $(if $(DISABLE_ATL),,oleautobridge) \
409 smplmail \
410 wininetbe1 \
411 $(if $(WITH_MOZAB4WIN), \
412 mozab2 \
413 mozabdrv \
415 $(if $(WITH_MOZAB4WIN),,mozbootstrap) \
417 $(if $(filter $(OS),WNT),, \
418 mork \
419 mozbootstrap \
421 $(if $(filter $(OS),MACOSX), \
422 $(if $(ENABLE_MACOSX_SANDBOX),, \
423 AppleRemote \
425 fps_aqua \
426 MacOSXSpell \
430 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,postgresqlsdbc, \
431 $(if $(BUILD_POSTGRESQL_SDBC), \
432 postgresql-sdbc \
433 postgresql-sdbc-impl) \
436 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,pdfimport, \
437 pdfimport \
440 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,python, \
441 pythonloader \
444 $(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_OOO,python, \
445 pyuno \
446 $(if $(filter-out WNT,$(OS)),pyuno_wrapper) \
449 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,reportbuilder, \
450 rpt \
451 rptui \
452 rptxml \
455 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,writer, \
456 hwp \
457 $(if $(ENABLE_LWP),lwpft) \
458 msword \
459 swd \
460 swui \
461 t602filter \
462 $(if $(DISABLE_SCRIPTING),,vbaswobj) \
463 wpftwriter \
464 writerfilter \
467 $(eval $(call gb_Helper_register_libraries,PLAINLIBS_NONE, \
468 getuid \
469 smoketest \
470 subsequenttest \
471 test \
472 testtools_cppobj \
473 testtools_bridgetest \
474 testtools_constructors \
475 unobootstrapprotector \
476 unoexceptionprotector \
477 unotest \
478 vclbootstrapprotector \
479 scqahelper \
480 unowinreg \
483 $(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_URE,ure, \
484 affine_uno_uno \
485 $(if $(filter MSC,$(COM)),cli_uno) \
486 $(if $(ENABLE_JAVA), \
487 java_uno \
488 jpipe \
489 $(if $(filter $(OS),WNT),jpipx) \
490 juh \
491 juhx \
493 log_uno_uno \
494 unsafe_uno_uno \
495 $(if $(URELIBS),urelibs) \
496 $(if $(filter MSC,$(COM)),$(if $(filter INTEL,$(CPUNAME)),msci,mscx),gcc3)_uno \
497 $(if $(filter $(OS),WNT), \
498 uwinapi \
502 $(eval $(call gb_Helper_register_libraries_for_install,PRIVATELIBS_URE,ure, \
503 binaryurp \
504 bootstrap \
505 introspection \
506 invocadapt \
507 invocation \
508 io \
509 $(if $(ENABLE_JAVA),javaloader) \
510 $(if $(ENABLE_JAVA),javavm) \
511 $(if $(ENABLE_JAVA),jvmaccess) \
512 $(if $(ENABLE_JAVA),jvmfwk) \
513 namingservice \
514 proxyfac \
515 reflection \
516 reg \
517 sal_textenc \
518 stocservices \
519 store \
520 $(if $(ENABLE_JAVA),sunjavaplugin) \
521 unoidl \
522 uuresolver \
523 xmlreader \
526 # this is NONE even though it is actually in URE because it is CliNativeLibrary
527 $(eval $(call gb_Helper_register_libraries,PLAINLIBS_NONE, \
528 $(if $(filter MSC,$(COM)),cli_cppuhelper) \
531 $(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_OOO,ooo, \
532 $(if $(ENABLE_VLC),avmediavlc) \
533 $(if $(ENABLE_GSTREAMER),avmediagst) \
534 $(if $(ENABLE_GSTREAMER_0_10),avmediagst_0_10) \
535 $(if $(ENABLE_DIRECTX),avmediawin) \
536 $(if $(ENABLE_GLTF),avmediaogl) \
537 cached1 \
538 collator_data \
539 comphelper \
540 $(call gb_Helper_optional,DBCONNECTIVITY,dbpool2) \
541 deployment \
542 deploymentgui \
543 dict_ja \
544 dict_zh \
545 embobj \
546 $(if $(ENABLE_JAVA),hsqldb) \
547 i18nlangtag \
548 i18nutil \
549 index_data \
550 $(if $(and $(ENABLE_GTK), $(filter LINUX,$(OS))), libreofficekitgtk) \
551 localedata_en \
552 localedata_es \
553 localedata_euro \
554 localedata_others \
555 mcnttype \
556 $(if $(ENABLE_JAVA), \
557 $(if $(filter $(OS),MACOSX),,officebean) \
559 $(if $(filter WNT-TRUE,$(OS)-$(DISABLE_ATL)),,emboleobj) \
560 package2 \
561 $(if $(and $(filter unx,$(GUIBASE)),$(filter-out MACOSX,$(OS))),recentfile) \
562 $(if $(DISABLE_SCRIPTING),,scriptframe) \
563 sdbc2 \
564 sofficeapp \
565 srtrs1 \
566 $(if $(filter $(OS),WNT),sysdtrans) \
567 textconv_dict \
568 ucb1 \
569 ucbhelper \
570 $(if $(WITH_WEBDAV),ucpdav1) \
571 ucpfile1 \
572 ucpftp1 \
573 ucpchelp1 \
574 ucphier1 \
575 ucppkg1 \
576 unopkgapp \
577 xmlsecurity \
578 xsec_fw \
579 xsec_xmlsec \
580 xstor \
581 $(if $(filter $(OS),MACOSX), \
582 macab1 \
583 macabdrv1 \
585 $(if $(filter WNT,$(OS)), \
586 dnd \
587 dtrans \
588 fps \
589 ftransl \
590 $(if $(DISABLE_ATL),,\
591 inprocserv \
592 UAccCOM \
593 winaccessibility \
598 ifeq ($(OS),WNT)
599 $(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_OOO,activexbinarytable, \
600 $(if $(DISABLE_ACTIVEX),,\
601 regactivex \
605 $(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_OOO,activex, \
606 $(if $(DISABLE_ACTIVEX),,\
607 so_activex \
611 ifneq ($(BUILD_X64),)
612 $(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_OOO,activexwin64, \
613 $(if $(DISABLE_ACTIVEX),,\
614 so_activex_x64 \
617 endif
619 $(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_OOO,ooobinarytable, \
620 $(if $(WINDOWS_SDK_HOME),\
621 instooofiltmsi \
622 qslnkmsi \
623 reg4allmsdoc \
624 sdqsmsi \
625 sellangmsi \
626 sn_tools \
630 $(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_OOO,winexplorerextbinarytable, \
631 shlxtmsi \
634 $(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_SHLXTHDL,winexplorerext, \
635 ooofilt \
636 shlxthdl \
639 $(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_SHLXTHDL,winexplorerextnt6, \
640 propertyhdl \
643 $(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_SHLXTHDL,winexplorerextwin64, \
644 ooofilt_x64 \
645 shlxthdl_x64 \
648 $(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_SHLXTHDL,winexplorerextwin64nt6, \
649 propertyhdl_x64 \
652 endif # WNT
654 $(eval $(call gb_Helper_register_libraries_for_install,RTVERLIBS,ure, \
655 cppuhelper \
656 purpenvhelper \
657 salhelper \
660 $(eval $(call gb_Helper_register_libraries_for_install,UNOVERLIBS,ure, \
661 cppu \
662 sal \
665 $(eval $(call gb_Helper_register_libraries,EXTENSIONLIBS, \
666 active_native \
667 mysqlc \
668 passive_native \
671 ifneq ($(ENABLE_JAVA),)
672 $(eval $(call gb_Helper_register_jars_for_install,URE,ure, \
673 java_uno \
674 juh \
675 jurt \
676 ridl \
677 unoloader \
680 $(eval $(call gb_Helper_register_jars_for_install,OOO,ooo, \
681 ScriptFramework \
682 ScriptProviderForJava \
683 XMergeBridge \
684 commonwizards \
685 form \
686 $(if $(filter-out MACOSX,$(OS)),officebean) \
687 query \
688 report \
689 sdbc_hsqldb \
690 smoketest \
691 table \
692 unoil \
693 xmerge \
696 $(eval $(call gb_Helper_register_jars_for_install,OOO,reportbuilder, \
697 reportbuilder \
698 reportbuilderwizard \
701 ifneq ($(ENABLE_SCRIPTING_BEANSHELL),)
702 $(eval $(call gb_Helper_register_jars_for_install,OOO,extensions_bsh, \
703 ScriptProviderForBeanShell \
705 endif
707 ifneq ($(ENABLE_SCRIPTING_JAVASCRIPT),)
708 $(eval $(call gb_Helper_register_jars_for_install,OOO,extensions_rhino, \
709 ScriptProviderForJavaScript \
711 endif
713 $(eval $(call gb_Helper_register_jars,OXT, \
714 EvolutionarySolver \
715 active_java \
716 mediawiki \
717 nlpsolver \
718 passive_java \
721 $(eval $(call gb_Helper_register_jars,NONE,\
722 ConnectivityTools \
723 HelloWorld \
724 Highlight \
725 MemoryUsage \
726 OOoRunner \
727 OOoRunnerLight \
728 TestExtension \
729 test \
730 test-tools \
731 testComponent \
733 endif
735 $(eval $(call gb_Helper_register_packages_for_install,ure,\
736 instsetoo_native_setup_ure \
737 ure_install \
738 $(if $(ENABLE_JAVA),\
739 jvmfwk_javavendors \
740 jvmfwk_jreproperties \
741 $(if $(filter MACOSX,$(OS)),bridges_jnilib_java_uno) \
745 $(eval $(call gb_Helper_register_packages_for_install,ooo,\
746 xmlsec \
749 # External executables
750 $(eval $(call gb_ExternalExecutable_register_executables,\
751 genbrk \
752 genccode \
753 gencmn \
754 python \
755 ucpp \
756 xmllint \
757 xsltproc \
760 # vim: set noet sw=4 ts=4: