a11y: Drop unnecessary null check
[LibreOffice.git] / Repository.mk
blob0357827b13d58cbd8063db57271b63c9d0564d7c
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 wasmbridgegen) \
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 minweld \
81 svptest \
82 tiledrendering \
83 mtfdemo \
84 visualbackendtest \
85 listfonts \
86 listglyphs \
87 $(if $(and $(ENABLE_GTK3), $(filter LINUX %BSD SOLARIS,$(OS))), gtktiledviewer) \
88 $(if $(and $(ENABLE_GTKTILEDVIEWER), $(filter WNT,$(OS))), gtktiledviewer) \
89 $(if $(filter MACOSX,$(OS)),QuickLookPreview) \
90 $(if $(filter MACOSX,$(OS)),QuickLookThumbnail) \
93 $(eval $(call gb_Helper_register_executables_for_install,SDK,sdk, \
94 $(if $(ENABLE_CLI),\
95 $(if $(filter MSC,$(COM)),$(if $(filter-out AARCH64_TRUE,$(CPUNAME)_$(CROSS_COMPILING)),climaker)) \
96 ) \
97 cppumaker \
98 javamaker \
99 netmaker \
100 $(call gb_CondExeSp2bv,sp2bv) \
101 $(if $(filter ODK,$(BUILD_TYPE)),unoapploader) \
102 unoidl-read \
103 unoidl-write \
104 $(if $(filter ODK,$(BUILD_TYPE)),uno-skeletonmaker) \
107 ifneq ($(ENABLE_WASM_STRIP_ACCESSIBILITY),TRUE)
108 $(eval $(call gb_Helper_register_executables_for_install,OOO,brand, \
109 $(if $(filter-out ANDROID HAIKU iOS MACOSX WNT,$(OS)),oosplash) \
111 endif
113 $(eval $(call gb_Helper_register_executables_for_install,OOO,brand, \
114 $(if $(ENABLE_ONLINE_UPDATE_MAR),\
115 mar \
116 $(if $(filter WNT,$(OS)), \
117 update_service \
119 updater )\
120 $(call gb_Helper_optional,BREAKPAD,minidump_upload) \
121 $(call gb_Helper_optional,FUZZERS,wmffuzzer) \
122 $(call gb_Helper_optional,FUZZERS,jpgfuzzer) \
123 $(call gb_Helper_optional,FUZZERS,giffuzzer) \
124 $(call gb_Helper_optional,FUZZERS,xbmfuzzer) \
125 $(call gb_Helper_optional,FUZZERS,xpmfuzzer) \
126 $(call gb_Helper_optional,FUZZERS,pngfuzzer) \
127 $(call gb_Helper_optional,FUZZERS,bmpfuzzer) \
128 $(call gb_Helper_optional,FUZZERS,svmfuzzer) \
129 $(call gb_Helper_optional,FUZZERS,pcdfuzzer) \
130 $(call gb_Helper_optional,FUZZERS,dxffuzzer) \
131 $(call gb_Helper_optional,FUZZERS,metfuzzer) \
132 $(call gb_Helper_optional,FUZZERS,ppmfuzzer) \
133 $(call gb_Helper_optional,FUZZERS,psdfuzzer) \
134 $(call gb_Helper_optional,FUZZERS,epsfuzzer) \
135 $(call gb_Helper_optional,FUZZERS,pctfuzzer) \
136 $(call gb_Helper_optional,FUZZERS,pcxfuzzer) \
137 $(call gb_Helper_optional,FUZZERS,rasfuzzer) \
138 $(call gb_Helper_optional,FUZZERS,tgafuzzer) \
139 $(call gb_Helper_optional,FUZZERS,tiffuzzer) \
140 $(call gb_Helper_optional,FUZZERS,hwpfuzzer) \
141 $(call gb_Helper_optional,FUZZERS,602fuzzer) \
142 $(call gb_Helper_optional,FUZZERS,lwpfuzzer) \
143 $(call gb_Helper_optional,FUZZERS,olefuzzer) \
144 $(call gb_Helper_optional,FUZZERS,pptfuzzer) \
145 $(call gb_Helper_optional,FUZZERS,rtffuzzer) \
146 $(call gb_Helper_optional,FUZZERS,rtf2pdffuzzer) \
147 $(call gb_Helper_optional,FUZZERS,cgmfuzzer) \
148 $(call gb_Helper_optional,FUZZERS,ww2fuzzer) \
149 $(call gb_Helper_optional,FUZZERS,ww6fuzzer) \
150 $(call gb_Helper_optional,FUZZERS,ww8fuzzer) \
151 $(call gb_Helper_optional,FUZZERS,qpwfuzzer) \
152 $(call gb_Helper_optional,FUZZERS,slkfuzzer) \
153 $(call gb_Helper_optional,FUZZERS,fodtfuzzer) \
154 $(call gb_Helper_optional,FUZZERS,fodt2pdffuzzer) \
155 $(call gb_Helper_optional,FUZZERS,fods2xlsfuzzer) \
156 $(call gb_Helper_optional,FUZZERS,fodsfuzzer) \
157 $(call gb_Helper_optional,FUZZERS,fodpfuzzer) \
158 $(call gb_Helper_optional,FUZZERS,xlsfuzzer) \
159 $(call gb_Helper_optional,FUZZERS,schtmlfuzzer) \
160 $(call gb_Helper_optional,FUZZERS,scrtffuzzer) \
161 $(call gb_Helper_optional,FUZZERS,wksfuzzer) \
162 $(call gb_Helper_optional,FUZZERS,diffuzzer) \
163 $(call gb_Helper_optional,FUZZERS,docxfuzzer) \
164 $(call gb_Helper_optional,FUZZERS,xlsxfuzzer) \
165 $(call gb_Helper_optional,FUZZERS,pptxfuzzer) \
166 $(call gb_Helper_optional,FUZZERS,mmlfuzzer) \
167 $(call gb_Helper_optional,FUZZERS,mtpfuzzer) \
168 $(call gb_Helper_optional,FUZZERS,htmlfuzzer) \
169 $(call gb_Helper_optional,FUZZERS,sftfuzzer) \
170 $(call gb_Helper_optional,FUZZERS,dbffuzzer) \
171 $(call gb_Helper_optional,FUZZERS,webpfuzzer) \
172 $(call gb_Helper_optional,FUZZERS,zipfuzzer) \
173 $(call gb_Helper_optional,FUZZERS,svgfuzzer) \
174 soffice_bin \
175 $(call gb_CondExeUnopkg, \
176 unopkg_bin \
177 $(if $(filter WNT,$(OS)), \
178 unopkg \
179 unopkg_com \
182 $(if $(filter WNT,$(OS)), \
183 soffice_exe \
184 soffice_com \
185 soffice_safe \
186 unoinfo \
187 $(if $(filter-out AARCH64,$(CPUNAME)),twain32shim) \
191 $(eval $(call gb_Helper_register_executables_for_install,OOO,base_brand, \
192 $(if $(filter WNT,$(OS)), \
193 sbase \
197 $(eval $(call gb_Helper_register_executables_for_install,OOO,base, \
198 $(if $(filter WNT,$(OS)), \
199 odbcconfig \
203 $(eval $(call gb_Helper_register_executables_for_install,OOO,calc_brand, \
204 $(if $(filter WNT,$(OS)), \
205 scalc \
209 $(eval $(call gb_Helper_register_executables_for_install,OOO,draw_brand, \
210 $(if $(filter WNT,$(OS)), \
211 sdraw \
215 $(eval $(call gb_Helper_register_executables_for_install,OOO,impress_brand, \
216 $(if $(filter WNT,$(OS)), \
217 simpress \
221 $(eval $(call gb_Helper_register_executables_for_install,OOO,math_brand, \
222 $(if $(filter WNT,$(OS)), \
223 smath \
227 $(eval $(call gb_Helper_register_executables_for_install,OOO,writer_brand, \
228 $(if $(filter WNT,$(OS)), \
229 sweb \
230 swriter \
234 $(eval $(call gb_Helper_register_executables_for_install,OOO,ooo, \
235 gengal \
236 $(if $(filter WNT,$(OS)),,uri-encode) \
237 $(if $(filter WNT,$(OS)), \
238 senddoc \
240 $(if $(filter OPENCL,$(BUILD_TYPE)),opencltest) \
243 ifeq ($(OS),WNT)
244 $(eval $(call gb_Helper_register_executables_for_install,OOO,quickstart, \
245 quickstart \
247 endif
249 $(eval $(call gb_Helper_register_executables_for_install,OOO,python, \
250 $(if $(filter WNT,$(OS)), \
251 python \
255 ifneq ($(ENABLE_POPPLER),)
256 $(eval $(call gb_Helper_register_executables_for_install,OOO,pdfimport, \
257 xpdfimport \
259 endif
261 $(eval $(call gb_Helper_register_executables_for_install,UREBIN,ure,\
262 $(if $(and $(ENABLE_JAVA),$(filter-out HAIKU MACOSX WNT,$(OS)),$(filter DESKTOP,$(BUILD_TYPE))),javaldx) \
263 $(call gb_CondExeRegistryTools, \
264 regview \
266 $(call gb_CondExeUno,uno) \
269 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,base, \
270 abp \
271 dbp \
272 dbu \
275 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,calc, \
276 analysis \
277 $(call gb_Helper_optional,DBCONNECTIVITY,calc) \
278 date \
279 pricing \
280 sc \
281 scd \
282 scfilt \
283 wpftcalc \
284 solver \
285 $(call gb_Helper_optional,SCRIPTING,vbaobj) \
288 $(eval $(call gb_Helper_register_plugins_for_install,OOOLIBS,calc, \
289 scui \
292 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,graphicfilter, \
293 svgfilter \
294 wpftdraw \
295 graphicfilter \
298 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,impress, \
299 animcore \
300 PresentationMinimizer \
301 wpftimpress \
304 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,onlineupdate, \
305 $(if $(ENABLE_ONLINE_UPDATE), \
306 updatecheckui \
307 updchk \
311 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,gnome, \
312 $(if $(ENABLE_EVOAB2),evoab) \
313 $(if $(ENABLE_GIO),losessioninstall) \
314 $(if $(ENABLE_GIO),ucpgio1) \
317 $(eval $(call gb_Helper_register_plugins_for_install,OOOLIBS,gnome, \
318 $(if $(ENABLE_GTK3),vclplug_gtk3) \
319 $(if $(ENABLE_GTK4),vclplug_gtk4) \
322 gb_haiku_or_kde := $(if $(filter HAIKU,$(OS)),haiku,kde)
324 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,kde, \
325 $(if $(ENABLE_KF5),kf5be1) \
328 $(eval $(call gb_Helper_register_plugins_for_install,OOOLIBS,$(gb_haiku_or_kde), \
329 $(if $(ENABLE_KF5),vclplug_kf5) \
330 $(if $(ENABLE_KF6),vclplug_kf6) \
331 $(if $(ENABLE_QT5),vclplug_qt5) \
332 $(if $(ENABLE_QT6),vclplug_qt6) \
333 $(if $(ENABLE_GTK3_KDE5),vclplug_gtk3_kde5) \
336 $(eval $(call gb_Helper_register_executables_for_install,OOO,$(gb_haiku_or_kde), \
337 $(if $(ENABLE_GTK3_KDE5),lo_kde5filepicker) \
340 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,math, \
341 sm \
342 smd \
345 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,ogltrans, \
346 OGLTrans \
349 ifeq ($(OS),EMSCRIPTEN)
350 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,ooo, \
351 lo-bootstrap \
353 endif
355 ifneq ($(ENABLE_WASM_STRIP_CANVAS),TRUE)
356 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,ooo, \
357 canvastools \
358 $(if $(ENABLE_CAIRO_CANVAS),cairocanvas) \
359 canvasfactory \
360 cppcanvas \
361 $(if $(filter WNT,$(OS)),directx9canvas) \
362 $(if $(ENABLE_OPENGL_CANVAS),oglcanvas) \
363 $(if $(filter WNT,$(OS)),gdipluscanvas) \
364 simplecanvas \
365 vclcanvas \
367 endif
369 ifneq ($(ENABLE_WASM_STRIP_GUESSLANG),TRUE)
370 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,ooo, \
371 guesslang \
373 endif
375 ifneq ($(ENABLE_WASM_STRIP_HUNSPELL),TRUE)
376 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,ooo, \
377 hyphen \
378 lnth \
379 spell \
380 $(if $(filter iOS MACOSX,$(OS)), \
381 MacOSXSpell \
384 endif
386 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,ooo, \
387 avmedia \
388 $(if $(ENABLE_CURL),LanguageTool) \
389 $(call gb_Helper_optional,AVMEDIA, \
390 $(if $(filter MACOSX,$(OS)),\
391 avmediaMacAVF \
394 $(call gb_Helper_optional,SCRIPTING, \
395 basctl \
396 basprov \
398 basegfx \
399 bib \
400 chartcore \
401 chartcontroller \
402 $(call gb_Helper_optional,OPENCL,clew) \
403 $(if $(filter $(OS),WNT),,cmdmail) \
404 configmgr \
405 ctl \
406 dba \
407 dbahsql \
408 $(call gb_Helper_optional,DBCONNECTIVITY, \
409 dbase \
410 dbaxml) \
411 dbtools \
412 deploymentmisc \
413 $(if $(filter-out MACOSX WNT,$(OS)),desktopbe1) \
414 $(call gb_Helper_optional,SCRIPTING,dlgprov) \
415 docmodel \
416 drawinglayercore \
417 drawinglayer \
418 editeng \
419 $(if $(filter EMSCRIPTEN,$(OS)),embindtest) \
420 $(if $(filter WNT,$(OS)),emser) \
421 evtatt \
422 $(call gb_Helper_optional,DBCONNECTIVITY, \
423 flat \
424 file) \
425 filterconfig \
426 fps_office \
427 for \
428 forui \
429 frm \
430 fsstorage \
431 fwk \
432 $(call gb_Helper_optionals_or,HELPTOOLS XMLHELP,helplinker) \
433 i18npool \
434 i18nsearch \
435 $(if $(ENABLE_JAVA),jdbc) \
436 $(if $(filter WNT,$(OS)),jumplist) \
437 $(if $(ENABLE_LDAP),ldapbe2) \
438 $(if $(filter WNT,$(OS)),WinUserInfoBe) \
439 localebe1 \
440 log \
441 lng \
442 $(if $(filter $(OS),MACOSX),macbe1) \
443 $(if $(MERGELIBS),merged) \
444 migrationoo2 \
445 migrationoo3 \
446 mozbootstrap \
447 msfilter \
448 $(call gb_Helper_optional,SCRIPTING,msforms) \
449 mtfrenderer \
450 $(call gb_Helper_optional,DBCONNECTIVITY,mysql_jdbc) \
451 $(call gb_Helper_optional,MARIADBC,$(call gb_Helper_optional,DBCONNECTIVITY,mysqlc)) \
452 numbertext \
453 odbc \
454 odfflatxml \
455 offacc \
456 oox \
457 $(call gb_Helper_optional,OPENCL,opencl) \
458 passwordcontainer \
459 pcr \
460 pdffilter \
461 $(call gb_Helper_optional,SCRIPTING,protocolhandler) \
462 sax \
463 sb \
464 $(call gb_Helper_optional,DBCONNECTIVITY,sdbt) \
465 scn \
466 sd \
467 sdd \
468 sfx \
469 slideshow \
470 sot \
471 $(if $(or $(DISABLE_GUI),$(ENABLE_WASM_STRIP_SPLASH)),,spl) \
472 storagefd \
473 $(call gb_Helper_optional,SCRIPTING,stringresource) \
474 svgio \
475 emfio \
476 svl \
477 svt \
478 svx \
479 svxcore \
480 sw \
481 syssh \
482 textconversiondlgs \
483 textfd \
484 tk \
485 tl \
486 ucpexpand1 \
487 ucpext \
488 ucpimage \
489 $(if $(ENABLE_LIBCMIS),ucpcmis1) \
490 ucptdoc1 \
491 unordf \
492 unoxml \
493 updatefeed \
494 utl \
495 uui \
496 $(call gb_Helper_optional,SCRIPTING, \
497 vbaevents \
498 vbahelper \
500 vcl \
501 writerperfect \
502 xmlscript \
503 xmlfa \
504 xmlfd \
505 xo \
506 xof \
507 xsltdlg \
508 xsltfilter \
509 $(if $(filter $(OS),WNT), \
510 ado \
511 oleautobridge \
512 smplmail \
513 wininetbe1 \
515 $(if $(filter $(OS),MACOSX), \
516 $(if $(ENABLE_MACOSX_SANDBOX),, \
517 AppleRemote \
519 fps_aqua \
523 $(eval $(call gb_Helper_register_plugins_for_install,OOOLIBS,ooo, \
524 $(if $(ENABLE_CUSTOMTARGET_COMPONENTS),components) \
525 cui \
526 icg \
527 sdui \
528 $(if $(ENABLE_GEN),vclplug_gen) \
529 $(if $(filter $(OS),WNT),vclplug_win) \
530 $(if $(filter $(OS),MACOSX),vclplug_osx) \
533 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,postgresqlsdbc, \
534 $(if $(BUILD_POSTGRESQL_SDBC), \
535 postgresql-sdbc \
536 postgresql-sdbc-impl) \
539 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,firebirdsdbc, \
540 $(if $(ENABLE_FIREBIRD_SDBC),firebird_sdbc) \
543 ifneq ($(ENABLE_PDFIMPORT),)
544 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,pdfimport, \
545 pdfimport \
547 endif
549 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,python, \
550 pythonloader \
553 $(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_OOO,python, \
554 pyuno \
555 $(if $(filter-out WNT,$(OS)),pyuno_wrapper) \
558 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,reportbuilder, \
559 rpt \
560 rptui \
561 rptxml \
564 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,writer, \
565 hwp \
566 $(if $(ENABLE_LWP),lwpft) \
567 msword \
568 swd \
569 t602filter \
570 $(call gb_Helper_optional,SCRIPTING,vbaswobj) \
571 wpftwriter \
572 sw_writerfilter \
573 $(call gb_Helper_optional,DBCONNECTIVITY,writer) \
576 $(eval $(call gb_Helper_register_plugins_for_install,OOOLIBS,writer, \
577 swui \
580 # cli_cppuhelper is NONE even though it is actually in URE because it is CliNativeLibrary
581 $(eval $(call gb_Helper_register_libraries,PLAINLIBS_NONE, \
582 smoketest \
583 subsequenttest \
584 test \
585 test-setupvcl \
586 testtools_cppobj \
587 testtools_bridgetest \
588 testtools_bridgetest-common \
589 testtools_constructors \
590 unobootstrapprotector \
591 unoexceptionprotector \
592 unotest \
593 vclbootstrapprotector \
594 scqahelper \
595 swqahelper \
596 wpftqahelper \
597 precompiled_system \
598 $(if $(ENABLE_CLI),$(if $(filter MSC,$(COM)),cli_cppuhelper)) \
599 $(if $(filter $(OS),ANDROID),lo-bootstrap) \
600 $(if $(filter $(OS),MACOSX),OOoSpotlightImporter) \
603 $(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_URE,ure, \
604 affine_uno_uno \
605 $(if $(ENABLE_CLI),\
606 $(if $(filter MSC,$(COM)),$(if $(filter-out AARCH64_TRUE,$(CPUNAME)_$(CROSS_COMPILING)),cli_uno)) \
608 i18nlangtag \
609 $(if $(ENABLE_DOTNET), \
610 net_bootstrap \
611 net_uno \
613 $(if $(ENABLE_JAVA), \
614 java_uno \
615 jpipe \
616 $(if $(filter $(OS),WNT),jpipx) \
617 juh \
618 juhx \
620 log_uno_uno \
621 unsafe_uno_uno \
624 $(eval $(call gb_Helper_register_plugins_for_install,PLAINLIBS_URE,ure, \
625 $(if $(filter MSC,$(COM)), \
626 $(if $(filter INTEL,$(CPUNAME)),msci_uno) \
627 $(if $(filter X86_64,$(CPUNAME)),mscx_uno) \
628 $(if $(filter AARCH64,$(CPUNAME)),msca_uno) \
629 , gcc3_uno) \
632 $(eval $(call gb_Helper_register_libraries_for_install,PRIVATELIBS_URE,ure, \
633 binaryurp \
634 bootstrap \
635 introspection \
636 invocadapt \
637 invocation \
638 io \
639 $(if $(ENABLE_JAVA),javaloader) \
640 $(if $(ENABLE_JAVA),javavm) \
641 $(if $(ENABLE_JAVA),jvmaccess) \
642 $(if $(ENABLE_JAVA),jvmfwk) \
643 namingservice \
644 proxyfac \
645 reflection \
646 reg \
647 stocservices \
648 store \
649 unoidl \
650 uuresolver \
651 xmlreader \
654 $(eval $(call gb_Helper_register_plugins_for_install,PRIVATELIBS_URE,ure, \
655 $(call gb_CondLibSalTextenc,sal_textenc) \
658 ifneq ($(ENABLE_WASM_STRIP_ACCESSIBILITY),TRUE)
659 $(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_OOO,ooo, \
660 $(if $(filter WNT,$(OS)), \
661 winaccessibility \
664 endif
666 $(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_OOO,ooo, \
667 $(call gb_Helper_optional,AVMEDIA, \
668 $(if $(ENABLE_GSTREAMER_1_0),avmediagst) \
669 $(if $(ENABLE_GTK4),avmediagtk) \
670 $(if $(ENABLE_QT6_MULTIMEDIA),avmediaqt6) \
671 $(if $(filter WNT,$(OS)),avmediawin) \
673 cached1 \
674 comphelper \
675 $(call gb_Helper_optional,DBCONNECTIVITY,dbpool2) \
676 $(call gb_Helper_optional,BREAKPAD,crashreport) \
677 deployment \
678 deploymentgui \
679 embobj \
680 $(if $(ENABLE_JAVA),hsqldb) \
681 i18nutil \
682 $(if $(and $(ENABLE_GTK3), $(filter LINUX %BSD SOLARIS,$(OS))), libreofficekitgtk) \
683 $(if $(and $(ENABLE_GTKTILEDVIEWER), $(filter WNT,$(OS))), libreofficekitgtk) \
684 $(if $(ENABLE_JAVA), \
685 $(if $(filter $(OS),MACOSX),,officebean) \
687 emboleobj \
688 package2 \
689 $(call gb_Helper_optional,SCRIPTING,scriptframe) \
690 sdbc2 \
691 sofficeapp \
692 srtrs1 \
693 ucb1 \
694 ucbhelper \
695 $(if $(WITH_WEBDAV),ucpdav1) \
696 ucpfile1 \
697 $(call gb_Helper_optional,XMLHELP,ucpchelp1) \
698 ucphier1 \
699 ucppkg1 \
700 $(call gb_CondExeUnopkg,unopkgapp) \
701 xmlsecurity \
702 xsec_xmlsec \
703 xstor \
704 $(if $(filter $(OS),MACOSX), \
705 macab1 \
706 macabdrv1 \
708 $(if $(filter WNT,$(OS)), \
709 fps \
710 inprocserv \
711 UAccCOM \
715 $(eval $(call gb_Helper_register_plugins_for_install,PLAINLIBS_OOO,ooo, \
716 localedata_en \
717 localedata_es \
718 localedata_euro \
719 localedata_others \
722 ifeq ($(OS),WNT)
723 $(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_OOO,activexbinarytable, \
724 regactivex \
727 $(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_OOO,activex, \
728 so_activex \
731 ifneq ($(BUILD_X64),)
732 $(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_OOO,activexwin64, \
733 so_activex_x64 \
735 endif
737 $(eval $(call gb_Helper_register_executables_for_install,OOO,spsuppfiles, \
738 spsupp_helper \
741 $(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_OOO,spsuppfiles, \
742 $(if $(CXX_X64_BINARY),spsupp_x64) \
743 $(if $(CXX_X86_BINARY),spsupp_x86) \
746 $(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_OOO,ooobinarytable, \
747 $(if $(WINDOWS_SDK_HOME),\
748 instooofiltmsi \
749 qslnkmsi \
750 reg_dlls \
751 reg4allmsdoc \
752 sdqsmsi \
753 sellangmsi \
754 sn_tools \
755 $(if $(ENABLE_ONLINE_UPDATE_MAR),install_updateservice) \
759 $(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_OOO,winexplorerextbinarytable, \
760 shlxtmsi \
763 $(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_SHLXTHDL,winexplorerext, \
764 ooofilt \
765 propertyhdl \
766 shlxthdl \
769 ifneq ($(BUILD_X64),)
770 $(eval $(call gb_Helper_register_packages_for_install,winexplorerextwin64, \
771 $(if $(filter MSC,$(COM)),msvc_dlls) \
774 $(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_SHLXTHDL,winexplorerextwin64, \
775 ooofilt_x64 \
776 propertyhdl_x64 \
777 shlxthdl_x64 \
779 endif # BUILD_X64
781 endif # WNT
783 $(eval $(call gb_Helper_register_libraries_for_install,RTVERLIBS,ure, \
784 cppuhelper \
785 purpenvhelper \
786 salhelper \
789 $(eval $(call gb_Helper_register_libraries_for_install,UNOVERLIBS,ure, \
790 cppu \
791 sal \
794 $(eval $(call gb_Helper_register_libraries,EXTENSIONLIBS, \
795 active_native \
796 passive_native \
797 crashextension \
800 ifneq ($(ENABLE_JAVA),)
801 $(eval $(call gb_Helper_register_jars_for_install,URE,ure, \
802 java_uno \
803 juh \
804 jurt \
805 libreoffice \
806 ridl \
807 unoloader \
810 $(eval $(call gb_Helper_register_jars_for_install,OOO,ooo, \
811 ScriptFramework \
812 ScriptProviderForJava \
813 commonwizards \
814 form \
815 $(if $(filter-out MACOSX,$(OS)),officebean) \
816 query \
817 report \
818 sdbc_hsqldb \
819 smoketest \
820 table \
821 unoil \
824 $(eval $(call gb_Helper_register_jars_for_install,OOO,reportbuilder, \
825 reportbuilder \
826 reportbuilderwizard \
829 ifneq ($(ENABLE_SCRIPTING_BEANSHELL),)
830 $(eval $(call gb_Helper_register_jars_for_install,OOO,extensions_bsh, \
831 ScriptProviderForBeanShell \
833 endif
835 ifneq ($(ENABLE_SCRIPTING_JAVASCRIPT),)
836 $(eval $(call gb_Helper_register_jars_for_install,OOO,extensions_rhino, \
837 ScriptProviderForJavaScript \
839 endif
841 ifeq (NUMBERTEXT,$(filter NUMBERTEXT,$(BUILD_TYPE)))
842 $(eval $(call gb_Helper_register_packages_for_install,extensions_numbertext,\
843 numbertext \
845 endif
847 $(eval $(call gb_Helper_register_jars,OXT, \
848 EvolutionarySolver \
849 active_java \
850 mediawiki \
851 nlpsolver \
852 passive_java \
855 $(eval $(call gb_Helper_register_jars,NONE,\
856 ConnectivityTools \
857 HelloWorld \
858 Highlight \
859 MemoryUsage \
860 OOoRunner \
861 TestExtension \
862 test \
863 test-tools \
864 testComponent \
866 endif
868 # 'test_unittest' is only package delivering to workdir.
869 # Other packages could be potentially autoinstalled.
870 $(eval $(call gb_Helper_register_packages, \
871 test_unittest \
872 $(if $(ENABLE_CLI),cli_basetypes_copy) \
873 extras_wordbook \
874 instsetoo_native_setup \
875 $(if $(ENABLE_OOENV),instsetoo_native_ooenv) \
876 postprocess_registry \
877 readlicense_oo_readmes \
878 setup_native_misc \
879 sysui_share \
880 vcl_fontunxpsprint \
883 $(eval $(call gb_Helper_register_packages_for_install,impress,\
884 sd_xml \
887 $(eval $(call gb_Helper_register_packages_for_install,calc,\
888 sc_res_xml \
891 $(eval $(call gb_Helper_register_packages_for_install,libreofficekit,\
892 $(if $(filter LINUX %BSD SOLARIS, $(OS)),libreofficekit_selectionhandles) \
893 $(if $(and $(ENABLE_GTKTILEDVIEWER), $(filter WNT,$(OS))), libreofficekit_selectionhandles) \
896 $(eval $(call gb_Helper_register_packages_for_install,ure,\
897 instsetoo_native_setup_ure \
898 $(call gb_CondExeUno,uno_sh) \
899 ure_install \
900 $(if $(ENABLE_DOTNET),\
901 net_basetypes \
902 net_uretypes \
903 net_oootypes \
904 net_bridge \
905 net_nuget_pkg \
906 net_nuget_config \
908 $(if $(ENABLE_JAVA),\
909 jvmfwk_jvmfwk3_ini \
910 jvmfwk_javavendors \
911 jvmfwk_jreproperties \
912 $(if $(filter MACOSX,$(OS)),bridges_jnilib_java_uno) \
916 $(eval $(call gb_Helper_register_packages_for_install,postgresqlsdbc,\
917 $(if $(BUILD_POSTGRESQL_SDBC),connectivity_postgresql-sdbc) \
920 $(eval $(call gb_Helper_register_packages_for_install,sdk,\
921 odk_share_readme \
922 odk_share_readme_generated \
923 $(if $(ENABLE_CLI),\
924 $(if $(filter WNT,$(OS)),$(if $(filter-out AARCH64_TRUE,$(CPUNAME)_$(CROSS_COMPILING)),odk_cli)) \
926 odk_config \
927 $(if $(filter WNT,$(OS)),odk_config_win) \
928 odk_docs \
929 $(if $(DOXYGEN),odk_doxygen) \
930 odk_examples \
931 odk_headers \
932 odk_headers_generated \
933 odk_html \
934 odk_settings \
935 odk_settings_generated \
936 $(if $(ENABLE_JAVA), \
937 odk_javadoc \
938 odk_uno_loader_classes \
940 odk_scripts \
943 ifneq ($(ENABLE_WASM_STRIP_PINGUSER),TRUE)
944 $(eval $(call gb_Helper_register_packages_for_install,ooo,\
945 tipoftheday_images \
947 endif
949 ifneq ($(ENABLE_WASM_STRIP_CANVAS),TRUE)
950 $(eval $(call gb_Helper_register_packages_for_install,ooo,\
951 $(if $(ENABLE_OPENGL_CANVAS),canvas_opengl_shader) \
953 endif
955 $(eval $(call gb_Helper_register_packages_for_install,ooo,\
956 $(if $(SYSTEM_LIBEXTTEXTCAT),,libexttextcat_fingerprint) \
957 officecfg_misc \
958 $(if $(filter $(OS),MACOSX), \
959 extensions_mdibundle \
960 extensions_OOoSpotlightImporter \
961 extensions_quicklookpreviewappex \
962 extensions_QuickLookPreview \
963 extensions_quicklookthumbnailappex \
964 extensions_QuickLookThumbnail \
966 extras_autocorr \
967 extras_autotext \
968 extras_autotextuser \
969 extras_cfgsrvnolang \
970 extras_cfgusr \
971 extras_database \
972 extras_databasebiblio \
973 extras_gallbullets \
974 extras_gallmytheme \
975 extras_gallroot \
976 extras_gallsystem \
977 extras_gallsystemstr \
978 extras_glade \
979 extras_labels \
980 $(if $(filter WNT,$(OS)),extras_newfiles) \
981 extras_palettes \
982 extras_personas \
983 extras_persona_dark \
984 extras_persona_gray \
985 extras_persona_green \
986 extras_persona_pink \
987 extras_persona_sand \
988 extras_persona_white \
989 extras_tplpresnt \
990 extras_tplwizdesktop \
991 $(if $(WITH_TEMPLATES),\
992 extras_templates \
993 extras_tplwizbitmap \
994 extras_tplwizard \
996 framework_dtd \
997 $(if $(filter $(OS),MACOSX),infoplist) \
998 oox_customshapes \
999 oox_generated \
1000 package_dtd \
1001 $(call gb_Helper_optional,DESKTOP,\
1002 $(if $(filter-out WNT,$(OS)),$(if $(ENABLE_MACOSX_SANDBOX),,shell_senddoc))) \
1003 $(call gb_Helper_optional,DESKTOP,$(if $(filter-out EMSCRIPTEN MACOSX WNT,$(OS)),svx_gengal)) \
1004 $(if $(USING_X11),vcl_fontunxppds) \
1005 $(if $(filter $(OS),MACOSX),vcl_osxres) \
1006 xmloff_dtd \
1007 xmlscript_dtd \
1008 $(call gb_Helper_optional,XMLHELP,xmlhelp_helpxsl) \
1009 $(if $(ENABLE_JAVA),\
1010 scripting_java \
1011 scripting_java_jars \
1012 $(if $(ENABLE_SCRIPTING_BEANSHELL),scripting_ScriptsBeanShell) \
1013 $(if $(ENABLE_SCRIPTING_JAVASCRIPT),scripting_ScriptsJavaScript) \
1015 $(call gb_Helper_optional,SCRIPTING,scripting_scriptbindinglib) \
1016 $(if $(filter $(OS),MACOSX),sysui_osxicons) \
1017 wizards_basicshare \
1018 wizards_basicsrvaccess2base \
1019 wizards_basicsrvdepot \
1020 wizards_basicsrveuro \
1021 wizards_basicsrvgimmicks \
1022 wizards_basicsrvimport \
1023 wizards_basicsrvform \
1024 wizards_basicsrvscriptforge \
1025 wizards_basicsrvsfdatabases \
1026 wizards_basicsrvsfdialogs \
1027 wizards_basicsrvsfdocuments \
1028 wizards_basicsrvsfunittests \
1029 wizards_basicsrvsfwidgets \
1030 wizards_basicsrvstandard \
1031 wizards_basicsrvtemplate \
1032 wizards_basicsrvtools \
1033 wizards_basicsrvtutorials \
1034 wizards_basicusr \
1035 wizards_properties \
1036 wizards_wizardshare \
1037 toolbarmode_images \
1038 vcl_theme_definitions \
1039 $(if $(filter WNT,$(OS)), \
1040 vcl_opengl_denylist \
1042 $(if $(filter SKIA,$(BUILD_TYPE)), \
1043 vcl_skia_denylist ) \
1044 $(if $(DISABLE_PYTHON),, \
1045 Pyuno/commonwizards \
1046 Pyuno/fax \
1047 Pyuno/letter \
1048 Pyuno/agenda \
1049 Pyuno/mailmerge \
1051 sfx2_classification \
1052 svx_document_themes \
1053 $(if $(filter OPENCL,$(BUILD_TYPE)),sc_opencl_runtimetest) \
1054 $(if $(ENABLE_HTMLHELP),\
1055 helpcontent2_html_dynamic \
1056 helpcontent2_html_media \
1057 helpcontent2_html_icon-themes \
1058 helpcontent2_html_static \
1060 resource_fonts \
1061 cui \
1062 $(if $(filter EMSCRIPTEN,$(OS)), \
1063 favicon \
1064 unoembind \
1068 $(eval $(call gb_Helper_register_packages_for_install,ooo_fonts,\
1069 extras_fonts \
1070 $(if $(USING_X11)$(DISABLE_GUI)$(filter ANDROID EMSCRIPTEN,$(OS)), \
1071 postprocess_fontconfig) \
1072 $(call gb_Helper_optional,MORE_FONTS,\
1073 fonts_alef \
1074 fonts_amiri \
1075 fonts_caladea \
1076 fonts_carlito \
1077 $(if $(MPL_SUBSET),,fonts_culmus) \
1078 fonts_dejavu \
1079 fonts_gentium \
1080 fonts_liberation \
1081 fonts_liberation_narrow \
1082 fonts_libertineg \
1083 fonts_libre_hebrew \
1084 fonts_noto_kufi_arabic \
1085 fonts_noto_naskh_arabic \
1086 fonts_noto_sans \
1087 fonts_noto_sans_arabic \
1088 fonts_noto_sans_armenian \
1089 fonts_noto_sans_georgian \
1090 fonts_noto_sans_hebrew \
1091 fonts_noto_sans_lao \
1092 fonts_noto_sans_lisu \
1093 fonts_noto_serif \
1094 fonts_noto_serif_armenian \
1095 fonts_noto_serif_georgian \
1096 fonts_noto_serif_hebrew \
1097 fonts_noto_serif_lao \
1098 fonts_reem \
1099 fonts_scheherazade \
1100 $(if $(WITH_DOCREPAIR_FONTS),fonts_agdasima,) \
1101 $(if $(WITH_DOCREPAIR_FONTS),fonts_bacasime_antique,) \
1102 $(if $(WITH_DOCREPAIR_FONTS),fonts_belanosima,) \
1103 $(if $(WITH_DOCREPAIR_FONTS),fonts_caprasimo,) \
1104 $(if $(WITH_DOCREPAIR_FONTS),fonts_lugrasimo,) \
1105 $(if $(WITH_DOCREPAIR_FONTS),fonts_lumanosimo,) \
1106 $(if $(WITH_DOCREPAIR_FONTS),fonts_lunasima,) \
1110 $(eval $(call gb_Helper_register_packages_for_install,ooo_images,\
1111 postprocess_images \
1112 $(call gb_Helper_optional,HELP,helpcontent2_helpimages) \
1115 $(eval $(call gb_Helper_register_packages_for_install,ogltrans,\
1116 sd_opengl \
1117 slideshow_opengl_shader \
1120 ifneq ($(ENABLE_POPPLER),)
1121 $(eval $(call gb_Helper_register_packages_for_install,pdfimport, \
1122 sdext_pdfimport_pdf \
1124 endif
1126 $(eval $(call gb_Helper_register_packages_for_install,reportbuilder,\
1127 reportbuilder_templates \
1130 $(eval $(call gb_Helper_register_packages_for_install,xsltfilter,\
1131 filter_docbook \
1132 filter_xhtml \
1133 filter_xslt \
1136 $(eval $(call gb_Helper_register_packages_for_install,brand,\
1137 desktop_branding \
1138 $(if $(CUSTOM_BRAND_DIR),desktop_branding_custom) \
1139 $(if $(filter DESKTOP,$(BUILD_TYPE)),desktop_scripts_install) \
1140 $(if $(and $(filter-out EMSCRIPTEN HAIKU MACOSX WNT,$(OS)),$(filter DESKTOP,$(BUILD_TYPE))),\
1141 $(if $(DISABLE_GUI),, \
1142 desktop_soffice_sh \
1145 readlicense_oo_files \
1146 readlicense_oo_license \
1147 $(call gb_Helper_optional,DESKTOP,setup_native_packinfo) \
1148 $(if $(ENABLE_ONLINE_UPDATE_MAR), \
1149 update-settings_ini \
1150 updater_ini \
1154 ifeq ($(USING_X11), TRUE)
1155 $(eval $(call gb_Helper_register_packages_for_install,base_brand,\
1156 desktop_sbase_sh \
1159 $(eval $(call gb_Helper_register_packages_for_install,calc_brand,\
1160 desktop_scalc_sh \
1163 $(eval $(call gb_Helper_register_packages_for_install,draw_brand,\
1164 desktop_sdraw_sh \
1167 $(eval $(call gb_Helper_register_packages_for_install,impress_brand,\
1168 desktop_simpress_sh \
1171 $(eval $(call gb_Helper_register_packages_for_install,math_brand,\
1172 desktop_smath_sh \
1175 $(eval $(call gb_Helper_register_packages_for_install,writer_brand,\
1176 desktop_swriter_sh \
1178 endif # USING_X11=TRUE
1180 $(eval $(call gb_Helper_register_packages_for_install,onlineupdate,\
1181 $(if $(ENABLE_ONLINE_UPDATE),$(if $(filter LINUX SOLARIS,$(OS)),setup_native_scripts)) \
1184 ifneq ($(DISABLE_PYTHON),TRUE)
1185 $(eval $(call gb_Helper_register_packages_for_install,python, \
1186 pyuno_pythonloader_ini \
1187 pyuno_python_scripts \
1188 $(if $(SYSTEM_PYTHON),,$(if $(filter-out WNT,$(OS)),python_shell)) \
1189 scripting_ScriptsPython \
1192 $(eval $(call gb_Helper_register_packages_for_install,python_scriptprovider, \
1193 scripting_scriptproviderforpython \
1196 ifeq (LIBRELOGO,$(filter LIBRELOGO,$(BUILD_TYPE)))
1197 $(eval $(call gb_Helper_register_packages_for_install,python_librelogo, \
1198 librelogo \
1199 librelogo_properties \
1201 endif # LIBRELOGO
1203 endif # DISABLE_PYTHON
1205 # External executables
1206 $(eval $(call gb_ExternalExecutable_register_executables,\
1207 genbrk \
1208 genccode \
1209 gencmn \
1210 python \
1211 xmllint \
1212 xsltproc \
1215 # Resources
1216 $(eval $(call gb_Helper_register_mos,\
1217 $(call gb_Helper_optional,AVMEDIA,avmedia) \
1218 $(call gb_Helper_optional,SCRIPTING,basctl) \
1219 chart \
1220 cnr \
1221 cui \
1222 dba \
1223 dkt \
1224 editeng \
1225 flt \
1226 for \
1227 $(call gb_Helper_optional,DESKTOP,fps) \
1228 frm \
1229 fwk \
1230 oox \
1231 pcr \
1232 rpt \
1233 $(call gb_Helper_optional,SCRIPTING,sb) \
1234 sc \
1235 sca \
1236 scc \
1237 sd \
1238 sfx \
1239 shell \
1240 sm \
1241 svl \
1242 svt \
1243 svx \
1244 sw \
1245 uui \
1246 vcl \
1247 wiz \
1248 wpt \
1249 $(if $(ENABLE_NSS)$(ENABLE_OPENSSL),xsc) \
1252 # UI configuration
1253 ifneq ($(ENABLE_WASM_STRIP_DBACCESS),TRUE)
1254 $(eval $(call gb_Helper_register_uiconfigs,\
1255 $(call gb_Helper_optional,DBCONNECTIVITY,dbaccess) \
1257 endif
1259 $(eval $(call gb_Helper_register_uiconfigs,\
1260 cui \
1261 desktop \
1262 editeng \
1263 filter \
1264 formula \
1265 fps \
1266 libreofficekit \
1267 $(call gb_Helper_optional,SCRIPTING,modules/BasicIDE) \
1268 $(call gb_Helper_optional,DBCONNECTIVITY,\
1269 modules/dbapp \
1270 modules/dbbrowser \
1271 modules/dbquery \
1272 modules/dbrelation \
1274 modules/dbreport \
1275 $(call gb_Helper_optional,DBCONNECTIVITY,\
1276 modules/dbtable \
1277 modules/dbtdata \
1279 modules/sabpilot \
1280 $(call gb_Helper_optional,DBCONNECTIVITY,modules/sbibliography) \
1281 modules/scalc \
1282 modules/scanner \
1283 modules/schart \
1284 modules/sdraw \
1285 modules/sglobal \
1286 modules/simpress \
1287 modules/smath \
1288 $(call gb_Helper_optional,DBCONNECTIVITY,modules/spropctrlr) \
1289 modules/StartModule \
1290 modules/sweb \
1291 modules/swform \
1292 modules/swreport \
1293 modules/swriter \
1294 modules/swxform \
1295 sfx \
1296 svt \
1297 svx \
1298 uui \
1299 vcl \
1300 writerperfect \
1301 $(if $(ENABLE_NSS)$(ENABLE_OPENSSL),xmlsec) \
1304 ifeq ($(gb_GBUILDSELFTEST),t)
1305 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,ooo, gbuildselftestdep gbuildselftest))
1306 $(eval $(call gb_Helper_register_executables,NONE, gbuildselftestexe))
1307 endif
1309 # vim: set noet sw=4 ts=4: