--enable-lto for distro-configs/* that already use --enable-mergelibs
[LibreOffice.git] / Repository.mk
blob541d06377fb6df6d921ad94fab006c3130cc5f02
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 $(call gb_Helper_optional,HELPTOOLS, \
22 HelpIndexer \
23 HelpLinker \
24 ) \
25 bestreversemap \
26 canvasdemo \
27 cfgex \
28 concat-deps \
29 cpp \
30 cppunittester \
31 gbuildtojson \
32 $(if $(filter MSC,$(COM)), \
33 gcc-wrapper \
34 g++-wrapper \
35 ) \
36 gencoll_rule \
37 genconv_dict \
38 gendict \
39 genindex_data \
40 helpex \
41 idxdict \
42 io-testconnection \
43 langsupport \
44 $(if $(filter iOS,$(OS)),LibreOffice) \
45 lngconvex \
46 localize \
47 makedepend \
48 mbsdiff \
49 osl_process_child \
50 pdf2xml \
51 pdfunzip \
52 pdfverify \
53 pocheck \
54 propex \
55 regsvrex \
56 saxparser \
57 sp2bv \
58 svidl \
59 $(if $(ENABLE_ONLINE_UPDATE_MAR),\
60 test_updater_dialog \
61 ) \
62 treex \
63 ulfex \
64 unoidl-read \
65 unoidl-write \
66 xrmex \
67 $(if $(filter-out ANDROID iOS WNT,$(OS)), \
68 svdemo \
69 fftester \
70 svptest \
71 svpclient ) \
72 $(if $(filter LINUX %BSD SOLARIS,$(OS)), tilebench) \
73 $(if $(filter LINUX MACOSX SOLARIS WNT %BSD,$(OS)),icontest) \
74 vcldemo \
75 tiledrendering \
76 mtfdemo \
77 visualbackendtest \
78 $(if $(and $(ENABLE_GTK3), $(filter LINUX %BSD SOLARIS,$(OS))), gtktiledviewer) \
81 $(eval $(call gb_Helper_register_executables_for_install,SDK,sdk, \
82 $(if $(filter MSC,$(COM)),$(if $(filter-out AARCH64,$(CPUNAME)),climaker)) \
83 cppumaker \
84 idlc \
85 javamaker \
86 $(if $(filter UCPP,$(BUILD_TYPE)),ucpp) \
87 $(if $(filter ODK,$(BUILD_TYPE)),unoapploader) \
88 unoidl-check \
89 $(if $(filter ODK,$(BUILD_TYPE)),uno-skeletonmaker) \
92 $(eval $(call gb_Helper_register_executables_for_install,OOO,brand, \
93 $(if $(ENABLE_ONLINE_UPDATE_MAR),\
94 mar \
95 $(if $(filter WNT,$(OS)), \
96 update_service \
97 ) \
98 updater )\
99 $(call gb_Helper_optional,BREAKPAD,minidump_upload) \
100 $(call gb_Helper_optional,FUZZERS,wmffuzzer) \
101 $(call gb_Helper_optional,FUZZERS,jpgfuzzer) \
102 $(call gb_Helper_optional,FUZZERS,giffuzzer) \
103 $(call gb_Helper_optional,FUZZERS,xbmfuzzer) \
104 $(call gb_Helper_optional,FUZZERS,xpmfuzzer) \
105 $(call gb_Helper_optional,FUZZERS,pngfuzzer) \
106 $(call gb_Helper_optional,FUZZERS,bmpfuzzer) \
107 $(call gb_Helper_optional,FUZZERS,svmfuzzer) \
108 $(call gb_Helper_optional,FUZZERS,pcdfuzzer) \
109 $(call gb_Helper_optional,FUZZERS,dxffuzzer) \
110 $(call gb_Helper_optional,FUZZERS,metfuzzer) \
111 $(call gb_Helper_optional,FUZZERS,ppmfuzzer) \
112 $(call gb_Helper_optional,FUZZERS,psdfuzzer) \
113 $(call gb_Helper_optional,FUZZERS,epsfuzzer) \
114 $(call gb_Helper_optional,FUZZERS,pctfuzzer) \
115 $(call gb_Helper_optional,FUZZERS,pcxfuzzer) \
116 $(call gb_Helper_optional,FUZZERS,rasfuzzer) \
117 $(call gb_Helper_optional,FUZZERS,tgafuzzer) \
118 $(call gb_Helper_optional,FUZZERS,tiffuzzer) \
119 $(call gb_Helper_optional,FUZZERS,hwpfuzzer) \
120 $(call gb_Helper_optional,FUZZERS,602fuzzer) \
121 $(call gb_Helper_optional,FUZZERS,lwpfuzzer) \
122 $(call gb_Helper_optional,FUZZERS,olefuzzer) \
123 $(call gb_Helper_optional,FUZZERS,pptfuzzer) \
124 $(call gb_Helper_optional,FUZZERS,rtffuzzer) \
125 $(call gb_Helper_optional,FUZZERS,cgmfuzzer) \
126 $(call gb_Helper_optional,FUZZERS,ww2fuzzer) \
127 $(call gb_Helper_optional,FUZZERS,ww6fuzzer) \
128 $(call gb_Helper_optional,FUZZERS,ww8fuzzer) \
129 $(call gb_Helper_optional,FUZZERS,qpwfuzzer) \
130 $(call gb_Helper_optional,FUZZERS,slkfuzzer) \
131 $(call gb_Helper_optional,FUZZERS,fodtfuzzer) \
132 $(call gb_Helper_optional,FUZZERS,fodsfuzzer) \
133 $(call gb_Helper_optional,FUZZERS,fodpfuzzer) \
134 $(call gb_Helper_optional,FUZZERS,xlsfuzzer) \
135 $(call gb_Helper_optional,FUZZERS,scrtffuzzer) \
136 $(call gb_Helper_optional,FUZZERS,wksfuzzer) \
137 $(call gb_Helper_optional,FUZZERS,diffuzzer) \
138 $(call gb_Helper_optional,FUZZERS,docxfuzzer) \
139 $(call gb_Helper_optional,FUZZERS,xlsxfuzzer) \
140 $(call gb_Helper_optional,FUZZERS,pptxfuzzer) \
141 $(call gb_Helper_optional,FUZZERS,mmlfuzzer) \
142 $(call gb_Helper_optional,FUZZERS,mtpfuzzer) \
143 $(call gb_Helper_optional,FUZZERS,htmlfuzzer) \
144 $(call gb_Helper_optional,FUZZERS,sftfuzzer) \
145 $(call gb_Helper_optional,FUZZERS,dbffuzzer) \
146 $(if $(filter-out ANDROID HAIKU iOS MACOSX WNT,$(OS)),oosplash) \
147 soffice_bin \
148 $(if $(filter DESKTOP,$(BUILD_TYPE)),unopkg_bin) \
149 $(if $(filter WNT,$(OS)), \
150 soffice_exe \
151 soffice_com \
152 soffice_safe \
153 unoinfo \
154 unopkg \
155 unopkg_com \
156 $(if $(filter-out AARCH64,$(CPUNAME)),twain32shim) \
160 $(eval $(call gb_Helper_register_executables_for_install,OOO,base_brand, \
161 $(if $(filter WNT,$(OS)), \
162 sbase \
166 $(eval $(call gb_Helper_register_executables_for_install,OOO,base, \
167 $(if $(filter WNT,$(OS)), \
168 odbcconfig \
172 $(eval $(call gb_Helper_register_executables_for_install,OOO,calc_brand, \
173 $(if $(filter WNT,$(OS)), \
174 scalc \
178 $(eval $(call gb_Helper_register_executables_for_install,OOO,draw_brand, \
179 $(if $(filter WNT,$(OS)), \
180 sdraw \
184 $(eval $(call gb_Helper_register_executables_for_install,OOO,impress_brand, \
185 $(if $(filter WNT,$(OS)), \
186 simpress \
190 $(eval $(call gb_Helper_register_executables_for_install,OOO,math_brand, \
191 $(if $(filter WNT,$(OS)), \
192 smath \
196 $(eval $(call gb_Helper_register_executables_for_install,OOO,writer_brand, \
197 $(if $(filter WNT,$(OS)), \
198 sweb \
199 swriter \
203 $(eval $(call gb_Helper_register_executables_for_install,OOO,ooo, \
204 gengal \
205 $(if $(filter WNT,$(OS)),,uri-encode) \
206 $(if $(ENABLE_MACOSX_SANDBOX),, \
207 $(if $(DISABLE_GUI),, \
208 ui-previewer \
211 $(if $(filter WNT,$(OS)), \
212 senddoc \
214 $(if $(filter OPENCL,$(BUILD_TYPE)),opencltest) \
217 ifeq ($(OS),WNT)
218 $(eval $(call gb_Helper_register_executables_for_install,OOO,quickstart, \
219 quickstart \
221 endif
223 $(eval $(call gb_Helper_register_executables_for_install,OOO,python, \
224 $(if $(filter WNT,$(OS)), \
225 python \
229 ifneq ($(ENABLE_POPPLER),)
230 $(eval $(call gb_Helper_register_executables_for_install,OOO,pdfimport, \
231 xpdfimport \
233 endif
235 $(eval $(call gb_Helper_register_executables_for_install,UREBIN,ure,\
236 $(if $(and $(ENABLE_JAVA),$(filter-out HAIKU MACOSX WNT,$(OS)),$(filter DESKTOP,$(BUILD_TYPE))),javaldx) \
237 $(if $(ENABLE_MACOSX_SANDBOX),, \
238 regmerge \
239 regview \
241 $(if $(filter DESKTOP,$(BUILD_TYPE)),uno) \
244 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,base, \
245 abp \
246 dbp \
247 dbu \
250 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,calc, \
251 analysis \
252 $(call gb_Helper_optional,DBCONNECTIVITY,calc) \
253 date \
254 pricing \
255 sc \
256 scd \
257 scfilt \
258 scui \
259 wpftcalc \
260 solver \
261 $(call gb_Helper_optional,SCRIPTING,vbaobj) \
264 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,graphicfilter, \
265 svgfilter \
266 wpftdraw \
267 graphicfilter \
270 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,impress, \
271 animcore \
272 PresenterScreen \
273 PresentationMinimizer \
274 wpftimpress \
277 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,onlineupdate, \
278 $(if $(ENABLE_ONLINE_UPDATE), \
279 updatecheckui \
280 updchk \
284 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,gnome, \
285 $(if $(ENABLE_EVOAB2),evoab) \
286 $(if $(ENABLE_GTK3),vclplug_gtk3) \
287 $(if $(ENABLE_GTK4),vclplug_gtk4) \
288 $(if $(ENABLE_GIO),losessioninstall) \
289 $(if $(ENABLE_GIO),ucpgio1) \
292 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,kde, \
293 $(if $(ENABLE_KF5),kf5be1) \
294 $(if $(USING_X11), \
295 $(if $(ENABLE_KF5),vclplug_kf5) \
296 $(if $(ENABLE_QT5),vclplug_qt5) \
297 $(if $(ENABLE_QT6),vclplug_qt6) \
298 $(if $(ENABLE_GTK3_KDE5),vclplug_gtk3_kde5) \
301 ifneq ($(ENABLE_GTK3_KDE5),)
302 $(eval $(call gb_Helper_register_executables_for_install,OOO,kde, \
303 lo_kde5filepicker \
305 endif
307 ifeq ($(OS),HAIKU)
308 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,haiku, \
309 $(if $(ENABLE_QT5),vclplug_qt5) \
310 $(if $(ENABLE_QT6),vclplug_qt6) \
311 $(if $(ENABLE_KF5),vclplug_kf5) \
313 endif
315 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,math, \
316 sm \
317 smd \
320 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,ogltrans, \
321 OGLTrans \
324 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,ooo, \
325 acc \
326 $(call gb_Helper_optional,AVMEDIA,avmedia) \
327 $(if $(filter MACOSX,$(OS)),\
328 avmediaMacAVF \
330 $(call gb_Helper_optional,SCRIPTING, \
331 basctl \
332 basprov \
334 basegfx \
335 bib \
336 $(if $(ENABLE_CAIRO_CANVAS),cairocanvas) \
337 canvasfactory \
338 canvastools \
339 chartcore \
340 chartcontroller \
341 $(call gb_Helper_optional,OPENCL,clew) \
342 $(if $(filter $(OS),WNT),,cmdmail) \
343 cppcanvas \
344 configmgr \
345 ctl \
346 cui \
347 dba \
348 dbahsql \
349 $(call gb_Helper_optional,DBCONNECTIVITY, \
350 dbase \
351 dbaxml) \
352 dbtools \
353 deploymentmisc \
354 $(if $(filter-out MACOSX WNT,$(OS)),desktopbe1) \
355 $(if $(USING_X11),desktop_detector) \
356 $(call gb_Helper_optional,SCRIPTING,dlgprov) \
357 $(if $(filter WNT,$(OS)),directx9canvas) \
358 $(if $(ENABLE_OPENGL_CANVAS),oglcanvas) \
359 drawinglayer \
360 editeng \
361 $(if $(filter WNT,$(OS)),emser) \
362 evtatt \
363 expwrap \
364 $(call gb_Helper_optional,DBCONNECTIVITY, \
365 flat \
366 file) \
367 filterconfig \
368 fps_office \
369 for \
370 forui \
371 frm \
372 fsstorage \
373 fwk \
374 $(if $(filter WNT,$(OS)),gdipluscanvas) \
375 guesslang \
376 $(call gb_Helper_optionals_or,HELPTOOLS XMLHELP,helplinker) \
377 i18npool \
378 i18nsearch \
379 hyphen \
380 icg \
381 $(if $(ENABLE_JAVA),jdbc) \
382 $(if $(ENABLE_LDAP),ldapbe2) \
383 $(if $(filter WNT,$(OS)),WinUserInfoBe) \
384 localebe1 \
385 log \
386 lng \
387 lnth \
388 $(if $(filter $(OS),MACOSX),macbe1) \
389 $(if $(MERGELIBS),merged) \
390 migrationoo2 \
391 migrationoo3 \
392 mozbootstrap \
393 msfilter \
394 $(call gb_Helper_optional,SCRIPTING,msforms) \
395 mtfrenderer \
396 $(call gb_Helper_optional,DBCONNECTIVITY,mysql_jdbc) \
397 $(call gb_Helper_optional,MARIADBC,$(call gb_Helper_optional,DBCONNECTIVITY,mysqlc)) \
398 numbertext \
399 odbc \
400 odfflatxml \
401 offacc \
402 oox \
403 $(call gb_Helper_optional,OPENCL,opencl) \
404 passwordcontainer \
405 pcr \
406 pdffilter \
407 $(call gb_Helper_optional,SCRIPTING,protocolhandler) \
408 sax \
409 sb \
410 $(call gb_Helper_optional,DBCONNECTIVITY,sdbt) \
411 scn \
412 sd \
413 sdd \
414 sdfilt \
415 sdui \
416 sfx \
417 simplecanvas \
418 slideshow \
419 sot \
420 spell \
421 $(if $(DISABLE_GUI),,spl) \
422 storagefd \
423 $(call gb_Helper_optional,SCRIPTING,stringresource) \
424 svgio \
425 emfio \
426 svl \
427 svt \
428 svx \
429 svxcore \
430 sw \
431 syssh \
432 textconversiondlgs \
433 textfd \
434 tk \
435 tl \
436 ucpexpand1 \
437 ucpext \
438 ucpimage \
439 $(if $(ENABLE_LIBCMIS),ucpcmis1) \
440 ucptdoc1 \
441 unordf \
442 unoxml \
443 updatefeed \
444 utl \
445 uui \
446 $(call gb_Helper_optional,SCRIPTING, \
447 vbaevents \
448 vbahelper \
450 vcl \
451 vclcanvas \
452 writerperfect \
453 xmlscript \
454 xmlfa \
455 xmlfd \
456 xo \
457 xof \
458 xsltdlg \
459 xsltfilter \
460 $(if $(USING_X11), \
461 vclplug_gen \
463 $(if $(filter $(OS),WNT), \
464 ado \
465 oleautobridge \
466 smplmail \
467 vclplug_win \
468 wininetbe1 \
470 $(if $(filter $(OS),MACOSX), \
471 $(if $(ENABLE_MACOSX_SANDBOX),, \
472 AppleRemote \
474 fps_aqua \
475 vclplug_osx \
477 $(if $(filter iOS MACOSX,$(OS)), \
478 MacOSXSpell \
482 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,postgresqlsdbc, \
483 $(if $(BUILD_POSTGRESQL_SDBC), \
484 postgresql-sdbc \
485 postgresql-sdbc-impl) \
488 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,firebirdsdbc, \
489 $(if $(ENABLE_FIREBIRD_SDBC),firebird_sdbc) \
492 ifneq ($(ENABLE_PDFIMPORT),)
493 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,pdfimport, \
494 pdfimport \
496 endif
498 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,python, \
499 pythonloader \
502 $(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_OOO,python, \
503 pyuno \
504 $(if $(filter-out WNT,$(OS)),pyuno_wrapper) \
507 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,reportbuilder, \
508 rpt \
509 rptui \
510 rptxml \
513 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,writer, \
514 hwp \
515 $(if $(ENABLE_LWP),lwpft) \
516 msword \
517 swd \
518 swui \
519 t602filter \
520 $(call gb_Helper_optional,SCRIPTING,vbaswobj) \
521 wpftwriter \
522 writerfilter \
523 $(call gb_Helper_optional,DBCONNECTIVITY,writer) \
526 # cli_cppuhelper is NONE even though it is actually in URE because it is CliNativeLibrary
527 $(eval $(call gb_Helper_register_libraries,PLAINLIBS_NONE, \
528 smoketest \
529 subsequenttest \
530 test \
531 test-setupvcl \
532 testtools_cppobj \
533 testtools_bridgetest \
534 testtools_bridgetest-common \
535 testtools_constructors \
536 unobootstrapprotector \
537 unoexceptionprotector \
538 unotest \
539 vclbootstrapprotector \
540 scqahelper \
541 swqahelper \
542 wpftqahelper \
543 precompiled_system \
544 $(if $(filter MSC,$(COM)),cli_cppuhelper) \
545 $(if $(filter $(OS),ANDROID),lo-bootstrap) \
546 $(if $(filter $(OS),MACOSX),OOoSpotlightImporter) \
549 $(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_URE,ure, \
550 affine_uno_uno \
551 $(if $(filter MSC,$(COM)),$(if $(filter-out AARCH64,$(CPUNAME)),cli_uno)) \
552 i18nlangtag \
553 $(if $(ENABLE_JAVA), \
554 java_uno \
555 jpipe \
556 $(if $(filter $(OS),WNT),jpipx) \
557 juh \
558 juhx \
560 log_uno_uno \
561 unsafe_uno_uno \
562 $(if $(filter EMSCRIPTEN,$(OS)),, \
563 $(if $(filter MSC,$(COM)), \
564 $(if $(filter INTEL,$(CPUNAME)),msci_uno) \
565 $(if $(filter X86_64,$(CPUNAME)),mscx_uno) \
566 $(if $(filter AARCH64,$(CPUNAME)),msca_uno) \
567 , gcc3_uno) \
571 $(eval $(call gb_Helper_register_libraries_for_install,PRIVATELIBS_URE,ure, \
572 binaryurp \
573 bootstrap \
574 introspection \
575 invocadapt \
576 invocation \
577 io \
578 $(if $(ENABLE_JAVA),javaloader) \
579 $(if $(ENABLE_JAVA),javavm) \
580 $(if $(ENABLE_JAVA),jvmaccess) \
581 $(if $(ENABLE_JAVA),jvmfwk) \
582 namingservice \
583 proxyfac \
584 reflection \
585 reg \
586 sal_textenc \
587 stocservices \
588 store \
589 unoidl \
590 uuresolver \
591 xmlreader \
594 $(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_OOO,ooo, \
595 $(if $(ENABLE_GSTREAMER_1_0),avmediagst) \
596 $(if $(filter WNT,$(OS)),avmediawin) \
597 cached1 \
598 collator_data \
599 comphelper \
600 $(call gb_Helper_optional,DBCONNECTIVITY,dbpool2) \
601 $(call gb_Helper_optional,BREAKPAD,crashreport) \
602 deployment \
603 deploymentgui \
604 dict_ja \
605 dict_zh \
606 embobj \
607 $(if $(ENABLE_JAVA),hsqldb) \
608 i18nutil \
609 index_data \
610 $(if $(and $(ENABLE_GTK3), $(filter LINUX %BSD SOLARIS,$(OS))), libreofficekitgtk) \
611 localedata_en \
612 localedata_es \
613 localedata_euro \
614 localedata_others \
615 $(if $(ENABLE_JAVA), \
616 $(if $(filter $(OS),MACOSX),,officebean) \
618 emboleobj \
619 package2 \
620 $(call gb_Helper_optional,SCRIPTING,scriptframe) \
621 sdbc2 \
622 sofficeapp \
623 srtrs1 \
624 textconv_dict \
625 ucb1 \
626 ucbhelper \
627 $(if $(WITH_WEBDAV),ucpdav1) \
628 ucpfile1 \
629 ucpftp1 \
630 $(call gb_Helper_optional,XMLHELP,ucpchelp1) \
631 ucphier1 \
632 ucppkg1 \
633 unopkgapp \
634 xmlsecurity \
635 xsec_xmlsec \
636 xstor \
637 $(if $(filter $(OS),MACOSX), \
638 macab1 \
639 macabdrv1 \
641 $(if $(filter WNT,$(OS)), \
642 fps \
643 inprocserv \
644 UAccCOM \
645 winaccessibility \
649 ifeq ($(OS),WNT)
650 $(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_OOO,activexbinarytable, \
651 regactivex \
654 $(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_OOO,activex, \
655 so_activex \
658 ifneq ($(BUILD_X64),)
659 $(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_OOO,activexwin64, \
660 so_activex_x64 \
662 endif
664 $(eval $(call gb_Helper_register_executables_for_install,OOO,spsuppfiles, \
665 spsupp_helper \
668 $(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_OOO,spsuppfiles, \
669 $(if $(CXX_X64_BINARY),spsupp_x64) \
670 $(if $(CXX_X86_BINARY),spsupp_x86) \
673 $(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_OOO,ooobinarytable, \
674 $(if $(WINDOWS_SDK_HOME),\
675 instooofiltmsi \
676 inst_msu_msi \
677 qslnkmsi \
678 reg_dlls \
679 reg4allmsdoc \
680 sdqsmsi \
681 sellangmsi \
682 sn_tools \
686 $(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_OOO,winexplorerextbinarytable, \
687 shlxtmsi \
690 $(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_SHLXTHDL,winexplorerext, \
691 ooofilt \
692 propertyhdl \
693 shlxthdl \
696 ifneq ($(BUILD_X64),)
697 $(eval $(call gb_Helper_register_packages_for_install,winexplorerextwin64, \
698 $(if $(filter MSC,$(COM)),msvc_dlls) \
701 $(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_SHLXTHDL,winexplorerextwin64, \
702 ooofilt_x64 \
703 propertyhdl_x64 \
704 shlxthdl_x64 \
706 endif # BUILD_X64
708 endif # WNT
710 $(eval $(call gb_Helper_register_libraries_for_install,RTVERLIBS,ure, \
711 cppuhelper \
712 purpenvhelper \
713 salhelper \
716 $(eval $(call gb_Helper_register_libraries_for_install,UNOVERLIBS,ure, \
717 cppu \
718 sal \
721 $(eval $(call gb_Helper_register_libraries,EXTENSIONLIBS, \
722 active_native \
723 passive_native \
726 ifneq ($(ENABLE_JAVA),)
727 $(eval $(call gb_Helper_register_jars_for_install,URE,ure, \
728 java_uno \
729 juh \
730 jurt \
731 libreoffice \
732 ridl \
733 unoloader \
736 $(eval $(call gb_Helper_register_jars_for_install,OOO,ooo, \
737 ScriptFramework \
738 ScriptProviderForJava \
739 XMergeBridge \
740 commonwizards \
741 form \
742 $(if $(filter-out MACOSX,$(OS)),officebean) \
743 query \
744 report \
745 sdbc_hsqldb \
746 smoketest \
747 table \
748 unoil \
749 xmerge \
752 $(eval $(call gb_Helper_register_jars_for_install,OOO,reportbuilder, \
753 reportbuilder \
754 reportbuilderwizard \
757 ifneq ($(ENABLE_SCRIPTING_BEANSHELL),)
758 $(eval $(call gb_Helper_register_jars_for_install,OOO,extensions_bsh, \
759 ScriptProviderForBeanShell \
761 endif
763 ifneq ($(ENABLE_SCRIPTING_JAVASCRIPT),)
764 $(eval $(call gb_Helper_register_jars_for_install,OOO,extensions_rhino, \
765 ScriptProviderForJavaScript \
767 endif
769 ifeq (CT2N,$(filter CT2N,$(BUILD_TYPE)))
770 $(eval $(call gb_Helper_register_packages_for_install,extensions_ct2n,\
771 ct2n \
773 endif
775 ifeq (NUMBERTEXT,$(filter NUMBERTEXT,$(BUILD_TYPE)))
776 $(eval $(call gb_Helper_register_packages_for_install,extensions_numbertext,\
777 numbertext \
779 endif
781 $(eval $(call gb_Helper_register_jars,OXT, \
782 EvolutionarySolver \
783 active_java \
784 mediawiki \
785 nlpsolver \
786 passive_java \
789 $(eval $(call gb_Helper_register_jars,NONE,\
790 ConnectivityTools \
791 HelloWorld \
792 Highlight \
793 MemoryUsage \
794 OOoRunner \
795 TestExtension \
796 test \
797 test-tools \
798 testComponent \
800 endif
802 # 'test_unittest' is only package delivering to workdir.
803 # Other packages could be potentially autoinstalled.
804 $(eval $(call gb_Helper_register_packages, \
805 test_unittest \
806 cli_basetypes_copy \
807 extras_wordbook \
808 instsetoo_native_setup \
809 $(if $(ENABLE_OOENV),instsetoo_native_ooenv) \
810 postprocess_registry \
811 readlicense_oo_readmes \
812 setup_native_misc \
813 sysui_share \
814 vcl_fontunxpsprint \
817 $(eval $(call gb_Helper_register_packages_for_install,impress,\
818 sd_xml \
821 $(eval $(call gb_Helper_register_packages_for_install,calc,\
822 sc_res_xml \
825 $(eval $(call gb_Helper_register_packages_for_install,libreofficekit,\
826 $(if $(filter LINUX %BSD SOLARIS, $(OS)),libreofficekit_selectionhandles) \
829 $(eval $(call gb_Helper_register_packages_for_install,ure,\
830 instsetoo_native_setup_ure \
831 ure_install \
832 $(if $(ENABLE_JAVA),\
833 jvmfwk_jvmfwk3_ini \
834 jvmfwk_javavendors \
835 jvmfwk_jreproperties \
836 $(if $(filter MACOSX,$(OS)),bridges_jnilib_java_uno) \
840 $(eval $(call gb_Helper_register_packages_for_install,postgresqlsdbc,\
841 $(if $(BUILD_POSTGRESQL_SDBC),connectivity_postgresql-sdbc) \
844 $(eval $(call gb_Helper_register_packages_for_install,sdk,\
845 odk_share_readme \
846 odk_share_readme_generated \
847 $(if $(filter WNT,$(OS)),$(if $(filter-out AARCH64,$(CPUNAME)),odk_cli)) \
848 odk_config \
849 $(if $(filter WNT,$(OS)),odk_config_win) \
850 odk_docs \
851 $(if $(DOXYGEN),odk_doxygen) \
852 odk_examples \
853 odk_headers \
854 odk_headers_generated \
855 odk_html \
856 odk_settings \
857 odk_settings_generated \
858 offapi_idl \
859 udkapi_idl \
860 $(if $(ENABLE_JAVA), \
861 odk_javadoc \
862 odk_uno_loader_classes \
866 $(eval $(call gb_Helper_register_packages_for_install,ooo,\
867 $(if $(SYSTEM_LIBEXTTEXTCAT),,libexttextcat_fingerprint) \
868 officecfg_misc \
869 $(if $(filter $(OS),MACOSX), \
870 extensions_mdibundle \
871 extensions_OOoSpotlightImporter \
873 extras_autocorr \
874 extras_autotextuser \
875 extras_cfgsrvnolang \
876 extras_cfgusr \
877 extras_database \
878 extras_databasebiblio \
879 extras_gallbullets \
880 extras_gallmytheme \
881 extras_gallroot \
882 extras_gallsystem \
883 extras_gallsystemstr \
884 extras_glade \
885 extras_labels \
886 $(if $(filter WNT,$(OS)),extras_newfiles) \
887 extras_palettes \
888 extras_personas \
889 extras_persona_dark \
890 extras_persona_gray \
891 extras_persona_green \
892 extras_persona_pink \
893 extras_persona_sand \
894 extras_persona_white \
895 extras_tplofficorr \
896 extras_tploffimisc \
897 extras_tplpresnt \
898 extras_tpl_styles \
899 extras_tpldraw \
900 extras_tplpersonal \
901 extras_tplwizbitmap \
902 extras_tplwizdesktop \
903 extras_tplwizletter \
904 extras_tplwizfax \
905 extras_tplwizagenda \
906 extras_tplwizreport \
907 extras_tplwizstyles \
908 framework_dtd \
909 $(if $(filter $(OS),MACOSX),infoplist) \
910 oox_customshapes \
911 oox_generated \
912 package_dtd \
913 sd_web \
914 sfx2_emojiconfig \
915 $(call gb_Helper_optional,DESKTOP,\
916 $(if $(filter-out WNT,$(OS)),$(if $(ENABLE_MACOSX_SANDBOX),,shell_senddoc))) \
917 $(call gb_Helper_optional,DESKTOP,$(if $(filter-out EMSCRIPTEN MACOSX WNT,$(OS)),svx_gengal)) \
918 $(if $(USING_X11),vcl_fontunxppds) \
919 $(if $(filter $(OS),MACOSX),vcl_osxres) \
920 xmloff_dtd \
921 xmlscript_dtd \
922 $(call gb_Helper_optional,XMLHELP,xmlhelp_helpxsl) \
923 $(if $(ENABLE_JAVA),\
924 scripting_java \
925 scripting_java_jars \
926 $(if $(ENABLE_SCRIPTING_BEANSHELL),scripting_ScriptsBeanShell) \
927 $(if $(ENABLE_SCRIPTING_JAVASCRIPT),scripting_ScriptsJavaScript) \
929 $(if $(DISABLE_SCRIPTING),,scripting_scriptbindinglib) \
930 $(if $(filter $(OS),MACOSX),sysui_osxicons) \
931 wizards_basicshare \
932 wizards_basicsrvaccess2base \
933 wizards_basicsrvdepot \
934 wizards_basicsrveuro \
935 wizards_basicsrvgimmicks \
936 wizards_basicsrvimport \
937 wizards_basicsrvform \
938 wizards_basicsrvscriptforge \
939 wizards_basicsrvsfdatabases \
940 wizards_basicsrvsfdialogs \
941 wizards_basicsrvsfdocuments \
942 wizards_basicsrvstandard \
943 wizards_basicsrvtemplate \
944 wizards_basicsrvtools \
945 wizards_basicsrvtutorials \
946 wizards_basicusr \
947 wizards_properties \
948 wizards_wizardshare \
949 tipoftheday_images \
950 toolbarmode_images \
951 vcl_theme_definitions \
952 $(if $(filter WNT,$(OS)), \
953 vcl_opengl_denylist \
955 $(if $(ENABLE_OPENGL_CANVAS),canvas_opengl_shader) \
956 $(if $(filter SKIA,$(BUILD_TYPE)), \
957 vcl_skia_denylist ) \
958 $(if $(DISABLE_PYTHON),,$(if $(filter-out AIX,$(OS)), \
959 Pyuno/commonwizards \
960 Pyuno/fax \
961 Pyuno/letter \
962 Pyuno/agenda \
963 Pyuno/mailmerge \
964 )) \
965 sfx2_classification \
966 $(if $(filter OPENCL,$(BUILD_TYPE)),sc_opencl_runtimetest) \
967 $(if $(ENABLE_HTMLHELP),\
968 helpcontent2_html_dynamic \
969 helpcontent2_html_media \
970 helpcontent2_html_icon-themes \
971 helpcontent2_html_static \
973 resource_fonts \
974 cui \
977 $(eval $(call gb_Helper_register_packages_for_install,ooo_fonts,\
978 extras_fonts \
979 $(if $(USING_X11)$(DISABLE_GUI)$(filter ANDROID,$(OS)), \
980 postprocess_fontconfig) \
981 $(call gb_Helper_optional,MORE_FONTS,\
982 fonts_alef \
983 fonts_amiri \
984 fonts_caladea \
985 fonts_carlito \
986 $(if $(MPL_SUBSET),,fonts_culmus) \
987 fonts_dejavu \
988 fonts_emojione_color \
989 fonts_gentium \
990 $(if $(MPL_SUBSET),,fonts_kacst) \
991 fonts_liberation \
992 fonts_liberation_narrow \
993 fonts_libertineg \
994 fonts_libre_hebrew \
995 fonts_noto \
996 fonts_reem \
997 fonts_sourcecode \
998 fonts_sourcesans \
999 fonts_sourceserif \
1000 fonts_scheherazade \
1004 $(eval $(call gb_Helper_register_packages_for_install,ooo_images,\
1005 postprocess_images \
1006 $(call gb_Helper_optional,HELP,helpcontent2_helpimages) \
1009 $(eval $(call gb_Helper_register_packages_for_install,ogltrans,\
1010 sd_opengl \
1011 slideshow_opengl_shader \
1014 ifneq ($(ENABLE_POPPLER),)
1015 $(eval $(call gb_Helper_register_packages_for_install,pdfimport, \
1016 sdext_pdfimport_pdf \
1018 endif
1020 $(eval $(call gb_Helper_register_packages_for_install,reportbuilder,\
1021 reportbuilder_templates \
1024 $(eval $(call gb_Helper_register_packages_for_install,xsltfilter,\
1025 filter_docbook \
1026 filter_xhtml \
1027 filter_xslt \
1030 $(eval $(call gb_Helper_register_packages_for_install,brand,\
1031 desktop_branding \
1032 $(if $(CUSTOM_BRAND_DIR),desktop_branding_custom) \
1033 $(if $(filter DESKTOP,$(BUILD_TYPE)),desktop_scripts_install) \
1034 $(if $(and $(filter-out MACOSX HAIKU WNT,$(OS)),$(filter DESKTOP,$(BUILD_TYPE))),\
1035 $(if $(DISABLE_GUI),, \
1036 desktop_soffice_sh \
1039 readlicense_oo_files \
1040 readlicense_oo_license \
1041 $(call gb_Helper_optional,DESKTOP,setup_native_packinfo) \
1044 ifeq ($(USING_X11), TRUE)
1045 $(eval $(call gb_Helper_register_packages_for_install,base_brand,\
1046 desktop_sbase_sh \
1049 $(eval $(call gb_Helper_register_packages_for_install,calc_brand,\
1050 desktop_scalc_sh \
1053 $(eval $(call gb_Helper_register_packages_for_install,draw_brand,\
1054 desktop_sdraw_sh \
1057 $(eval $(call gb_Helper_register_packages_for_install,impress_brand,\
1058 desktop_simpress_sh \
1061 $(eval $(call gb_Helper_register_packages_for_install,math_brand,\
1062 desktop_smath_sh \
1065 $(eval $(call gb_Helper_register_packages_for_install,writer_brand,\
1066 desktop_swriter_sh \
1068 endif # USING_X11=TRUE
1070 $(eval $(call gb_Helper_register_packages_for_install,onlineupdate,\
1071 $(if $(ENABLE_ONLINE_UPDATE),$(if $(filter LINUX SOLARIS,$(OS)),setup_native_scripts)) \
1074 ifneq ($(DISABLE_PYTHON),TRUE)
1075 $(eval $(call gb_Helper_register_packages_for_install,python, \
1076 pyuno_pythonloader_ini \
1077 pyuno_python_scripts \
1078 $(if $(SYSTEM_PYTHON),,$(if $(filter-out WNT,$(OS)),python_shell)) \
1079 scripting_ScriptsPython \
1082 $(eval $(call gb_Helper_register_packages_for_install,python_scriptprovider, \
1083 scripting_scriptproviderforpython \
1086 ifeq (LIBRELOGO,$(filter LIBRELOGO,$(BUILD_TYPE)))
1087 $(eval $(call gb_Helper_register_packages_for_install,python_librelogo, \
1088 librelogo \
1089 librelogo_properties \
1091 endif # LIBRELOGO
1093 endif # DISABLE_PYTHON
1095 # External executables
1096 $(eval $(call gb_ExternalExecutable_register_executables,\
1097 genbrk \
1098 genccode \
1099 gencmn \
1100 python \
1101 ucpp \
1102 xmllint \
1103 xsltproc \
1106 # Resources
1107 $(eval $(call gb_Helper_register_mos,\
1108 acc \
1109 avmedia \
1110 $(call gb_Helper_optional,SCRIPTING,basctl) \
1111 chart \
1112 cnr \
1113 cui \
1114 dba \
1115 dkt \
1116 editeng \
1117 flt \
1118 for \
1119 $(call gb_Helper_optional,DESKTOP,fps) \
1120 frm \
1121 fwk \
1122 oox \
1123 pcr \
1124 rpt \
1125 $(call gb_Helper_optional,SCRIPTING,sb) \
1126 sc \
1127 sca \
1128 scc \
1129 sd \
1130 sfx \
1131 shell \
1132 sm \
1133 svl \
1134 svt \
1135 svx \
1136 sw \
1137 uui \
1138 vcl \
1139 wiz \
1140 wpt \
1141 $(if $(ENABLE_NSS)$(ENABLE_OPENSSL),xsc) \
1144 # UI configuration
1145 $(eval $(call gb_Helper_register_uiconfigs,\
1146 cui \
1147 $(call gb_Helper_optional,DBCONNECTIVITY,dbaccess) \
1148 desktop \
1149 editeng \
1150 filter \
1151 formula \
1152 fps \
1153 libreofficekit \
1154 $(call gb_Helper_optional,SCRIPTING,modules/BasicIDE) \
1155 $(call gb_Helper_optional,DBCONNECTIVITY,\
1156 modules/dbapp \
1157 modules/dbbrowser \
1158 modules/dbquery \
1159 modules/dbrelation \
1161 modules/dbreport \
1162 $(call gb_Helper_optional,DBCONNECTIVITY,\
1163 modules/dbtable \
1164 modules/dbtdata \
1166 modules/sabpilot \
1167 $(call gb_Helper_optional,DBCONNECTIVITY,modules/sbibliography) \
1168 modules/scalc \
1169 modules/scanner \
1170 modules/schart \
1171 modules/sdraw \
1172 modules/sglobal \
1173 modules/simpress \
1174 modules/smath \
1175 $(call gb_Helper_optional,DBCONNECTIVITY,modules/spropctrlr) \
1176 modules/StartModule \
1177 modules/sweb \
1178 modules/swform \
1179 modules/swreport \
1180 modules/swriter \
1181 modules/swxform \
1182 sfx \
1183 svt \
1184 svx \
1185 uui \
1186 vcl \
1187 writerperfect \
1188 $(if $(ENABLE_NSS)$(ENABLE_OPENSSL),xmlsec) \
1191 ifeq ($(gb_GBUILDSELFTEST),t)
1192 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,ooo, gbuildselftestdep gbuildselftest))
1193 $(eval $(call gb_Helper_register_executables,NONE, gbuildselftestexe))
1194 endif
1196 # vim: set noet sw=4 ts=4: