Update git submodules
[LibreOffice.git] / Repository.mk
blob9317a29975dff88470dc28b4aa90a0ff0161c68e
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,fods2xlsfuzzer) \
150 $(call gb_Helper_optional,FUZZERS,fodsfuzzer) \
151 $(call gb_Helper_optional,FUZZERS,fodpfuzzer) \
152 $(call gb_Helper_optional,FUZZERS,xlsfuzzer) \
153 $(call gb_Helper_optional,FUZZERS,schtmlfuzzer) \
154 $(call gb_Helper_optional,FUZZERS,scrtffuzzer) \
155 $(call gb_Helper_optional,FUZZERS,wksfuzzer) \
156 $(call gb_Helper_optional,FUZZERS,diffuzzer) \
157 $(call gb_Helper_optional,FUZZERS,docxfuzzer) \
158 $(call gb_Helper_optional,FUZZERS,xlsxfuzzer) \
159 $(call gb_Helper_optional,FUZZERS,pptxfuzzer) \
160 $(call gb_Helper_optional,FUZZERS,mmlfuzzer) \
161 $(call gb_Helper_optional,FUZZERS,mtpfuzzer) \
162 $(call gb_Helper_optional,FUZZERS,htmlfuzzer) \
163 $(call gb_Helper_optional,FUZZERS,sftfuzzer) \
164 $(call gb_Helper_optional,FUZZERS,dbffuzzer) \
165 $(call gb_Helper_optional,FUZZERS,webpfuzzer) \
166 $(call gb_Helper_optional,FUZZERS,zipfuzzer) \
167 $(call gb_Helper_optional,FUZZERS,svgfuzzer) \
168 soffice_bin \
169 $(call gb_CondExeUnopkg, \
170 unopkg_bin \
171 $(if $(filter WNT,$(OS)), \
172 unopkg \
173 unopkg_com \
176 $(if $(filter WNT,$(OS)), \
177 soffice_exe \
178 soffice_com \
179 soffice_safe \
180 unoinfo \
181 $(if $(filter-out AARCH64,$(CPUNAME)),twain32shim) \
185 $(eval $(call gb_Helper_register_executables_for_install,OOO,base_brand, \
186 $(if $(filter WNT,$(OS)), \
187 sbase \
191 $(eval $(call gb_Helper_register_executables_for_install,OOO,base, \
192 $(if $(filter WNT,$(OS)), \
193 odbcconfig \
197 $(eval $(call gb_Helper_register_executables_for_install,OOO,calc_brand, \
198 $(if $(filter WNT,$(OS)), \
199 scalc \
203 $(eval $(call gb_Helper_register_executables_for_install,OOO,draw_brand, \
204 $(if $(filter WNT,$(OS)), \
205 sdraw \
209 $(eval $(call gb_Helper_register_executables_for_install,OOO,impress_brand, \
210 $(if $(filter WNT,$(OS)), \
211 simpress \
215 $(eval $(call gb_Helper_register_executables_for_install,OOO,math_brand, \
216 $(if $(filter WNT,$(OS)), \
217 smath \
221 $(eval $(call gb_Helper_register_executables_for_install,OOO,writer_brand, \
222 $(if $(filter WNT,$(OS)), \
223 sweb \
224 swriter \
228 $(eval $(call gb_Helper_register_executables_for_install,OOO,ooo, \
229 gengal \
230 $(if $(filter WNT,$(OS)),,uri-encode) \
231 $(if $(filter WNT,$(OS)), \
232 senddoc \
234 $(if $(filter OPENCL,$(BUILD_TYPE)),opencltest) \
237 ifeq ($(OS),WNT)
238 $(eval $(call gb_Helper_register_executables_for_install,OOO,quickstart, \
239 quickstart \
241 endif
243 $(eval $(call gb_Helper_register_executables_for_install,OOO,python, \
244 $(if $(filter WNT,$(OS)), \
245 python \
249 ifneq ($(ENABLE_POPPLER),)
250 $(eval $(call gb_Helper_register_executables_for_install,OOO,pdfimport, \
251 xpdfimport \
253 endif
255 $(eval $(call gb_Helper_register_executables_for_install,UREBIN,ure,\
256 $(if $(and $(ENABLE_JAVA),$(filter-out HAIKU MACOSX WNT,$(OS)),$(filter DESKTOP,$(BUILD_TYPE))),javaldx) \
257 $(call gb_CondExeRegistryTools, \
258 regview \
260 $(call gb_CondExeUno,uno) \
263 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,base, \
264 abp \
265 dbp \
266 dbu \
269 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,calc, \
270 analysis \
271 $(call gb_Helper_optional,DBCONNECTIVITY,calc) \
272 date \
273 pricing \
274 sc \
275 scd \
276 scfilt \
277 wpftcalc \
278 solver \
279 $(call gb_Helper_optional,SCRIPTING,vbaobj) \
282 $(eval $(call gb_Helper_register_plugins_for_install,OOOLIBS,calc, \
283 scui \
286 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,graphicfilter, \
287 svgfilter \
288 wpftdraw \
289 graphicfilter \
292 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,impress, \
293 animcore \
294 PresentationMinimizer \
295 wpftimpress \
298 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,onlineupdate, \
299 $(if $(ENABLE_ONLINE_UPDATE), \
300 updatecheckui \
301 updchk \
305 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,gnome, \
306 $(if $(ENABLE_EVOAB2),evoab) \
307 $(if $(ENABLE_GIO),losessioninstall) \
308 $(if $(ENABLE_GIO),ucpgio1) \
311 $(eval $(call gb_Helper_register_plugins_for_install,OOOLIBS,gnome, \
312 $(if $(ENABLE_GTK3),vclplug_gtk3) \
313 $(if $(ENABLE_GTK4),vclplug_gtk4) \
316 gb_haiku_or_kde := $(if $(filter HAIKU,$(OS)),haiku,kde)
318 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,kde, \
319 $(if $(ENABLE_KF5),kf5be1) \
322 $(eval $(call gb_Helper_register_plugins_for_install,OOOLIBS,$(gb_haiku_or_kde), \
323 $(if $(ENABLE_KF5),vclplug_kf5) \
324 $(if $(ENABLE_KF6),vclplug_kf6) \
325 $(if $(ENABLE_QT5),vclplug_qt5) \
326 $(if $(ENABLE_QT6),vclplug_qt6) \
327 $(if $(ENABLE_GTK3_KDE5),vclplug_gtk3_kde5) \
330 $(eval $(call gb_Helper_register_executables_for_install,OOO,$(gb_haiku_or_kde), \
331 $(if $(ENABLE_GTK3_KDE5),lo_kde5filepicker) \
334 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,math, \
335 sm \
336 smd \
339 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,ogltrans, \
340 OGLTrans \
343 ifeq ($(OS),EMSCRIPTEN)
344 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,ooo, \
345 lo-bootstrap \
347 endif
349 ifneq ($(ENABLE_WASM_STRIP_CANVAS),TRUE)
350 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,ooo, \
351 canvastools \
352 $(if $(ENABLE_CAIRO_CANVAS),cairocanvas) \
353 canvasfactory \
354 cppcanvas \
355 $(if $(filter WNT,$(OS)),directx9canvas) \
356 $(if $(ENABLE_OPENGL_CANVAS),oglcanvas) \
357 $(if $(filter WNT,$(OS)),gdipluscanvas) \
358 simplecanvas \
359 vclcanvas \
361 endif
363 ifneq ($(ENABLE_WASM_STRIP_GUESSLANG),TRUE)
364 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,ooo, \
365 guesslang \
367 endif
369 ifneq ($(ENABLE_WASM_STRIP_HUNSPELL),TRUE)
370 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,ooo, \
371 hyphen \
372 lnth \
373 spell \
374 $(if $(filter iOS MACOSX,$(OS)), \
375 MacOSXSpell \
378 endif
380 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,ooo, \
381 avmedia \
382 $(if $(ENABLE_CURL),LanguageTool) \
383 $(call gb_Helper_optional,AVMEDIA, \
384 $(if $(filter MACOSX,$(OS)),\
385 avmediaMacAVF \
388 $(call gb_Helper_optional,SCRIPTING, \
389 basctl \
390 basprov \
392 basegfx \
393 bib \
394 chartcore \
395 chartcontroller \
396 $(call gb_Helper_optional,OPENCL,clew) \
397 $(if $(filter $(OS),WNT),,cmdmail) \
398 configmgr \
399 ctl \
400 dba \
401 dbahsql \
402 $(call gb_Helper_optional,DBCONNECTIVITY, \
403 dbase \
404 dbaxml) \
405 dbtools \
406 deploymentmisc \
407 $(if $(filter-out MACOSX WNT,$(OS)),desktopbe1) \
408 $(call gb_Helper_optional,SCRIPTING,dlgprov) \
409 docmodel \
410 drawinglayercore \
411 drawinglayer \
412 editeng \
413 $(if $(filter EMSCRIPTEN,$(OS)),$(if $(ENABLE_DBGUTIL),embindtest)) \
414 $(if $(filter WNT,$(OS)),emser) \
415 evtatt \
416 $(call gb_Helper_optional,DBCONNECTIVITY, \
417 flat \
418 file) \
419 filterconfig \
420 fps_office \
421 for \
422 forui \
423 frm \
424 fsstorage \
425 fwk \
426 $(call gb_Helper_optionals_or,HELPTOOLS XMLHELP,helplinker) \
427 i18npool \
428 i18nsearch \
429 $(if $(ENABLE_JAVA),jdbc) \
430 $(if $(filter WNT,$(OS)),jumplist) \
431 $(if $(ENABLE_LDAP),ldapbe2) \
432 $(if $(filter WNT,$(OS)),WinUserInfoBe) \
433 localebe1 \
434 log \
435 lng \
436 $(if $(filter $(OS),MACOSX),macbe1) \
437 $(if $(MERGELIBS),merged) \
438 migrationoo2 \
439 migrationoo3 \
440 mozbootstrap \
441 msfilter \
442 $(call gb_Helper_optional,SCRIPTING,msforms) \
443 mtfrenderer \
444 $(call gb_Helper_optional,DBCONNECTIVITY,mysql_jdbc) \
445 $(call gb_Helper_optional,MARIADBC,$(call gb_Helper_optional,DBCONNECTIVITY,mysqlc)) \
446 numbertext \
447 odbc \
448 odfflatxml \
449 offacc \
450 oox \
451 $(call gb_Helper_optional,OPENCL,opencl) \
452 passwordcontainer \
453 pcr \
454 pdffilter \
455 $(call gb_Helper_optional,SCRIPTING,protocolhandler) \
456 sax \
457 sb \
458 $(call gb_Helper_optional,DBCONNECTIVITY,sdbt) \
459 scn \
460 sd \
461 sdd \
462 sfx \
463 slideshow \
464 sot \
465 $(if $(or $(DISABLE_GUI),$(ENABLE_WASM_STRIP_SPLASH)),,spl) \
466 storagefd \
467 $(call gb_Helper_optional,SCRIPTING,stringresource) \
468 svgio \
469 emfio \
470 svl \
471 svt \
472 svx \
473 svxcore \
474 sw \
475 syssh \
476 textconversiondlgs \
477 textfd \
478 tk \
479 tl \
480 ucpexpand1 \
481 ucpext \
482 ucpimage \
483 $(if $(ENABLE_LIBCMIS),ucpcmis1) \
484 ucptdoc1 \
485 unordf \
486 unoxml \
487 updatefeed \
488 utl \
489 uui \
490 $(call gb_Helper_optional,SCRIPTING, \
491 vbaevents \
492 vbahelper \
494 vcl \
495 writerperfect \
496 xmlscript \
497 xmlfa \
498 xmlfd \
499 xo \
500 xof \
501 xsltdlg \
502 xsltfilter \
503 $(if $(filter $(OS),WNT), \
504 ado \
505 oleautobridge \
506 smplmail \
507 wininetbe1 \
509 $(if $(filter $(OS),MACOSX), \
510 $(if $(ENABLE_MACOSX_SANDBOX),, \
511 AppleRemote \
513 fps_aqua \
517 $(eval $(call gb_Helper_register_plugins_for_install,OOOLIBS,ooo, \
518 acc \
519 $(if $(ENABLE_CUSTOMTARGET_COMPONENTS),components) \
520 cui \
521 icg \
522 sdui \
523 $(if $(ENABLE_GEN),vclplug_gen) \
524 $(if $(filter $(OS),WNT),vclplug_win) \
525 $(if $(filter $(OS),MACOSX),vclplug_osx) \
528 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,postgresqlsdbc, \
529 $(if $(BUILD_POSTGRESQL_SDBC), \
530 postgresql-sdbc \
531 postgresql-sdbc-impl) \
534 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,firebirdsdbc, \
535 $(if $(ENABLE_FIREBIRD_SDBC),firebird_sdbc) \
538 ifneq ($(ENABLE_PDFIMPORT),)
539 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,pdfimport, \
540 pdfimport \
542 endif
544 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,python, \
545 pythonloader \
548 $(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_OOO,python, \
549 pyuno \
550 $(if $(filter-out WNT,$(OS)),pyuno_wrapper) \
553 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,reportbuilder, \
554 rpt \
555 rptui \
556 rptxml \
559 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,writer, \
560 hwp \
561 $(if $(ENABLE_LWP),lwpft) \
562 msword \
563 swd \
564 t602filter \
565 $(call gb_Helper_optional,SCRIPTING,vbaswobj) \
566 wpftwriter \
567 writerfilter \
568 $(call gb_Helper_optional,DBCONNECTIVITY,writer) \
571 $(eval $(call gb_Helper_register_plugins_for_install,OOOLIBS,writer, \
572 swui \
575 # cli_cppuhelper is NONE even though it is actually in URE because it is CliNativeLibrary
576 $(eval $(call gb_Helper_register_libraries,PLAINLIBS_NONE, \
577 smoketest \
578 subsequenttest \
579 test \
580 test-setupvcl \
581 testtools_cppobj \
582 testtools_bridgetest \
583 testtools_bridgetest-common \
584 testtools_constructors \
585 unobootstrapprotector \
586 unoexceptionprotector \
587 unotest \
588 vclbootstrapprotector \
589 scqahelper \
590 swqahelper \
591 wpftqahelper \
592 precompiled_system \
593 $(if $(filter MSC,$(COM)),cli_cppuhelper) \
594 $(if $(filter $(OS),ANDROID),lo-bootstrap) \
595 $(if $(filter $(OS),MACOSX),OOoSpotlightImporter) \
598 $(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_URE,ure, \
599 affine_uno_uno \
600 $(if $(filter MSC,$(COM)),$(if $(filter-out AARCH64_TRUE,$(CPUNAME)_$(CROSS_COMPILING)),cli_uno)) \
601 i18nlangtag \
602 $(if $(ENABLE_JAVA), \
603 java_uno \
604 jpipe \
605 $(if $(filter $(OS),WNT),jpipx) \
606 juh \
607 juhx \
609 log_uno_uno \
610 unsafe_uno_uno \
613 $(eval $(call gb_Helper_register_plugins_for_install,PLAINLIBS_URE,ure, \
614 $(if $(filter MSC,$(COM)), \
615 $(if $(filter INTEL,$(CPUNAME)),msci_uno) \
616 $(if $(filter X86_64,$(CPUNAME)),mscx_uno) \
617 $(if $(filter AARCH64,$(CPUNAME)),msca_uno) \
618 , gcc3_uno) \
621 $(eval $(call gb_Helper_register_libraries_for_install,PRIVATELIBS_URE,ure, \
622 binaryurp \
623 bootstrap \
624 introspection \
625 invocadapt \
626 invocation \
627 io \
628 $(if $(ENABLE_JAVA),javaloader) \
629 $(if $(ENABLE_JAVA),javavm) \
630 $(if $(ENABLE_JAVA),jvmaccess) \
631 $(if $(ENABLE_JAVA),jvmfwk) \
632 namingservice \
633 proxyfac \
634 reflection \
635 reg \
636 stocservices \
637 store \
638 unoidl \
639 uuresolver \
640 xmlreader \
643 $(eval $(call gb_Helper_register_plugins_for_install,PRIVATELIBS_URE,ure, \
644 $(call gb_CondLibSalTextenc,sal_textenc) \
647 ifneq ($(ENABLE_WASM_STRIP_ACCESSIBILITY),TRUE)
648 $(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_OOO,ooo, \
649 $(if $(filter WNT,$(OS)), \
650 winaccessibility \
653 endif
655 $(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_OOO,ooo, \
656 $(call gb_Helper_optional,AVMEDIA, \
657 $(if $(ENABLE_GSTREAMER_1_0),avmediagst) \
658 $(if $(ENABLE_GTK4),avmediagtk) \
659 $(if $(filter WNT,$(OS)),avmediawin) \
661 cached1 \
662 comphelper \
663 $(call gb_Helper_optional,DBCONNECTIVITY,dbpool2) \
664 $(call gb_Helper_optional,BREAKPAD,crashreport) \
665 deployment \
666 deploymentgui \
667 embobj \
668 $(if $(ENABLE_JAVA),hsqldb) \
669 i18nutil \
670 $(if $(and $(ENABLE_GTK3), $(filter LINUX %BSD SOLARIS,$(OS))), libreofficekitgtk) \
671 $(if $(and $(ENABLE_GTKTILEDVIEWER), $(filter WNT,$(OS))), libreofficekitgtk) \
672 $(if $(ENABLE_JAVA), \
673 $(if $(filter $(OS),MACOSX),,officebean) \
675 emboleobj \
676 package2 \
677 $(call gb_Helper_optional,SCRIPTING,scriptframe) \
678 sdbc2 \
679 sofficeapp \
680 srtrs1 \
681 ucb1 \
682 ucbhelper \
683 $(if $(WITH_WEBDAV),ucpdav1) \
684 ucpfile1 \
685 $(call gb_Helper_optional,XMLHELP,ucpchelp1) \
686 ucphier1 \
687 ucppkg1 \
688 $(call gb_CondExeUnopkg,unopkgapp) \
689 xmlsecurity \
690 xsec_xmlsec \
691 xstor \
692 $(if $(filter $(OS),MACOSX), \
693 macab1 \
694 macabdrv1 \
696 $(if $(filter WNT,$(OS)), \
697 fps \
698 inprocserv \
699 UAccCOM \
703 $(eval $(call gb_Helper_register_plugins_for_install,PLAINLIBS_OOO,ooo, \
704 dict_ja \
705 dict_zh \
706 localedata_en \
707 localedata_es \
708 localedata_euro \
709 localedata_others \
712 ifeq ($(OS),WNT)
713 $(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_OOO,activexbinarytable, \
714 regactivex \
717 $(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_OOO,activex, \
718 so_activex \
721 ifneq ($(BUILD_X64),)
722 $(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_OOO,activexwin64, \
723 so_activex_x64 \
725 endif
727 $(eval $(call gb_Helper_register_executables_for_install,OOO,spsuppfiles, \
728 spsupp_helper \
731 $(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_OOO,spsuppfiles, \
732 $(if $(CXX_X64_BINARY),spsupp_x64) \
733 $(if $(CXX_X86_BINARY),spsupp_x86) \
736 $(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_OOO,ooobinarytable, \
737 $(if $(WINDOWS_SDK_HOME),\
738 instooofiltmsi \
739 inst_msu_msi \
740 qslnkmsi \
741 reg_dlls \
742 reg4allmsdoc \
743 sdqsmsi \
744 sellangmsi \
745 sn_tools \
746 $(if $(ENABLE_ONLINE_UPDATE_MAR),install_updateservice) \
750 $(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_OOO,winexplorerextbinarytable, \
751 shlxtmsi \
754 $(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_SHLXTHDL,winexplorerext, \
755 ooofilt \
756 propertyhdl \
757 shlxthdl \
760 ifneq ($(BUILD_X64),)
761 $(eval $(call gb_Helper_register_packages_for_install,winexplorerextwin64, \
762 $(if $(filter MSC,$(COM)),msvc_dlls) \
765 $(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_SHLXTHDL,winexplorerextwin64, \
766 ooofilt_x64 \
767 propertyhdl_x64 \
768 shlxthdl_x64 \
770 endif # BUILD_X64
772 endif # WNT
774 $(eval $(call gb_Helper_register_libraries_for_install,RTVERLIBS,ure, \
775 cppuhelper \
776 purpenvhelper \
777 salhelper \
780 $(eval $(call gb_Helper_register_libraries_for_install,UNOVERLIBS,ure, \
781 cppu \
782 sal \
785 $(eval $(call gb_Helper_register_libraries,EXTENSIONLIBS, \
786 active_native \
787 passive_native \
788 crashextension \
791 ifneq ($(ENABLE_JAVA),)
792 $(eval $(call gb_Helper_register_jars_for_install,URE,ure, \
793 java_uno \
794 juh \
795 jurt \
796 libreoffice \
797 ridl \
798 unoloader \
801 $(eval $(call gb_Helper_register_jars_for_install,OOO,ooo, \
802 ScriptFramework \
803 ScriptProviderForJava \
804 XMergeBridge \
805 commonwizards \
806 form \
807 $(if $(filter-out MACOSX,$(OS)),officebean) \
808 query \
809 report \
810 sdbc_hsqldb \
811 smoketest \
812 table \
813 unoil \
814 xmerge \
817 $(eval $(call gb_Helper_register_jars_for_install,OOO,reportbuilder, \
818 reportbuilder \
819 reportbuilderwizard \
822 ifneq ($(ENABLE_SCRIPTING_BEANSHELL),)
823 $(eval $(call gb_Helper_register_jars_for_install,OOO,extensions_bsh, \
824 ScriptProviderForBeanShell \
826 endif
828 ifneq ($(ENABLE_SCRIPTING_JAVASCRIPT),)
829 $(eval $(call gb_Helper_register_jars_for_install,OOO,extensions_rhino, \
830 ScriptProviderForJavaScript \
832 endif
834 ifeq (NUMBERTEXT,$(filter NUMBERTEXT,$(BUILD_TYPE)))
835 $(eval $(call gb_Helper_register_packages_for_install,extensions_numbertext,\
836 numbertext \
838 endif
840 $(eval $(call gb_Helper_register_jars,OXT, \
841 EvolutionarySolver \
842 active_java \
843 mediawiki \
844 nlpsolver \
845 passive_java \
848 $(eval $(call gb_Helper_register_jars,NONE,\
849 ConnectivityTools \
850 HelloWorld \
851 Highlight \
852 MemoryUsage \
853 OOoRunner \
854 TestExtension \
855 test \
856 test-tools \
857 testComponent \
859 endif
861 # 'test_unittest' is only package delivering to workdir.
862 # Other packages could be potentially autoinstalled.
863 $(eval $(call gb_Helper_register_packages, \
864 test_unittest \
865 cli_basetypes_copy \
866 extras_wordbook \
867 instsetoo_native_setup \
868 $(if $(ENABLE_OOENV),instsetoo_native_ooenv) \
869 postprocess_registry \
870 readlicense_oo_readmes \
871 setup_native_misc \
872 sysui_share \
873 vcl_fontunxpsprint \
876 $(eval $(call gb_Helper_register_packages_for_install,impress,\
877 sd_xml \
880 $(eval $(call gb_Helper_register_packages_for_install,calc,\
881 sc_res_xml \
884 $(eval $(call gb_Helper_register_packages_for_install,libreofficekit,\
885 $(if $(filter LINUX %BSD SOLARIS, $(OS)),libreofficekit_selectionhandles) \
886 $(if $(and $(ENABLE_GTKTILEDVIEWER), $(filter WNT,$(OS))), libreofficekit_selectionhandles) \
889 $(eval $(call gb_Helper_register_packages_for_install,ure,\
890 instsetoo_native_setup_ure \
891 $(call gb_CondExeUno,uno_sh) \
892 ure_install \
893 $(if $(ENABLE_JAVA),\
894 jvmfwk_jvmfwk3_ini \
895 jvmfwk_javavendors \
896 jvmfwk_jreproperties \
897 $(if $(filter MACOSX,$(OS)),bridges_jnilib_java_uno) \
901 $(eval $(call gb_Helper_register_packages_for_install,postgresqlsdbc,\
902 $(if $(BUILD_POSTGRESQL_SDBC),connectivity_postgresql-sdbc) \
905 $(eval $(call gb_Helper_register_packages_for_install,sdk,\
906 odk_share_readme \
907 odk_share_readme_generated \
908 $(if $(filter WNT,$(OS)),$(if $(filter-out AARCH64_TRUE,$(CPUNAME)_$(CROSS_COMPILING)),odk_cli)) \
909 odk_config \
910 $(if $(filter WNT,$(OS)),odk_config_win) \
911 odk_docs \
912 $(if $(DOXYGEN),odk_doxygen) \
913 odk_examples \
914 odk_headers \
915 odk_headers_generated \
916 odk_html \
917 odk_settings \
918 odk_settings_generated \
919 $(if $(ENABLE_JAVA), \
920 odk_javadoc \
921 odk_uno_loader_classes \
925 ifneq ($(ENABLE_WASM_STRIP_PINGUSER),TRUE)
926 $(eval $(call gb_Helper_register_packages_for_install,ooo,\
927 tipoftheday_images \
928 whatsnew_images \
930 endif
932 ifneq ($(ENABLE_WASM_STRIP_CANVAS),TRUE)
933 $(eval $(call gb_Helper_register_packages_for_install,ooo,\
934 $(if $(ENABLE_OPENGL_CANVAS),canvas_opengl_shader) \
936 endif
938 $(eval $(call gb_Helper_register_packages_for_install,ooo,\
939 $(if $(SYSTEM_LIBEXTTEXTCAT),,libexttextcat_fingerprint) \
940 officecfg_misc \
941 $(if $(filter $(OS),MACOSX), \
942 extensions_mdibundle \
943 extensions_OOoSpotlightImporter \
945 extras_autocorr \
946 extras_autotextuser \
947 extras_cfgsrvnolang \
948 extras_cfgusr \
949 extras_database \
950 extras_databasebiblio \
951 extras_gallbullets \
952 extras_gallmytheme \
953 extras_gallroot \
954 extras_gallsystem \
955 extras_gallsystemstr \
956 extras_glade \
957 extras_labels \
958 $(if $(filter WNT,$(OS)),extras_newfiles) \
959 extras_palettes \
960 extras_personas \
961 extras_persona_dark \
962 extras_persona_gray \
963 extras_persona_green \
964 extras_persona_pink \
965 extras_persona_sand \
966 extras_persona_white \
967 extras_tplwizdesktop \
968 $(if $(WITH_TEMPLATES),\
969 extras_templates \
970 extras_tplpresnt \
971 extras_tplwizbitmap \
972 extras_tplwizard \
974 framework_dtd \
975 $(if $(filter $(OS),MACOSX),infoplist) \
976 oox_customshapes \
977 oox_generated \
978 package_dtd \
979 $(call gb_Helper_optional,DESKTOP,\
980 $(if $(filter-out WNT,$(OS)),$(if $(ENABLE_MACOSX_SANDBOX),,shell_senddoc))) \
981 $(call gb_Helper_optional,DESKTOP,$(if $(filter-out EMSCRIPTEN MACOSX WNT,$(OS)),svx_gengal)) \
982 $(if $(USING_X11),vcl_fontunxppds) \
983 $(if $(filter $(OS),MACOSX),vcl_osxres) \
984 xmloff_dtd \
985 xmlscript_dtd \
986 $(call gb_Helper_optional,XMLHELP,xmlhelp_helpxsl) \
987 $(if $(ENABLE_JAVA),\
988 scripting_java \
989 scripting_java_jars \
990 $(if $(ENABLE_SCRIPTING_BEANSHELL),scripting_ScriptsBeanShell) \
991 $(if $(ENABLE_SCRIPTING_JAVASCRIPT),scripting_ScriptsJavaScript) \
993 $(call gb_Helper_optional,SCRIPTING,scripting_scriptbindinglib) \
994 $(if $(filter $(OS),MACOSX),sysui_osxicons) \
995 wizards_basicshare \
996 wizards_basicsrvaccess2base \
997 wizards_basicsrvdepot \
998 wizards_basicsrveuro \
999 wizards_basicsrvgimmicks \
1000 wizards_basicsrvimport \
1001 wizards_basicsrvform \
1002 wizards_basicsrvscriptforge \
1003 wizards_basicsrvsfdatabases \
1004 wizards_basicsrvsfdialogs \
1005 wizards_basicsrvsfdocuments \
1006 wizards_basicsrvsfunittests \
1007 wizards_basicsrvsfwidgets \
1008 wizards_basicsrvstandard \
1009 wizards_basicsrvtemplate \
1010 wizards_basicsrvtools \
1011 wizards_basicsrvtutorials \
1012 wizards_basicusr \
1013 wizards_properties \
1014 wizards_wizardshare \
1015 toolbarmode_images \
1016 vcl_theme_definitions \
1017 $(if $(filter WNT,$(OS)), \
1018 vcl_opengl_denylist \
1020 $(if $(filter SKIA,$(BUILD_TYPE)), \
1021 vcl_skia_denylist ) \
1022 $(if $(DISABLE_PYTHON),, \
1023 Pyuno/commonwizards \
1024 Pyuno/fax \
1025 Pyuno/letter \
1026 Pyuno/agenda \
1027 Pyuno/mailmerge \
1029 sfx2_classification \
1030 $(if $(filter OPENCL,$(BUILD_TYPE)),sc_opencl_runtimetest) \
1031 $(if $(ENABLE_HTMLHELP),\
1032 helpcontent2_html_dynamic \
1033 helpcontent2_html_media \
1034 helpcontent2_html_icon-themes \
1035 helpcontent2_html_static \
1037 resource_fonts \
1038 cui \
1039 $(if $(filter EMSCRIPTEN,$(OS)), \
1040 favicon \
1041 unoembind \
1045 $(eval $(call gb_Helper_register_packages_for_install,ooo_fonts,\
1046 extras_fonts \
1047 $(if $(USING_X11)$(DISABLE_GUI)$(filter ANDROID EMSCRIPTEN,$(OS)), \
1048 postprocess_fontconfig) \
1049 $(call gb_Helper_optional,MORE_FONTS,\
1050 fonts_alef \
1051 fonts_amiri \
1052 fonts_caladea \
1053 fonts_carlito \
1054 $(if $(MPL_SUBSET),,fonts_culmus) \
1055 fonts_dejavu \
1056 fonts_gentium \
1057 fonts_liberation \
1058 fonts_liberation_narrow \
1059 fonts_libertineg \
1060 fonts_libre_hebrew \
1061 fonts_noto_kufi_arabic \
1062 fonts_noto_naskh_arabic \
1063 fonts_noto_sans \
1064 fonts_noto_sans_arabic \
1065 fonts_noto_sans_armenian \
1066 fonts_noto_sans_georgian \
1067 fonts_noto_sans_hebrew \
1068 fonts_noto_sans_lao \
1069 fonts_noto_sans_lisu \
1070 fonts_noto_serif \
1071 fonts_noto_serif_armenian \
1072 fonts_noto_serif_georgian \
1073 fonts_noto_serif_hebrew \
1074 fonts_noto_serif_lao \
1075 fonts_reem \
1076 fonts_scheherazade \
1080 $(eval $(call gb_Helper_register_packages_for_install,ooo_images,\
1081 postprocess_images \
1082 $(call gb_Helper_optional,HELP,helpcontent2_helpimages) \
1085 $(eval $(call gb_Helper_register_packages_for_install,ogltrans,\
1086 sd_opengl \
1087 slideshow_opengl_shader \
1090 ifneq ($(ENABLE_POPPLER),)
1091 $(eval $(call gb_Helper_register_packages_for_install,pdfimport, \
1092 sdext_pdfimport_pdf \
1094 endif
1096 $(eval $(call gb_Helper_register_packages_for_install,reportbuilder,\
1097 reportbuilder_templates \
1100 $(eval $(call gb_Helper_register_packages_for_install,xsltfilter,\
1101 filter_docbook \
1102 filter_xhtml \
1103 filter_xslt \
1106 $(eval $(call gb_Helper_register_packages_for_install,brand,\
1107 desktop_branding \
1108 $(if $(CUSTOM_BRAND_DIR),desktop_branding_custom) \
1109 $(if $(filter DESKTOP,$(BUILD_TYPE)),desktop_scripts_install) \
1110 $(if $(and $(filter-out EMSCRIPTEN HAIKU MACOSX WNT,$(OS)),$(filter DESKTOP,$(BUILD_TYPE))),\
1111 $(if $(DISABLE_GUI),, \
1112 desktop_soffice_sh \
1115 readlicense_oo_files \
1116 readlicense_oo_license \
1117 $(call gb_Helper_optional,DESKTOP,setup_native_packinfo) \
1118 $(if $(ENABLE_ONLINE_UPDATE_MAR), \
1119 update-settings_ini \
1120 updater_ini \
1124 ifeq ($(USING_X11), TRUE)
1125 $(eval $(call gb_Helper_register_packages_for_install,base_brand,\
1126 desktop_sbase_sh \
1129 $(eval $(call gb_Helper_register_packages_for_install,calc_brand,\
1130 desktop_scalc_sh \
1133 $(eval $(call gb_Helper_register_packages_for_install,draw_brand,\
1134 desktop_sdraw_sh \
1137 $(eval $(call gb_Helper_register_packages_for_install,impress_brand,\
1138 desktop_simpress_sh \
1141 $(eval $(call gb_Helper_register_packages_for_install,math_brand,\
1142 desktop_smath_sh \
1145 $(eval $(call gb_Helper_register_packages_for_install,writer_brand,\
1146 desktop_swriter_sh \
1148 endif # USING_X11=TRUE
1150 $(eval $(call gb_Helper_register_packages_for_install,onlineupdate,\
1151 $(if $(ENABLE_ONLINE_UPDATE),$(if $(filter LINUX SOLARIS,$(OS)),setup_native_scripts)) \
1154 ifneq ($(DISABLE_PYTHON),TRUE)
1155 $(eval $(call gb_Helper_register_packages_for_install,python, \
1156 pyuno_pythonloader_ini \
1157 pyuno_python_scripts \
1158 $(if $(SYSTEM_PYTHON),,$(if $(filter-out WNT,$(OS)),python_shell)) \
1159 scripting_ScriptsPython \
1162 $(eval $(call gb_Helper_register_packages_for_install,python_scriptprovider, \
1163 scripting_scriptproviderforpython \
1166 ifeq (LIBRELOGO,$(filter LIBRELOGO,$(BUILD_TYPE)))
1167 $(eval $(call gb_Helper_register_packages_for_install,python_librelogo, \
1168 librelogo \
1169 librelogo_properties \
1171 endif # LIBRELOGO
1173 endif # DISABLE_PYTHON
1175 # External executables
1176 $(eval $(call gb_ExternalExecutable_register_executables,\
1177 genbrk \
1178 genccode \
1179 gencmn \
1180 python \
1181 xmllint \
1182 xsltproc \
1185 # Resources
1186 $(eval $(call gb_Helper_register_mos,\
1187 acc \
1188 $(call gb_Helper_optional,AVMEDIA,avmedia) \
1189 $(call gb_Helper_optional,SCRIPTING,basctl) \
1190 chart \
1191 cnr \
1192 cui \
1193 dba \
1194 dkt \
1195 editeng \
1196 flt \
1197 for \
1198 $(call gb_Helper_optional,DESKTOP,fps) \
1199 frm \
1200 fwk \
1201 oox \
1202 pcr \
1203 rpt \
1204 $(call gb_Helper_optional,SCRIPTING,sb) \
1205 sc \
1206 sca \
1207 scc \
1208 sd \
1209 sfx \
1210 shell \
1211 sm \
1212 svl \
1213 svt \
1214 svx \
1215 sw \
1216 uui \
1217 vcl \
1218 wiz \
1219 wpt \
1220 $(if $(ENABLE_NSS)$(ENABLE_OPENSSL),xsc) \
1223 # UI configuration
1224 ifneq ($(ENABLE_WASM_STRIP_DBACCESS),TRUE)
1225 $(eval $(call gb_Helper_register_uiconfigs,\
1226 $(call gb_Helper_optional,DBCONNECTIVITY,dbaccess) \
1228 endif
1230 $(eval $(call gb_Helper_register_uiconfigs,\
1231 cui \
1232 desktop \
1233 editeng \
1234 filter \
1235 formula \
1236 fps \
1237 libreofficekit \
1238 $(call gb_Helper_optional,SCRIPTING,modules/BasicIDE) \
1239 $(call gb_Helper_optional,DBCONNECTIVITY,\
1240 modules/dbapp \
1241 modules/dbbrowser \
1242 modules/dbquery \
1243 modules/dbrelation \
1245 modules/dbreport \
1246 $(call gb_Helper_optional,DBCONNECTIVITY,\
1247 modules/dbtable \
1248 modules/dbtdata \
1250 modules/sabpilot \
1251 $(call gb_Helper_optional,DBCONNECTIVITY,modules/sbibliography) \
1252 modules/scalc \
1253 modules/scanner \
1254 modules/schart \
1255 modules/sdraw \
1256 modules/sglobal \
1257 modules/simpress \
1258 modules/smath \
1259 $(call gb_Helper_optional,DBCONNECTIVITY,modules/spropctrlr) \
1260 modules/StartModule \
1261 modules/sweb \
1262 modules/swform \
1263 modules/swreport \
1264 modules/swriter \
1265 modules/swxform \
1266 sfx \
1267 svt \
1268 svx \
1269 uui \
1270 vcl \
1271 writerperfect \
1272 $(if $(ENABLE_NSS)$(ENABLE_OPENSSL),xmlsec) \
1275 ifeq ($(gb_GBUILDSELFTEST),t)
1276 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,ooo, gbuildselftestdep gbuildselftest))
1277 $(eval $(call gb_Helper_register_executables,NONE, gbuildselftestexe))
1278 endif
1280 # vim: set noet sw=4 ts=4: