Update git submodules
[LibreOffice.git] / Repository.mk
blob88d01380140cebef6542c5ae5b0c0a1c79ba5a5f
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 ifneq ($(ENABLE_WASM_STRIP_CANVAS),TRUE)
21 $(eval $(call gb_Helper_register_executables,NONE, \
22 canvasdemo \
24 endif
26 $(eval $(call gb_Helper_register_executables,NONE, \
27 $(call gb_Helper_optional,HELPTOOLS, \
28 HelpIndexer \
29 HelpLinker \
30 ) \
31 bestreversemap \
32 cfgex \
33 concat-deps \
34 cpp \
35 cppunittester \
36 $(if $(or $(filter EMSCRIPTEN,$(BUILD_TYPE_FOR_HOST)),$(filter EMSCRIPTEN,$(OS))),embindmaker) \
37 gbuildtojson \
38 $(if $(filter MSC,$(COM)), \
39 gcc-wrapper \
40 g++-wrapper \
41 ) \
42 gencoll_rule \
43 genconv_dict \
44 gendict \
45 genindex_data \
46 helpex \
47 idxdict \
48 io-testconnection \
49 langsupport \
50 $(if $(filter iOS,$(OS)),LibreOffice) \
51 lngconvex \
52 localize \
53 $(call gb_CondExeLockfile,lockfile) \
54 makedepend \
55 mbsdiff \
56 osl_process_child \
57 pdf2xml \
58 pdfunzip \
59 pdfverify \
60 pocheck \
61 propex \
62 regsvrex \
63 saxparser \
64 svidl \
65 $(if $(ENABLE_ONLINE_UPDATE_MAR),\
66 test_updater_dialog \
67 ) \
68 treex \
69 ulfex \
70 unoidl-check \
71 xrmex \
72 $(if $(filter-out ANDROID iOS WNT,$(OS)), \
73 fftester \
74 svpclient ) \
75 $(if $(filter LINUX %BSD SOLARIS,$(OS)), tilebench) \
76 $(if $(filter LINUX MACOSX SOLARIS WNT %BSD,$(OS)),icontest) \
77 vcldemo \
78 svdemo \
79 minvcl \
80 svptest \
81 tiledrendering \
82 mtfdemo \
83 visualbackendtest \
84 listfonts \
85 listglyphs \
86 $(if $(and $(ENABLE_GTK3), $(filter LINUX %BSD SOLARIS,$(OS))), gtktiledviewer) \
87 $(if $(and $(ENABLE_GTKTILEDVIEWER), $(filter WNT,$(OS))), gtktiledviewer) \
88 $(if $(filter EMSCRIPTEN,$(OS)),wasm-qt5-mandelbrot) \
91 $(eval $(call gb_Helper_register_executables_for_install,SDK,sdk, \
92 $(if $(filter MSC,$(COM)),$(if $(filter-out AARCH64_TRUE,$(CPUNAME)_$(CROSS_COMPILING)),climaker)) \
93 cppumaker \
94 javamaker \
95 $(call gb_CondExeSp2bv,sp2bv) \
96 $(if $(filter ODK,$(BUILD_TYPE)),unoapploader) \
97 unoidl-read \
98 unoidl-write \
99 $(if $(filter ODK,$(BUILD_TYPE)),uno-skeletonmaker) \
102 ifneq ($(ENABLE_WASM_STRIP_ACCESSIBILITY),TRUE)
103 $(eval $(call gb_Helper_register_executables_for_install,OOO,brand, \
104 $(if $(filter-out ANDROID HAIKU iOS MACOSX WNT,$(OS)),oosplash) \
106 endif
108 $(eval $(call gb_Helper_register_executables_for_install,OOO,brand, \
109 $(if $(ENABLE_ONLINE_UPDATE_MAR),\
110 mar \
111 $(if $(filter WNT,$(OS)), \
112 update_service \
114 updater )\
115 $(call gb_Helper_optional,BREAKPAD,minidump_upload) \
116 $(call gb_Helper_optional,FUZZERS,wmffuzzer) \
117 $(call gb_Helper_optional,FUZZERS,jpgfuzzer) \
118 $(call gb_Helper_optional,FUZZERS,giffuzzer) \
119 $(call gb_Helper_optional,FUZZERS,xbmfuzzer) \
120 $(call gb_Helper_optional,FUZZERS,xpmfuzzer) \
121 $(call gb_Helper_optional,FUZZERS,pngfuzzer) \
122 $(call gb_Helper_optional,FUZZERS,bmpfuzzer) \
123 $(call gb_Helper_optional,FUZZERS,svmfuzzer) \
124 $(call gb_Helper_optional,FUZZERS,pcdfuzzer) \
125 $(call gb_Helper_optional,FUZZERS,dxffuzzer) \
126 $(call gb_Helper_optional,FUZZERS,metfuzzer) \
127 $(call gb_Helper_optional,FUZZERS,ppmfuzzer) \
128 $(call gb_Helper_optional,FUZZERS,psdfuzzer) \
129 $(call gb_Helper_optional,FUZZERS,epsfuzzer) \
130 $(call gb_Helper_optional,FUZZERS,pctfuzzer) \
131 $(call gb_Helper_optional,FUZZERS,pcxfuzzer) \
132 $(call gb_Helper_optional,FUZZERS,rasfuzzer) \
133 $(call gb_Helper_optional,FUZZERS,tgafuzzer) \
134 $(call gb_Helper_optional,FUZZERS,tiffuzzer) \
135 $(call gb_Helper_optional,FUZZERS,hwpfuzzer) \
136 $(call gb_Helper_optional,FUZZERS,602fuzzer) \
137 $(call gb_Helper_optional,FUZZERS,lwpfuzzer) \
138 $(call gb_Helper_optional,FUZZERS,olefuzzer) \
139 $(call gb_Helper_optional,FUZZERS,pptfuzzer) \
140 $(call gb_Helper_optional,FUZZERS,rtffuzzer) \
141 $(call gb_Helper_optional,FUZZERS,cgmfuzzer) \
142 $(call gb_Helper_optional,FUZZERS,ww2fuzzer) \
143 $(call gb_Helper_optional,FUZZERS,ww6fuzzer) \
144 $(call gb_Helper_optional,FUZZERS,ww8fuzzer) \
145 $(call gb_Helper_optional,FUZZERS,qpwfuzzer) \
146 $(call gb_Helper_optional,FUZZERS,slkfuzzer) \
147 $(call gb_Helper_optional,FUZZERS,fodtfuzzer) \
148 $(call gb_Helper_optional,FUZZERS,fodt2pdffuzzer) \
149 $(call gb_Helper_optional,FUZZERS,fodsfuzzer) \
150 $(call gb_Helper_optional,FUZZERS,fodpfuzzer) \
151 $(call gb_Helper_optional,FUZZERS,xlsfuzzer) \
152 $(call gb_Helper_optional,FUZZERS,scrtffuzzer) \
153 $(call gb_Helper_optional,FUZZERS,wksfuzzer) \
154 $(call gb_Helper_optional,FUZZERS,diffuzzer) \
155 $(call gb_Helper_optional,FUZZERS,docxfuzzer) \
156 $(call gb_Helper_optional,FUZZERS,xlsxfuzzer) \
157 $(call gb_Helper_optional,FUZZERS,pptxfuzzer) \
158 $(call gb_Helper_optional,FUZZERS,mmlfuzzer) \
159 $(call gb_Helper_optional,FUZZERS,mtpfuzzer) \
160 $(call gb_Helper_optional,FUZZERS,htmlfuzzer) \
161 $(call gb_Helper_optional,FUZZERS,sftfuzzer) \
162 $(call gb_Helper_optional,FUZZERS,dbffuzzer) \
163 $(call gb_Helper_optional,FUZZERS,webpfuzzer) \
164 $(call gb_Helper_optional,FUZZERS,zipfuzzer) \
165 $(call gb_Helper_optional,FUZZERS,svgfuzzer) \
166 soffice_bin \
167 $(call gb_CondExeUnopkg, \
168 unopkg_bin \
169 $(if $(filter WNT,$(OS)), \
170 unopkg \
171 unopkg_com \
174 $(if $(filter WNT,$(OS)), \
175 soffice_exe \
176 soffice_com \
177 soffice_safe \
178 unoinfo \
179 $(if $(filter-out AARCH64,$(CPUNAME)),twain32shim) \
183 $(eval $(call gb_Helper_register_executables_for_install,OOO,base_brand, \
184 $(if $(filter WNT,$(OS)), \
185 sbase \
189 $(eval $(call gb_Helper_register_executables_for_install,OOO,base, \
190 $(if $(filter WNT,$(OS)), \
191 odbcconfig \
195 $(eval $(call gb_Helper_register_executables_for_install,OOO,calc_brand, \
196 $(if $(filter WNT,$(OS)), \
197 scalc \
201 $(eval $(call gb_Helper_register_executables_for_install,OOO,draw_brand, \
202 $(if $(filter WNT,$(OS)), \
203 sdraw \
207 $(eval $(call gb_Helper_register_executables_for_install,OOO,impress_brand, \
208 $(if $(filter WNT,$(OS)), \
209 simpress \
213 $(eval $(call gb_Helper_register_executables_for_install,OOO,math_brand, \
214 $(if $(filter WNT,$(OS)), \
215 smath \
219 $(eval $(call gb_Helper_register_executables_for_install,OOO,writer_brand, \
220 $(if $(filter WNT,$(OS)), \
221 sweb \
222 swriter \
226 $(eval $(call gb_Helper_register_executables_for_install,OOO,ooo, \
227 gengal \
228 $(if $(filter WNT,$(OS)),,uri-encode) \
229 $(if $(filter WNT,$(OS)), \
230 senddoc \
232 $(if $(filter OPENCL,$(BUILD_TYPE)),opencltest) \
235 ifeq ($(OS),WNT)
236 $(eval $(call gb_Helper_register_executables_for_install,OOO,quickstart, \
237 quickstart \
239 endif
241 $(eval $(call gb_Helper_register_executables_for_install,OOO,python, \
242 $(if $(filter WNT,$(OS)), \
243 python \
247 ifneq ($(ENABLE_POPPLER),)
248 $(eval $(call gb_Helper_register_executables_for_install,OOO,pdfimport, \
249 xpdfimport \
251 endif
253 $(eval $(call gb_Helper_register_executables_for_install,UREBIN,ure,\
254 $(if $(and $(ENABLE_JAVA),$(filter-out HAIKU MACOSX WNT,$(OS)),$(filter DESKTOP,$(BUILD_TYPE))),javaldx) \
255 $(call gb_CondExeRegistryTools, \
256 regview \
258 $(call gb_CondExeUno,uno) \
261 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,base, \
262 abp \
263 dbp \
264 dbu \
267 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,calc, \
268 analysis \
269 $(call gb_Helper_optional,DBCONNECTIVITY,calc) \
270 date \
271 pricing \
272 sc \
273 scd \
274 scfilt \
275 wpftcalc \
276 solver \
277 $(call gb_Helper_optional,SCRIPTING,vbaobj) \
280 $(eval $(call gb_Helper_register_plugins_for_install,OOOLIBS,calc, \
281 scui \
284 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,graphicfilter, \
285 svgfilter \
286 wpftdraw \
287 graphicfilter \
290 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,impress, \
291 animcore \
292 PresentationMinimizer \
293 wpftimpress \
296 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,onlineupdate, \
297 $(if $(ENABLE_ONLINE_UPDATE), \
298 updatecheckui \
299 updchk \
303 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,gnome, \
304 $(if $(ENABLE_EVOAB2),evoab) \
305 $(if $(ENABLE_GIO),losessioninstall) \
306 $(if $(ENABLE_GIO),ucpgio1) \
309 $(eval $(call gb_Helper_register_plugins_for_install,OOOLIBS,gnome, \
310 $(if $(ENABLE_GTK3),vclplug_gtk3) \
311 $(if $(ENABLE_GTK4),vclplug_gtk4) \
314 gb_haiku_or_kde := $(if $(filter HAIKU,$(OS)),haiku,kde)
316 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,kde, \
317 $(if $(ENABLE_KF5),kf5be1) \
320 $(eval $(call gb_Helper_register_plugins_for_install,OOOLIBS,$(gb_haiku_or_kde), \
321 $(if $(ENABLE_KF5),vclplug_kf5) \
322 $(if $(ENABLE_KF6),vclplug_kf6) \
323 $(if $(ENABLE_QT5),vclplug_qt5) \
324 $(if $(ENABLE_QT6),vclplug_qt6) \
325 $(if $(ENABLE_GTK3_KDE5),vclplug_gtk3_kde5) \
328 $(eval $(call gb_Helper_register_executables_for_install,OOO,$(gb_haiku_or_kde), \
329 $(if $(ENABLE_GTK3_KDE5),lo_kde5filepicker) \
332 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,math, \
333 sm \
334 smd \
337 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,ogltrans, \
338 OGLTrans \
341 ifeq ($(OS),EMSCRIPTEN)
342 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,ooo, \
343 lo-bootstrap \
345 endif
347 ifneq ($(ENABLE_WASM_STRIP_CANVAS),TRUE)
348 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,ooo, \
349 canvastools \
350 $(if $(ENABLE_CAIRO_CANVAS),cairocanvas) \
351 canvasfactory \
352 cppcanvas \
353 $(if $(filter WNT,$(OS)),directx9canvas) \
354 $(if $(ENABLE_OPENGL_CANVAS),oglcanvas) \
355 $(if $(filter WNT,$(OS)),gdipluscanvas) \
356 simplecanvas \
357 vclcanvas \
359 endif
361 ifneq ($(ENABLE_WASM_STRIP_GUESSLANG),TRUE)
362 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,ooo, \
363 guesslang \
365 endif
367 ifneq ($(ENABLE_WASM_STRIP_HUNSPELL),TRUE)
368 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,ooo, \
369 hyphen \
370 lnth \
371 spell \
372 $(if $(filter iOS MACOSX,$(OS)), \
373 MacOSXSpell \
376 endif
378 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,ooo, \
379 avmedia \
380 $(if $(ENABLE_CURL),LanguageTool) \
381 $(call gb_Helper_optional,AVMEDIA, \
382 $(if $(filter MACOSX,$(OS)),\
383 avmediaMacAVF \
386 $(call gb_Helper_optional,SCRIPTING, \
387 basctl \
388 basprov \
390 basegfx \
391 bib \
392 chartcore \
393 chartcontroller \
394 $(call gb_Helper_optional,OPENCL,clew) \
395 $(if $(filter $(OS),WNT),,cmdmail) \
396 configmgr \
397 ctl \
398 dba \
399 dbahsql \
400 $(call gb_Helper_optional,DBCONNECTIVITY, \
401 dbase \
402 dbaxml) \
403 dbtools \
404 deploymentmisc \
405 $(if $(filter-out MACOSX WNT,$(OS)),desktopbe1) \
406 $(call gb_Helper_optional,SCRIPTING,dlgprov) \
407 docmodel \
408 drawinglayercore \
409 drawinglayer \
410 editeng \
411 $(if $(filter WNT,$(OS)),emser) \
412 evtatt \
413 $(call gb_Helper_optional,DBCONNECTIVITY, \
414 flat \
415 file) \
416 filterconfig \
417 fps_office \
418 for \
419 forui \
420 frm \
421 fsstorage \
422 fwk \
423 $(call gb_Helper_optionals_or,HELPTOOLS XMLHELP,helplinker) \
424 i18npool \
425 i18nsearch \
426 $(if $(ENABLE_JAVA),jdbc) \
427 $(if $(filter WNT,$(OS)),jumplist) \
428 $(if $(ENABLE_LDAP),ldapbe2) \
429 $(if $(filter WNT,$(OS)),WinUserInfoBe) \
430 localebe1 \
431 log \
432 lng \
433 $(if $(filter $(OS),MACOSX),macbe1) \
434 $(if $(MERGELIBS),merged) \
435 migrationoo2 \
436 migrationoo3 \
437 mozbootstrap \
438 msfilter \
439 $(call gb_Helper_optional,SCRIPTING,msforms) \
440 mtfrenderer \
441 $(call gb_Helper_optional,DBCONNECTIVITY,mysql_jdbc) \
442 $(call gb_Helper_optional,MARIADBC,$(call gb_Helper_optional,DBCONNECTIVITY,mysqlc)) \
443 numbertext \
444 odbc \
445 odfflatxml \
446 offacc \
447 oox \
448 $(call gb_Helper_optional,OPENCL,opencl) \
449 passwordcontainer \
450 pcr \
451 pdffilter \
452 $(call gb_Helper_optional,SCRIPTING,protocolhandler) \
453 sax \
454 sb \
455 $(call gb_Helper_optional,DBCONNECTIVITY,sdbt) \
456 scn \
457 sd \
458 sdd \
459 sfx \
460 slideshow \
461 sot \
462 $(if $(or $(DISABLE_GUI),$(ENABLE_WASM_STRIP_SPLASH)),,spl) \
463 storagefd \
464 $(call gb_Helper_optional,SCRIPTING,stringresource) \
465 svgio \
466 emfio \
467 svl \
468 svt \
469 svx \
470 svxcore \
471 sw \
472 syssh \
473 textconversiondlgs \
474 textfd \
475 tk \
476 tl \
477 ucpexpand1 \
478 ucpext \
479 ucpimage \
480 $(if $(ENABLE_LIBCMIS),ucpcmis1) \
481 ucptdoc1 \
482 unordf \
483 unoxml \
484 updatefeed \
485 utl \
486 uui \
487 $(call gb_Helper_optional,SCRIPTING, \
488 vbaevents \
489 vbahelper \
491 vcl \
492 writerperfect \
493 xmlscript \
494 xmlfa \
495 xmlfd \
496 xo \
497 xof \
498 xsltdlg \
499 xsltfilter \
500 $(if $(filter $(OS),WNT), \
501 ado \
502 oleautobridge \
503 smplmail \
504 wininetbe1 \
506 $(if $(filter $(OS),MACOSX), \
507 $(if $(ENABLE_MACOSX_SANDBOX),, \
508 AppleRemote \
510 fps_aqua \
514 $(eval $(call gb_Helper_register_plugins_for_install,OOOLIBS,ooo, \
515 acc \
516 $(if $(ENABLE_CUSTOMTARGET_COMPONENTS),components) \
517 cui \
518 $(if $(USING_X11),desktop_detector) \
519 icg \
520 sdui \
521 $(if $(ENABLE_GEN),vclplug_gen) \
522 $(if $(filter $(OS),WNT),vclplug_win) \
523 $(if $(filter $(OS),MACOSX),vclplug_osx) \
526 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,postgresqlsdbc, \
527 $(if $(BUILD_POSTGRESQL_SDBC), \
528 postgresql-sdbc \
529 postgresql-sdbc-impl) \
532 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,firebirdsdbc, \
533 $(if $(ENABLE_FIREBIRD_SDBC),firebird_sdbc) \
536 ifneq ($(ENABLE_PDFIMPORT),)
537 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,pdfimport, \
538 pdfimport \
540 endif
542 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,python, \
543 pythonloader \
546 $(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_OOO,python, \
547 pyuno \
548 $(if $(filter-out WNT,$(OS)),pyuno_wrapper) \
551 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,reportbuilder, \
552 rpt \
553 rptui \
554 rptxml \
557 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,writer, \
558 hwp \
559 $(if $(ENABLE_LWP),lwpft) \
560 msword \
561 swd \
562 t602filter \
563 $(call gb_Helper_optional,SCRIPTING,vbaswobj) \
564 wpftwriter \
565 writerfilter \
566 $(call gb_Helper_optional,DBCONNECTIVITY,writer) \
569 $(eval $(call gb_Helper_register_plugins_for_install,OOOLIBS,writer, \
570 swui \
573 # cli_cppuhelper is NONE even though it is actually in URE because it is CliNativeLibrary
574 $(eval $(call gb_Helper_register_libraries,PLAINLIBS_NONE, \
575 smoketest \
576 subsequenttest \
577 test \
578 test-setupvcl \
579 testtools_cppobj \
580 testtools_bridgetest \
581 testtools_bridgetest-common \
582 testtools_constructors \
583 unobootstrapprotector \
584 unoexceptionprotector \
585 unotest \
586 vclbootstrapprotector \
587 scqahelper \
588 swqahelper \
589 wpftqahelper \
590 precompiled_system \
591 $(if $(filter MSC,$(COM)),cli_cppuhelper) \
592 $(if $(filter $(OS),ANDROID),lo-bootstrap) \
593 $(if $(filter $(OS),MACOSX),OOoSpotlightImporter) \
596 $(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_URE,ure, \
597 affine_uno_uno \
598 $(if $(filter MSC,$(COM)),$(if $(filter-out AARCH64_TRUE,$(CPUNAME)_$(CROSS_COMPILING)),cli_uno)) \
599 i18nlangtag \
600 $(if $(ENABLE_JAVA), \
601 java_uno \
602 jpipe \
603 $(if $(filter $(OS),WNT),jpipx) \
604 juh \
605 juhx \
607 log_uno_uno \
608 unsafe_uno_uno \
611 $(eval $(call gb_Helper_register_plugins_for_install,PLAINLIBS_URE,ure, \
612 $(if $(filter MSC,$(COM)), \
613 $(if $(filter INTEL,$(CPUNAME)),msci_uno) \
614 $(if $(filter X86_64,$(CPUNAME)),mscx_uno) \
615 $(if $(filter AARCH64,$(CPUNAME)),msca_uno) \
616 , gcc3_uno) \
619 $(eval $(call gb_Helper_register_libraries_for_install,PRIVATELIBS_URE,ure, \
620 binaryurp \
621 bootstrap \
622 introspection \
623 invocadapt \
624 invocation \
625 io \
626 $(if $(ENABLE_JAVA),javaloader) \
627 $(if $(ENABLE_JAVA),javavm) \
628 $(if $(ENABLE_JAVA),jvmaccess) \
629 $(if $(ENABLE_JAVA),jvmfwk) \
630 namingservice \
631 proxyfac \
632 reflection \
633 reg \
634 stocservices \
635 store \
636 unoidl \
637 uuresolver \
638 xmlreader \
641 $(eval $(call gb_Helper_register_plugins_for_install,PRIVATELIBS_URE,ure, \
642 $(call gb_CondLibSalTextenc,sal_textenc) \
645 ifneq ($(ENABLE_WASM_STRIP_ACCESSIBILITY),TRUE)
646 $(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_OOO,ooo, \
647 $(if $(filter WNT,$(OS)), \
648 winaccessibility \
651 endif
653 $(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_OOO,ooo, \
654 $(call gb_Helper_optional,AVMEDIA, \
655 $(if $(ENABLE_GSTREAMER_1_0),avmediagst) \
656 $(if $(ENABLE_GTK4),avmediagtk) \
657 $(if $(filter WNT,$(OS)),avmediawin) \
659 cached1 \
660 comphelper \
661 $(call gb_Helper_optional,DBCONNECTIVITY,dbpool2) \
662 $(call gb_Helper_optional,BREAKPAD,crashreport) \
663 deployment \
664 deploymentgui \
665 embobj \
666 $(if $(ENABLE_JAVA),hsqldb) \
667 i18nutil \
668 $(if $(and $(ENABLE_GTK3), $(filter LINUX %BSD SOLARIS,$(OS))), libreofficekitgtk) \
669 $(if $(and $(ENABLE_GTKTILEDVIEWER), $(filter WNT,$(OS))), libreofficekitgtk) \
670 $(if $(ENABLE_JAVA), \
671 $(if $(filter $(OS),MACOSX),,officebean) \
673 emboleobj \
674 package2 \
675 $(call gb_Helper_optional,SCRIPTING,scriptframe) \
676 sdbc2 \
677 sofficeapp \
678 srtrs1 \
679 ucb1 \
680 ucbhelper \
681 $(if $(WITH_WEBDAV),ucpdav1) \
682 ucpfile1 \
683 $(call gb_Helper_optional,XMLHELP,ucpchelp1) \
684 ucphier1 \
685 ucppkg1 \
686 $(call gb_CondExeUnopkg,unopkgapp) \
687 xmlsecurity \
688 xsec_xmlsec \
689 xstor \
690 $(if $(filter $(OS),MACOSX), \
691 macab1 \
692 macabdrv1 \
694 $(if $(filter WNT,$(OS)), \
695 fps \
696 inprocserv \
697 UAccCOM \
701 $(eval $(call gb_Helper_register_plugins_for_install,PLAINLIBS_OOO,ooo, \
702 dict_ja \
703 dict_zh \
704 localedata_en \
705 localedata_es \
706 localedata_euro \
707 localedata_others \
708 textconv_dict \
711 ifeq ($(OS),WNT)
712 $(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_OOO,activexbinarytable, \
713 regactivex \
716 $(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_OOO,activex, \
717 so_activex \
720 ifneq ($(BUILD_X64),)
721 $(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_OOO,activexwin64, \
722 so_activex_x64 \
724 endif
726 $(eval $(call gb_Helper_register_executables_for_install,OOO,spsuppfiles, \
727 spsupp_helper \
730 $(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_OOO,spsuppfiles, \
731 $(if $(CXX_X64_BINARY),spsupp_x64) \
732 $(if $(CXX_X86_BINARY),spsupp_x86) \
735 $(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_OOO,ooobinarytable, \
736 $(if $(WINDOWS_SDK_HOME),\
737 instooofiltmsi \
738 inst_msu_msi \
739 qslnkmsi \
740 reg_dlls \
741 reg4allmsdoc \
742 sdqsmsi \
743 sellangmsi \
744 sn_tools \
745 $(if $(ENABLE_ONLINE_UPDATE_MAR),install_updateservice) \
749 $(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_OOO,winexplorerextbinarytable, \
750 shlxtmsi \
753 $(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_SHLXTHDL,winexplorerext, \
754 ooofilt \
755 propertyhdl \
756 shlxthdl \
759 ifneq ($(BUILD_X64),)
760 $(eval $(call gb_Helper_register_packages_for_install,winexplorerextwin64, \
761 $(if $(filter MSC,$(COM)),msvc_dlls) \
764 $(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_SHLXTHDL,winexplorerextwin64, \
765 ooofilt_x64 \
766 propertyhdl_x64 \
767 shlxthdl_x64 \
769 endif # BUILD_X64
771 endif # WNT
773 $(eval $(call gb_Helper_register_libraries_for_install,RTVERLIBS,ure, \
774 cppuhelper \
775 purpenvhelper \
776 salhelper \
779 $(eval $(call gb_Helper_register_libraries_for_install,UNOVERLIBS,ure, \
780 cppu \
781 sal \
784 $(eval $(call gb_Helper_register_libraries,EXTENSIONLIBS, \
785 active_native \
786 passive_native \
787 crashextension \
790 ifneq ($(ENABLE_JAVA),)
791 $(eval $(call gb_Helper_register_jars_for_install,URE,ure, \
792 java_uno \
793 juh \
794 jurt \
795 libreoffice \
796 ridl \
797 unoloader \
800 $(eval $(call gb_Helper_register_jars_for_install,OOO,ooo, \
801 ScriptFramework \
802 ScriptProviderForJava \
803 XMergeBridge \
804 commonwizards \
805 form \
806 $(if $(filter-out MACOSX,$(OS)),officebean) \
807 query \
808 report \
809 sdbc_hsqldb \
810 smoketest \
811 table \
812 unoil \
813 xmerge \
816 $(eval $(call gb_Helper_register_jars_for_install,OOO,reportbuilder, \
817 reportbuilder \
818 reportbuilderwizard \
821 ifneq ($(ENABLE_SCRIPTING_BEANSHELL),)
822 $(eval $(call gb_Helper_register_jars_for_install,OOO,extensions_bsh, \
823 ScriptProviderForBeanShell \
825 endif
827 ifneq ($(ENABLE_SCRIPTING_JAVASCRIPT),)
828 $(eval $(call gb_Helper_register_jars_for_install,OOO,extensions_rhino, \
829 ScriptProviderForJavaScript \
831 endif
833 ifeq (NUMBERTEXT,$(filter NUMBERTEXT,$(BUILD_TYPE)))
834 $(eval $(call gb_Helper_register_packages_for_install,extensions_numbertext,\
835 numbertext \
837 endif
839 $(eval $(call gb_Helper_register_jars,OXT, \
840 EvolutionarySolver \
841 active_java \
842 mediawiki \
843 nlpsolver \
844 passive_java \
847 $(eval $(call gb_Helper_register_jars,NONE,\
848 ConnectivityTools \
849 HelloWorld \
850 Highlight \
851 MemoryUsage \
852 OOoRunner \
853 TestExtension \
854 test \
855 test-tools \
856 testComponent \
858 endif
860 # 'test_unittest' is only package delivering to workdir.
861 # Other packages could be potentially autoinstalled.
862 $(eval $(call gb_Helper_register_packages, \
863 test_unittest \
864 cli_basetypes_copy \
865 extras_wordbook \
866 instsetoo_native_setup \
867 $(if $(ENABLE_OOENV),instsetoo_native_ooenv) \
868 postprocess_registry \
869 readlicense_oo_readmes \
870 setup_native_misc \
871 sysui_share \
872 vcl_fontunxpsprint \
875 $(eval $(call gb_Helper_register_packages_for_install,impress,\
876 sd_xml \
879 $(eval $(call gb_Helper_register_packages_for_install,calc,\
880 sc_res_xml \
883 $(eval $(call gb_Helper_register_packages_for_install,libreofficekit,\
884 $(if $(filter LINUX %BSD SOLARIS, $(OS)),libreofficekit_selectionhandles) \
885 $(if $(and $(ENABLE_GTKTILEDVIEWER), $(filter WNT,$(OS))), libreofficekit_selectionhandles) \
888 $(eval $(call gb_Helper_register_packages_for_install,ure,\
889 instsetoo_native_setup_ure \
890 $(call gb_CondExeUno,uno_sh) \
891 ure_install \
892 $(if $(ENABLE_JAVA),\
893 jvmfwk_jvmfwk3_ini \
894 jvmfwk_javavendors \
895 jvmfwk_jreproperties \
896 $(if $(filter MACOSX,$(OS)),bridges_jnilib_java_uno) \
900 $(eval $(call gb_Helper_register_packages_for_install,postgresqlsdbc,\
901 $(if $(BUILD_POSTGRESQL_SDBC),connectivity_postgresql-sdbc) \
904 $(eval $(call gb_Helper_register_packages_for_install,sdk,\
905 odk_share_readme \
906 odk_share_readme_generated \
907 $(if $(filter WNT,$(OS)),$(if $(filter-out AARCH64_TRUE,$(CPUNAME)_$(CROSS_COMPILING)),odk_cli)) \
908 odk_config \
909 $(if $(filter WNT,$(OS)),odk_config_win) \
910 odk_docs \
911 $(if $(DOXYGEN),odk_doxygen) \
912 odk_examples \
913 odk_headers \
914 odk_headers_generated \
915 odk_html \
916 odk_settings \
917 odk_settings_generated \
918 $(if $(ENABLE_JAVA), \
919 odk_javadoc \
920 odk_uno_loader_classes \
924 ifneq ($(ENABLE_WASM_STRIP_PINGUSER),TRUE)
925 $(eval $(call gb_Helper_register_packages_for_install,ooo,\
926 tipoftheday_images \
928 endif
930 ifneq ($(ENABLE_WASM_STRIP_CANVAS),TRUE)
931 $(eval $(call gb_Helper_register_packages_for_install,ooo,\
932 $(if $(ENABLE_OPENGL_CANVAS),canvas_opengl_shader) \
934 endif
936 $(eval $(call gb_Helper_register_packages_for_install,ooo,\
937 $(if $(SYSTEM_LIBEXTTEXTCAT),,libexttextcat_fingerprint) \
938 officecfg_misc \
939 $(if $(filter $(OS),MACOSX), \
940 extensions_mdibundle \
941 extensions_OOoSpotlightImporter \
943 extras_autocorr \
944 extras_autotextuser \
945 extras_cfgsrvnolang \
946 extras_cfgusr \
947 extras_database \
948 extras_databasebiblio \
949 extras_gallbullets \
950 extras_gallmytheme \
951 extras_gallroot \
952 extras_gallsystem \
953 extras_gallsystemstr \
954 extras_glade \
955 extras_labels \
956 $(if $(filter WNT,$(OS)),extras_newfiles) \
957 extras_palettes \
958 extras_personas \
959 extras_persona_dark \
960 extras_persona_gray \
961 extras_persona_green \
962 extras_persona_pink \
963 extras_persona_sand \
964 extras_persona_white \
965 extras_tplwizdesktop \
966 $(if $(WITH_TEMPLATES),\
967 extras_templates \
968 extras_tplpresnt \
969 extras_tplwizbitmap \
970 extras_tplwizard \
972 framework_dtd \
973 $(if $(filter $(OS),MACOSX),infoplist) \
974 oox_customshapes \
975 oox_generated \
976 package_dtd \
977 $(call gb_Helper_optional,DESKTOP,\
978 $(if $(filter-out WNT,$(OS)),$(if $(ENABLE_MACOSX_SANDBOX),,shell_senddoc))) \
979 $(call gb_Helper_optional,DESKTOP,$(if $(filter-out EMSCRIPTEN MACOSX WNT,$(OS)),svx_gengal)) \
980 $(if $(USING_X11),vcl_fontunxppds) \
981 $(if $(filter $(OS),MACOSX),vcl_osxres) \
982 xmloff_dtd \
983 xmlscript_dtd \
984 $(call gb_Helper_optional,XMLHELP,xmlhelp_helpxsl) \
985 $(if $(ENABLE_JAVA),\
986 scripting_java \
987 scripting_java_jars \
988 $(if $(ENABLE_SCRIPTING_BEANSHELL),scripting_ScriptsBeanShell) \
989 $(if $(ENABLE_SCRIPTING_JAVASCRIPT),scripting_ScriptsJavaScript) \
991 $(call gb_Helper_optional,SCRIPTING,scripting_scriptbindinglib) \
992 $(if $(filter $(OS),MACOSX),sysui_osxicons) \
993 wizards_basicshare \
994 wizards_basicsrvaccess2base \
995 wizards_basicsrvdepot \
996 wizards_basicsrveuro \
997 wizards_basicsrvgimmicks \
998 wizards_basicsrvimport \
999 wizards_basicsrvform \
1000 wizards_basicsrvscriptforge \
1001 wizards_basicsrvsfdatabases \
1002 wizards_basicsrvsfdialogs \
1003 wizards_basicsrvsfdocuments \
1004 wizards_basicsrvsfunittests \
1005 wizards_basicsrvsfwidgets \
1006 wizards_basicsrvstandard \
1007 wizards_basicsrvtemplate \
1008 wizards_basicsrvtools \
1009 wizards_basicsrvtutorials \
1010 wizards_basicusr \
1011 wizards_properties \
1012 wizards_wizardshare \
1013 toolbarmode_images \
1014 vcl_theme_definitions \
1015 $(if $(filter WNT,$(OS)), \
1016 vcl_opengl_denylist \
1018 $(if $(filter SKIA,$(BUILD_TYPE)), \
1019 vcl_skia_denylist ) \
1020 $(if $(DISABLE_PYTHON),, \
1021 Pyuno/commonwizards \
1022 Pyuno/fax \
1023 Pyuno/letter \
1024 Pyuno/agenda \
1025 Pyuno/mailmerge \
1027 sfx2_classification \
1028 $(if $(filter OPENCL,$(BUILD_TYPE)),sc_opencl_runtimetest) \
1029 $(if $(ENABLE_HTMLHELP),\
1030 helpcontent2_html_dynamic \
1031 helpcontent2_html_media \
1032 helpcontent2_html_icon-themes \
1033 helpcontent2_html_static \
1035 resource_fonts \
1036 cui \
1037 $(if $(filter EMSCRIPTEN,$(OS)),unoembind) \
1040 $(eval $(call gb_Helper_register_packages_for_install,ooo_fonts,\
1041 extras_fonts \
1042 $(if $(USING_X11)$(DISABLE_GUI)$(filter ANDROID EMSCRIPTEN,$(OS)), \
1043 postprocess_fontconfig) \
1044 $(call gb_Helper_optional,MORE_FONTS,\
1045 fonts_alef \
1046 fonts_amiri \
1047 fonts_caladea \
1048 fonts_carlito \
1049 $(if $(MPL_SUBSET),,fonts_culmus) \
1050 fonts_dejavu \
1051 fonts_gentium \
1052 fonts_liberation \
1053 fonts_liberation_narrow \
1054 fonts_libertineg \
1055 fonts_libre_hebrew \
1056 fonts_noto_kufi_arabic \
1057 fonts_noto_naskh_arabic \
1058 fonts_noto_sans \
1059 fonts_noto_sans_arabic \
1060 fonts_noto_sans_armenian \
1061 fonts_noto_sans_georgian \
1062 fonts_noto_sans_hebrew \
1063 fonts_noto_sans_lao \
1064 fonts_noto_sans_lisu \
1065 fonts_noto_serif \
1066 fonts_noto_serif_armenian \
1067 fonts_noto_serif_georgian \
1068 fonts_noto_serif_hebrew \
1069 fonts_noto_serif_lao \
1070 fonts_reem \
1071 fonts_scheherazade \
1075 $(eval $(call gb_Helper_register_packages_for_install,ooo_images,\
1076 postprocess_images \
1077 $(call gb_Helper_optional,HELP,helpcontent2_helpimages) \
1080 $(eval $(call gb_Helper_register_packages_for_install,ogltrans,\
1081 sd_opengl \
1082 slideshow_opengl_shader \
1085 ifneq ($(ENABLE_POPPLER),)
1086 $(eval $(call gb_Helper_register_packages_for_install,pdfimport, \
1087 sdext_pdfimport_pdf \
1089 endif
1091 $(eval $(call gb_Helper_register_packages_for_install,reportbuilder,\
1092 reportbuilder_templates \
1095 $(eval $(call gb_Helper_register_packages_for_install,xsltfilter,\
1096 filter_docbook \
1097 filter_xhtml \
1098 filter_xslt \
1101 $(eval $(call gb_Helper_register_packages_for_install,brand,\
1102 desktop_branding \
1103 $(if $(CUSTOM_BRAND_DIR),desktop_branding_custom) \
1104 $(if $(filter DESKTOP,$(BUILD_TYPE)),desktop_scripts_install) \
1105 $(if $(and $(filter-out EMSCRIPTEN HAIKU MACOSX WNT,$(OS)),$(filter DESKTOP,$(BUILD_TYPE))),\
1106 $(if $(DISABLE_GUI),, \
1107 desktop_soffice_sh \
1110 readlicense_oo_files \
1111 readlicense_oo_license \
1112 $(call gb_Helper_optional,DESKTOP,setup_native_packinfo) \
1113 $(if $(ENABLE_ONLINE_UPDATE_MAR), \
1114 update-settings_ini \
1115 updater_ini \
1119 ifeq ($(USING_X11), TRUE)
1120 $(eval $(call gb_Helper_register_packages_for_install,base_brand,\
1121 desktop_sbase_sh \
1124 $(eval $(call gb_Helper_register_packages_for_install,calc_brand,\
1125 desktop_scalc_sh \
1128 $(eval $(call gb_Helper_register_packages_for_install,draw_brand,\
1129 desktop_sdraw_sh \
1132 $(eval $(call gb_Helper_register_packages_for_install,impress_brand,\
1133 desktop_simpress_sh \
1136 $(eval $(call gb_Helper_register_packages_for_install,math_brand,\
1137 desktop_smath_sh \
1140 $(eval $(call gb_Helper_register_packages_for_install,writer_brand,\
1141 desktop_swriter_sh \
1143 endif # USING_X11=TRUE
1145 $(eval $(call gb_Helper_register_packages_for_install,onlineupdate,\
1146 $(if $(ENABLE_ONLINE_UPDATE),$(if $(filter LINUX SOLARIS,$(OS)),setup_native_scripts)) \
1149 ifneq ($(DISABLE_PYTHON),TRUE)
1150 $(eval $(call gb_Helper_register_packages_for_install,python, \
1151 pyuno_pythonloader_ini \
1152 pyuno_python_scripts \
1153 $(if $(SYSTEM_PYTHON),,$(if $(filter-out WNT,$(OS)),python_shell)) \
1154 scripting_ScriptsPython \
1157 $(eval $(call gb_Helper_register_packages_for_install,python_scriptprovider, \
1158 scripting_scriptproviderforpython \
1161 ifeq (LIBRELOGO,$(filter LIBRELOGO,$(BUILD_TYPE)))
1162 $(eval $(call gb_Helper_register_packages_for_install,python_librelogo, \
1163 librelogo \
1164 librelogo_properties \
1166 endif # LIBRELOGO
1168 endif # DISABLE_PYTHON
1170 # External executables
1171 $(eval $(call gb_ExternalExecutable_register_executables,\
1172 genbrk \
1173 genccode \
1174 gencmn \
1175 python \
1176 xmllint \
1177 xsltproc \
1180 # Resources
1181 $(eval $(call gb_Helper_register_mos,\
1182 acc \
1183 $(call gb_Helper_optional,AVMEDIA,avmedia) \
1184 $(call gb_Helper_optional,SCRIPTING,basctl) \
1185 chart \
1186 cnr \
1187 cui \
1188 dba \
1189 dkt \
1190 editeng \
1191 flt \
1192 for \
1193 $(call gb_Helper_optional,DESKTOP,fps) \
1194 frm \
1195 fwk \
1196 oox \
1197 pcr \
1198 rpt \
1199 $(call gb_Helper_optional,SCRIPTING,sb) \
1200 sc \
1201 sca \
1202 scc \
1203 sd \
1204 sfx \
1205 shell \
1206 sm \
1207 svl \
1208 svt \
1209 svx \
1210 sw \
1211 uui \
1212 vcl \
1213 wiz \
1214 wpt \
1215 $(if $(ENABLE_NSS)$(ENABLE_OPENSSL),xsc) \
1218 # UI configuration
1219 ifneq ($(ENABLE_WASM_STRIP_DBACCESS),TRUE)
1220 $(eval $(call gb_Helper_register_uiconfigs,\
1221 $(call gb_Helper_optional,DBCONNECTIVITY,dbaccess) \
1223 endif
1225 $(eval $(call gb_Helper_register_uiconfigs,\
1226 cui \
1227 desktop \
1228 editeng \
1229 filter \
1230 formula \
1231 fps \
1232 libreofficekit \
1233 $(call gb_Helper_optional,SCRIPTING,modules/BasicIDE) \
1234 $(call gb_Helper_optional,DBCONNECTIVITY,\
1235 modules/dbapp \
1236 modules/dbbrowser \
1237 modules/dbquery \
1238 modules/dbrelation \
1240 modules/dbreport \
1241 $(call gb_Helper_optional,DBCONNECTIVITY,\
1242 modules/dbtable \
1243 modules/dbtdata \
1245 modules/sabpilot \
1246 $(call gb_Helper_optional,DBCONNECTIVITY,modules/sbibliography) \
1247 modules/scalc \
1248 modules/scanner \
1249 modules/schart \
1250 modules/sdraw \
1251 modules/sglobal \
1252 modules/simpress \
1253 modules/smath \
1254 $(call gb_Helper_optional,DBCONNECTIVITY,modules/spropctrlr) \
1255 modules/StartModule \
1256 modules/sweb \
1257 modules/swform \
1258 modules/swreport \
1259 modules/swriter \
1260 modules/swxform \
1261 sfx \
1262 svt \
1263 svx \
1264 uui \
1265 vcl \
1266 writerperfect \
1267 $(if $(ENABLE_NSS)$(ENABLE_OPENSSL),xmlsec) \
1270 ifeq ($(gb_GBUILDSELFTEST),t)
1271 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,ooo, gbuildselftestdep gbuildselftest))
1272 $(eval $(call gb_Helper_register_executables,NONE, gbuildselftestexe))
1273 endif
1275 # vim: set noet sw=4 ts=4: