Simplify this a bit
[LibreOffice.git] / Repository.mk
blob5532b993dfde4e76378eb8cc5281a67e0f525b34
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 gbuildtojson \
37 $(if $(filter MSC,$(COM)), \
38 gcc-wrapper \
39 g++-wrapper \
40 ) \
41 gencoll_rule \
42 genconv_dict \
43 gendict \
44 genindex_data \
45 helpex \
46 idxdict \
47 io-testconnection \
48 langsupport \
49 $(if $(filter iOS,$(OS)),LibreOffice) \
50 lngconvex \
51 localize \
52 $(call gb_CondExeLockfile,lockfile) \
53 makedepend \
54 mbsdiff \
55 osl_process_child \
56 pdf2xml \
57 pdfunzip \
58 pdfverify \
59 pocheck \
60 propex \
61 regsvrex \
62 saxparser \
63 svidl \
64 $(if $(ENABLE_ONLINE_UPDATE_MAR),\
65 test_updater_dialog \
66 ) \
67 treex \
68 ulfex \
69 unoidl-check \
70 xrmex \
71 $(if $(filter-out ANDROID iOS WNT,$(OS)), \
72 svdemo \
73 minvcl \
74 fftester \
75 svptest \
76 svpclient ) \
77 $(if $(filter LINUX %BSD SOLARIS,$(OS)), tilebench) \
78 $(if $(filter LINUX MACOSX SOLARIS WNT %BSD,$(OS)),icontest) \
79 vcldemo \
80 tiledrendering \
81 mtfdemo \
82 visualbackendtest \
83 listfonts \
84 $(if $(and $(ENABLE_GTK3), $(filter LINUX %BSD SOLARIS,$(OS))), gtktiledviewer) \
85 $(if $(filter EMSCRIPTEN,$(OS)),wasm-qt5-mandelbrot) \
88 $(eval $(call gb_Helper_register_executables_for_install,SDK,sdk, \
89 $(if $(filter MSC,$(COM)),$(if $(filter-out AARCH64,$(CPUNAME)),climaker)) \
90 cppumaker \
91 idlc \
92 javamaker \
93 $(call gb_CondExeSp2bv,sp2bv) \
94 $(if $(filter UCPP,$(BUILD_TYPE)),ucpp) \
95 $(if $(filter ODK,$(BUILD_TYPE)),unoapploader) \
96 unoidl-read \
97 unoidl-write \
98 $(if $(filter ODK,$(BUILD_TYPE)),uno-skeletonmaker) \
101 ifneq ($(ENABLE_WASM_STRIP_ACCESSIBILITY),TRUE)
102 $(eval $(call gb_Helper_register_executables_for_install,OOO,brand, \
103 $(if $(filter-out ANDROID HAIKU iOS MACOSX WNT,$(OS)),oosplash) \
105 endif
107 $(eval $(call gb_Helper_register_executables_for_install,OOO,brand, \
108 $(if $(ENABLE_ONLINE_UPDATE_MAR),\
109 mar \
110 $(if $(filter WNT,$(OS)), \
111 update_service \
113 updater )\
114 $(call gb_Helper_optional,BREAKPAD,minidump_upload) \
115 $(call gb_Helper_optional,FUZZERS,wmffuzzer) \
116 $(call gb_Helper_optional,FUZZERS,jpgfuzzer) \
117 $(call gb_Helper_optional,FUZZERS,giffuzzer) \
118 $(call gb_Helper_optional,FUZZERS,xbmfuzzer) \
119 $(call gb_Helper_optional,FUZZERS,xpmfuzzer) \
120 $(call gb_Helper_optional,FUZZERS,pngfuzzer) \
121 $(call gb_Helper_optional,FUZZERS,bmpfuzzer) \
122 $(call gb_Helper_optional,FUZZERS,svmfuzzer) \
123 $(call gb_Helper_optional,FUZZERS,pcdfuzzer) \
124 $(call gb_Helper_optional,FUZZERS,dxffuzzer) \
125 $(call gb_Helper_optional,FUZZERS,metfuzzer) \
126 $(call gb_Helper_optional,FUZZERS,ppmfuzzer) \
127 $(call gb_Helper_optional,FUZZERS,psdfuzzer) \
128 $(call gb_Helper_optional,FUZZERS,epsfuzzer) \
129 $(call gb_Helper_optional,FUZZERS,pctfuzzer) \
130 $(call gb_Helper_optional,FUZZERS,pcxfuzzer) \
131 $(call gb_Helper_optional,FUZZERS,rasfuzzer) \
132 $(call gb_Helper_optional,FUZZERS,tgafuzzer) \
133 $(call gb_Helper_optional,FUZZERS,tiffuzzer) \
134 $(call gb_Helper_optional,FUZZERS,hwpfuzzer) \
135 $(call gb_Helper_optional,FUZZERS,602fuzzer) \
136 $(call gb_Helper_optional,FUZZERS,lwpfuzzer) \
137 $(call gb_Helper_optional,FUZZERS,olefuzzer) \
138 $(call gb_Helper_optional,FUZZERS,pptfuzzer) \
139 $(call gb_Helper_optional,FUZZERS,rtffuzzer) \
140 $(call gb_Helper_optional,FUZZERS,cgmfuzzer) \
141 $(call gb_Helper_optional,FUZZERS,ww2fuzzer) \
142 $(call gb_Helper_optional,FUZZERS,ww6fuzzer) \
143 $(call gb_Helper_optional,FUZZERS,ww8fuzzer) \
144 $(call gb_Helper_optional,FUZZERS,qpwfuzzer) \
145 $(call gb_Helper_optional,FUZZERS,slkfuzzer) \
146 $(call gb_Helper_optional,FUZZERS,fodtfuzzer) \
147 $(call gb_Helper_optional,FUZZERS,fodsfuzzer) \
148 $(call gb_Helper_optional,FUZZERS,fodpfuzzer) \
149 $(call gb_Helper_optional,FUZZERS,xlsfuzzer) \
150 $(call gb_Helper_optional,FUZZERS,scrtffuzzer) \
151 $(call gb_Helper_optional,FUZZERS,wksfuzzer) \
152 $(call gb_Helper_optional,FUZZERS,diffuzzer) \
153 $(call gb_Helper_optional,FUZZERS,docxfuzzer) \
154 $(call gb_Helper_optional,FUZZERS,xlsxfuzzer) \
155 $(call gb_Helper_optional,FUZZERS,pptxfuzzer) \
156 $(call gb_Helper_optional,FUZZERS,mmlfuzzer) \
157 $(call gb_Helper_optional,FUZZERS,mtpfuzzer) \
158 $(call gb_Helper_optional,FUZZERS,htmlfuzzer) \
159 $(call gb_Helper_optional,FUZZERS,sftfuzzer) \
160 $(call gb_Helper_optional,FUZZERS,dbffuzzer) \
161 $(call gb_Helper_optional,FUZZERS,webpfuzzer) \
162 soffice_bin \
163 $(call gb_CondExeUnopkg, \
164 unopkg_bin \
165 $(if $(filter WNT,$(OS)), \
166 unopkg \
167 unopkg_com \
170 $(if $(filter WNT,$(OS)), \
171 soffice_exe \
172 soffice_com \
173 soffice_safe \
174 unoinfo \
175 $(if $(filter-out AARCH64,$(CPUNAME)),twain32shim) \
179 $(eval $(call gb_Helper_register_executables_for_install,OOO,base_brand, \
180 $(if $(filter WNT,$(OS)), \
181 sbase \
185 $(eval $(call gb_Helper_register_executables_for_install,OOO,base, \
186 $(if $(filter WNT,$(OS)), \
187 odbcconfig \
191 $(eval $(call gb_Helper_register_executables_for_install,OOO,calc_brand, \
192 $(if $(filter WNT,$(OS)), \
193 scalc \
197 $(eval $(call gb_Helper_register_executables_for_install,OOO,draw_brand, \
198 $(if $(filter WNT,$(OS)), \
199 sdraw \
203 $(eval $(call gb_Helper_register_executables_for_install,OOO,impress_brand, \
204 $(if $(filter WNT,$(OS)), \
205 simpress \
209 $(eval $(call gb_Helper_register_executables_for_install,OOO,math_brand, \
210 $(if $(filter WNT,$(OS)), \
211 smath \
215 $(eval $(call gb_Helper_register_executables_for_install,OOO,writer_brand, \
216 $(if $(filter WNT,$(OS)), \
217 sweb \
218 swriter \
222 $(eval $(call gb_Helper_register_executables_for_install,OOO,ooo, \
223 gengal \
224 $(if $(filter WNT,$(OS)),,uri-encode) \
225 $(if $(filter WNT,$(OS)), \
226 senddoc \
228 $(if $(filter OPENCL,$(BUILD_TYPE)),opencltest) \
231 ifeq ($(OS),WNT)
232 $(eval $(call gb_Helper_register_executables_for_install,OOO,quickstart, \
233 quickstart \
235 endif
237 $(eval $(call gb_Helper_register_executables_for_install,OOO,python, \
238 $(if $(filter WNT,$(OS)), \
239 python \
243 ifneq ($(ENABLE_POPPLER),)
244 $(eval $(call gb_Helper_register_executables_for_install,OOO,pdfimport, \
245 xpdfimport \
247 endif
249 $(eval $(call gb_Helper_register_executables_for_install,UREBIN,ure,\
250 $(if $(and $(ENABLE_JAVA),$(filter-out HAIKU MACOSX WNT,$(OS)),$(filter DESKTOP,$(BUILD_TYPE))),javaldx) \
251 $(call gb_CondExeRegistryTools, \
252 regmerge \
253 regview \
255 $(call gb_CondExeUno,uno) \
258 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,base, \
259 abp \
260 dbp \
261 dbu \
264 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,calc, \
265 analysis \
266 $(call gb_Helper_optional,DBCONNECTIVITY,calc) \
267 date \
268 pricing \
269 sc \
270 scd \
271 scfilt \
272 wpftcalc \
273 solver \
274 $(call gb_Helper_optional,SCRIPTING,vbaobj) \
277 $(eval $(call gb_Helper_register_plugins_for_install,OOOLIBS,calc, \
278 scui \
281 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,graphicfilter, \
282 svgfilter \
283 wpftdraw \
284 graphicfilter \
287 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,impress, \
288 animcore \
289 PresenterScreen \
290 PresentationMinimizer \
291 wpftimpress \
294 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,onlineupdate, \
295 $(if $(ENABLE_ONLINE_UPDATE), \
296 updatecheckui \
297 updchk \
301 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,gnome, \
302 $(if $(ENABLE_EVOAB2),evoab) \
303 $(if $(ENABLE_GIO),losessioninstall) \
304 $(if $(ENABLE_GIO),ucpgio1) \
307 $(eval $(call gb_Helper_register_plugins_for_install,OOOLIBS,gnome, \
308 $(if $(ENABLE_GTK3),vclplug_gtk3) \
309 $(if $(ENABLE_GTK4),vclplug_gtk4) \
312 gb_haiku_or_kde := $(if $(filter HAIKU,$(OS)),haiku,kde)
314 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,kde, \
315 $(if $(ENABLE_KF5),kf5be1) \
318 $(eval $(call gb_Helper_register_plugins_for_install,OOOLIBS,$(gb_haiku_or_kde), \
319 $(if $(ENABLE_KF5),vclplug_kf5) \
320 $(if $(ENABLE_QT5),vclplug_qt5) \
321 $(if $(ENABLE_QT6),vclplug_qt6) \
322 $(if $(ENABLE_GTK3_KDE5),vclplug_gtk3_kde5) \
325 $(eval $(call gb_Helper_register_executables_for_install,OOO,$(gb_haiku_or_kde), \
326 $(if $(ENABLE_GTK3_KDE5),lo_kde5filepicker) \
329 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,math, \
330 sm \
331 smd \
334 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,ogltrans, \
335 OGLTrans \
338 ifneq ($(ENABLE_WASM_STRIP_CANVAS),TRUE)
339 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,ooo, \
340 canvastools \
341 $(if $(ENABLE_CAIRO_CANVAS),cairocanvas) \
342 canvasfactory \
343 cppcanvas \
344 $(if $(filter WNT,$(OS)),directx9canvas) \
345 $(if $(ENABLE_OPENGL_CANVAS),oglcanvas) \
346 $(if $(filter WNT,$(OS)),gdipluscanvas) \
347 simplecanvas \
348 vclcanvas \
350 endif
352 ifneq ($(ENABLE_WASM_STRIP_GUESSLANG),TRUE)
353 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,ooo, \
354 guesslang \
356 endif
358 ifneq ($(ENABLE_WASM_STRIP_HUNSPELL),TRUE)
359 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,ooo, \
360 hyphen \
361 lnth \
362 spell \
363 $(if $(filter iOS MACOSX,$(OS)), \
364 MacOSXSpell \
367 endif
369 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,ooo, \
370 avmedia \
371 $(call gb_Helper_optional,AVMEDIA, \
372 $(if $(filter MACOSX,$(OS)),\
373 avmediaMacAVF \
376 $(call gb_Helper_optional,SCRIPTING, \
377 basctl \
378 basprov \
380 basegfx \
381 bib \
382 chartcore \
383 chartcontroller \
384 $(call gb_Helper_optional,OPENCL,clew) \
385 $(if $(filter $(OS),WNT),,cmdmail) \
386 configmgr \
387 ctl \
388 dba \
389 dbahsql \
390 $(call gb_Helper_optional,DBCONNECTIVITY, \
391 dbase \
392 dbaxml) \
393 dbtools \
394 deploymentmisc \
395 $(if $(filter-out MACOSX WNT,$(OS)),desktopbe1) \
396 $(call gb_Helper_optional,SCRIPTING,dlgprov) \
397 drawinglayercore \
398 drawinglayer \
399 editeng \
400 $(if $(filter WNT,$(OS)),emser) \
401 evtatt \
402 expwrap \
403 $(call gb_Helper_optional,DBCONNECTIVITY, \
404 flat \
405 file) \
406 filterconfig \
407 fps_office \
408 for \
409 forui \
410 frm \
411 fsstorage \
412 fwk \
413 $(call gb_Helper_optionals_or,HELPTOOLS XMLHELP,helplinker) \
414 i18npool \
415 i18nsearch \
416 $(if $(ENABLE_JAVA),jdbc) \
417 $(if $(filter WNT,$(OS)),jumplist) \
418 $(if $(ENABLE_LDAP),ldapbe2) \
419 $(if $(filter WNT,$(OS)),WinUserInfoBe) \
420 localebe1 \
421 log \
422 lng \
423 $(if $(filter $(OS),MACOSX),macbe1) \
424 $(if $(MERGELIBS),merged) \
425 migrationoo2 \
426 migrationoo3 \
427 mozbootstrap \
428 msfilter \
429 $(call gb_Helper_optional,SCRIPTING,msforms) \
430 mtfrenderer \
431 $(call gb_Helper_optional,DBCONNECTIVITY,mysql_jdbc) \
432 $(call gb_Helper_optional,MARIADBC,$(call gb_Helper_optional,DBCONNECTIVITY,mysqlc)) \
433 numbertext \
434 odbc \
435 odfflatxml \
436 offacc \
437 oox \
438 $(call gb_Helper_optional,OPENCL,opencl) \
439 passwordcontainer \
440 pcr \
441 pdffilter \
442 $(call gb_Helper_optional,SCRIPTING,protocolhandler) \
443 sax \
444 sb \
445 $(call gb_Helper_optional,DBCONNECTIVITY,sdbt) \
446 scn \
447 sd \
448 sdd \
449 sdfilt \
450 sfx \
451 slideshow \
452 sot \
453 $(if $(or $(DISABLE_GUI),$(ENABLE_WASM_STRIP_SPLASH)),,spl) \
454 storagefd \
455 $(call gb_Helper_optional,SCRIPTING,stringresource) \
456 svgio \
457 emfio \
458 svl \
459 svt \
460 svx \
461 svxcore \
462 sw \
463 syssh \
464 textconversiondlgs \
465 textfd \
466 tk \
467 tl \
468 ucpexpand1 \
469 ucpext \
470 ucpimage \
471 $(if $(ENABLE_LIBCMIS),ucpcmis1) \
472 ucptdoc1 \
473 unordf \
474 unoxml \
475 updatefeed \
476 utl \
477 uui \
478 $(call gb_Helper_optional,SCRIPTING, \
479 vbaevents \
480 vbahelper \
482 vcl \
483 writerperfect \
484 xmlscript \
485 xmlfa \
486 xmlfd \
487 xo \
488 xof \
489 xsltdlg \
490 xsltfilter \
491 $(if $(filter $(OS),WNT), \
492 ado \
493 oleautobridge \
494 smplmail \
495 wininetbe1 \
497 $(if $(filter $(OS),MACOSX), \
498 $(if $(ENABLE_MACOSX_SANDBOX),, \
499 AppleRemote \
501 fps_aqua \
505 $(eval $(call gb_Helper_register_plugins_for_install,OOOLIBS,ooo, \
506 acc \
507 $(if $(ENABLE_CUSTOMTARGET_COMPONENTS),components) \
508 cui \
509 $(if $(USING_X11),desktop_detector) \
510 icg \
511 sdui \
512 $(if $(ENABLE_GEN),vclplug_gen) \
513 $(if $(filter $(OS),WNT),vclplug_win) \
514 $(if $(filter $(OS),MACOSX),vclplug_osx) \
517 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,postgresqlsdbc, \
518 $(if $(BUILD_POSTGRESQL_SDBC), \
519 postgresql-sdbc \
520 postgresql-sdbc-impl) \
523 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,firebirdsdbc, \
524 $(if $(ENABLE_FIREBIRD_SDBC),firebird_sdbc) \
527 ifneq ($(ENABLE_PDFIMPORT),)
528 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,pdfimport, \
529 pdfimport \
531 endif
533 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,python, \
534 pythonloader \
537 $(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_OOO,python, \
538 pyuno \
539 $(if $(filter-out WNT,$(OS)),pyuno_wrapper) \
542 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,reportbuilder, \
543 rpt \
544 rptui \
545 rptxml \
548 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,writer, \
549 hwp \
550 $(if $(ENABLE_LWP),lwpft) \
551 msword \
552 swd \
553 t602filter \
554 $(call gb_Helper_optional,SCRIPTING,vbaswobj) \
555 wpftwriter \
556 writerfilter \
557 $(call gb_Helper_optional,DBCONNECTIVITY,writer) \
560 $(eval $(call gb_Helper_register_plugins_for_install,OOOLIBS,writer, \
561 swui \
564 # cli_cppuhelper is NONE even though it is actually in URE because it is CliNativeLibrary
565 $(eval $(call gb_Helper_register_libraries,PLAINLIBS_NONE, \
566 smoketest \
567 subsequenttest \
568 test \
569 test-setupvcl \
570 testtools_cppobj \
571 testtools_bridgetest \
572 testtools_bridgetest-common \
573 testtools_constructors \
574 unobootstrapprotector \
575 unoexceptionprotector \
576 unotest \
577 vclbootstrapprotector \
578 scqahelper \
579 swqahelper \
580 wpftqahelper \
581 precompiled_system \
582 $(if $(filter MSC,$(COM)),cli_cppuhelper) \
583 $(if $(filter $(OS),ANDROID),lo-bootstrap) \
584 $(if $(filter $(OS),MACOSX),OOoSpotlightImporter) \
587 $(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_URE,ure, \
588 affine_uno_uno \
589 $(if $(filter MSC,$(COM)),$(if $(filter-out AARCH64,$(CPUNAME)),cli_uno)) \
590 i18nlangtag \
591 $(if $(ENABLE_JAVA), \
592 java_uno \
593 jpipe \
594 $(if $(filter $(OS),WNT),jpipx) \
595 juh \
596 juhx \
598 log_uno_uno \
599 unsafe_uno_uno \
602 $(eval $(call gb_Helper_register_plugins_for_install,PLAINLIBS_URE,ure, \
603 $(if $(filter MSC,$(COM)), \
604 $(if $(filter INTEL,$(CPUNAME)),msci_uno) \
605 $(if $(filter X86_64,$(CPUNAME)),mscx_uno) \
606 $(if $(filter AARCH64,$(CPUNAME)),msca_uno) \
607 , gcc3_uno) \
610 $(eval $(call gb_Helper_register_libraries_for_install,PRIVATELIBS_URE,ure, \
611 binaryurp \
612 bootstrap \
613 introspection \
614 invocadapt \
615 invocation \
616 io \
617 $(if $(ENABLE_JAVA),javaloader) \
618 $(if $(ENABLE_JAVA),javavm) \
619 $(if $(ENABLE_JAVA),jvmaccess) \
620 $(if $(ENABLE_JAVA),jvmfwk) \
621 namingservice \
622 proxyfac \
623 reflection \
624 reg \
625 stocservices \
626 store \
627 unoidl \
628 uuresolver \
629 xmlreader \
632 $(eval $(call gb_Helper_register_plugins_for_install,PRIVATELIBS_URE,ure, \
633 $(call gb_CondLibSalTextenc,sal_textenc) \
636 ifneq ($(ENABLE_WASM_STRIP_ACCESSIBILITY),TRUE)
637 $(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_OOO,ooo, \
638 $(if $(filter WNT,$(OS)), \
639 winaccessibility \
642 endif
644 $(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_OOO,ooo, \
645 $(call gb_Helper_optional,AVMEDIA, \
646 $(if $(ENABLE_GSTREAMER_1_0),avmediagst) \
647 $(if $(ENABLE_GTK4),avmediagtk) \
648 $(if $(filter WNT,$(OS)),avmediawin) \
650 cached1 \
651 comphelper \
652 $(call gb_Helper_optional,DBCONNECTIVITY,dbpool2) \
653 $(call gb_Helper_optional,BREAKPAD,crashreport) \
654 deployment \
655 deploymentgui \
656 embobj \
657 $(if $(ENABLE_JAVA),hsqldb) \
658 i18nutil \
659 $(if $(and $(ENABLE_GTK3), $(filter LINUX %BSD SOLARIS,$(OS))), libreofficekitgtk) \
660 $(if $(ENABLE_JAVA), \
661 $(if $(filter $(OS),MACOSX),,officebean) \
663 emboleobj \
664 package2 \
665 $(call gb_Helper_optional,SCRIPTING,scriptframe) \
666 sdbc2 \
667 sofficeapp \
668 srtrs1 \
669 ucb1 \
670 ucbhelper \
671 $(if $(WITH_WEBDAV),ucpdav1) \
672 ucpfile1 \
673 ucpftp1 \
674 $(call gb_Helper_optional,XMLHELP,ucpchelp1) \
675 ucphier1 \
676 ucppkg1 \
677 $(call gb_CondExeUnopkg,unopkgapp) \
678 xmlsecurity \
679 xsec_xmlsec \
680 xstor \
681 $(if $(filter $(OS),MACOSX), \
682 macab1 \
683 macabdrv1 \
685 $(if $(filter WNT,$(OS)), \
686 fps \
687 inprocserv \
688 UAccCOM \
692 $(eval $(call gb_Helper_register_plugins_for_install,PLAINLIBS_OOO,ooo, \
693 collator_data \
694 dict_ja \
695 dict_zh \
696 index_data \
697 localedata_en \
698 localedata_es \
699 localedata_euro \
700 localedata_others \
701 textconv_dict \
704 ifeq ($(OS),WNT)
705 $(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_OOO,activexbinarytable, \
706 regactivex \
709 $(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_OOO,activex, \
710 so_activex \
713 ifneq ($(BUILD_X64),)
714 $(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_OOO,activexwin64, \
715 so_activex_x64 \
717 endif
719 $(eval $(call gb_Helper_register_executables_for_install,OOO,spsuppfiles, \
720 spsupp_helper \
723 $(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_OOO,spsuppfiles, \
724 $(if $(CXX_X64_BINARY),spsupp_x64) \
725 $(if $(CXX_X86_BINARY),spsupp_x86) \
728 $(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_OOO,ooobinarytable, \
729 $(if $(WINDOWS_SDK_HOME),\
730 instooofiltmsi \
731 inst_msu_msi \
732 qslnkmsi \
733 reg_dlls \
734 reg4allmsdoc \
735 sdqsmsi \
736 sellangmsi \
737 sn_tools \
741 $(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_OOO,winexplorerextbinarytable, \
742 shlxtmsi \
745 $(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_SHLXTHDL,winexplorerext, \
746 ooofilt \
747 propertyhdl \
748 shlxthdl \
751 ifneq ($(BUILD_X64),)
752 $(eval $(call gb_Helper_register_packages_for_install,winexplorerextwin64, \
753 $(if $(filter MSC,$(COM)),msvc_dlls) \
756 $(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_SHLXTHDL,winexplorerextwin64, \
757 ooofilt_x64 \
758 propertyhdl_x64 \
759 shlxthdl_x64 \
761 endif # BUILD_X64
763 endif # WNT
765 $(eval $(call gb_Helper_register_libraries_for_install,RTVERLIBS,ure, \
766 cppuhelper \
767 purpenvhelper \
768 salhelper \
771 $(eval $(call gb_Helper_register_libraries_for_install,UNOVERLIBS,ure, \
772 cppu \
773 sal \
776 $(eval $(call gb_Helper_register_libraries,EXTENSIONLIBS, \
777 active_native \
778 passive_native \
779 crashextension \
782 ifneq ($(ENABLE_JAVA),)
783 $(eval $(call gb_Helper_register_jars_for_install,URE,ure, \
784 java_uno \
785 juh \
786 jurt \
787 libreoffice \
788 ridl \
789 unoloader \
792 $(eval $(call gb_Helper_register_jars_for_install,OOO,ooo, \
793 ScriptFramework \
794 ScriptProviderForJava \
795 XMergeBridge \
796 commonwizards \
797 form \
798 $(if $(filter-out MACOSX,$(OS)),officebean) \
799 query \
800 report \
801 sdbc_hsqldb \
802 smoketest \
803 table \
804 unoil \
805 xmerge \
808 $(eval $(call gb_Helper_register_jars_for_install,OOO,reportbuilder, \
809 reportbuilder \
810 reportbuilderwizard \
813 ifneq ($(ENABLE_SCRIPTING_BEANSHELL),)
814 $(eval $(call gb_Helper_register_jars_for_install,OOO,extensions_bsh, \
815 ScriptProviderForBeanShell \
817 endif
819 ifneq ($(ENABLE_SCRIPTING_JAVASCRIPT),)
820 $(eval $(call gb_Helper_register_jars_for_install,OOO,extensions_rhino, \
821 ScriptProviderForJavaScript \
823 endif
825 ifeq (NUMBERTEXT,$(filter NUMBERTEXT,$(BUILD_TYPE)))
826 $(eval $(call gb_Helper_register_packages_for_install,extensions_numbertext,\
827 numbertext \
829 endif
831 $(eval $(call gb_Helper_register_jars,OXT, \
832 EvolutionarySolver \
833 active_java \
834 mediawiki \
835 nlpsolver \
836 passive_java \
839 $(eval $(call gb_Helper_register_jars,NONE,\
840 ConnectivityTools \
841 HelloWorld \
842 Highlight \
843 MemoryUsage \
844 OOoRunner \
845 TestExtension \
846 test \
847 test-tools \
848 testComponent \
850 endif
852 # 'test_unittest' is only package delivering to workdir.
853 # Other packages could be potentially autoinstalled.
854 $(eval $(call gb_Helper_register_packages, \
855 test_unittest \
856 cli_basetypes_copy \
857 extras_wordbook \
858 instsetoo_native_setup \
859 $(if $(ENABLE_OOENV),instsetoo_native_ooenv) \
860 postprocess_registry \
861 readlicense_oo_readmes \
862 setup_native_misc \
863 sysui_share \
864 vcl_fontunxpsprint \
867 $(eval $(call gb_Helper_register_packages_for_install,impress,\
868 sd_xml \
871 $(eval $(call gb_Helper_register_packages_for_install,calc,\
872 sc_res_xml \
875 $(eval $(call gb_Helper_register_packages_for_install,libreofficekit,\
876 $(if $(filter LINUX %BSD SOLARIS, $(OS)),libreofficekit_selectionhandles) \
879 $(eval $(call gb_Helper_register_packages_for_install,ure,\
880 instsetoo_native_setup_ure \
881 $(call gb_CondExeUno,uno_sh) \
882 ure_install \
883 $(if $(ENABLE_JAVA),\
884 jvmfwk_jvmfwk3_ini \
885 jvmfwk_javavendors \
886 jvmfwk_jreproperties \
887 $(if $(filter MACOSX,$(OS)),bridges_jnilib_java_uno) \
891 $(eval $(call gb_Helper_register_packages_for_install,postgresqlsdbc,\
892 $(if $(BUILD_POSTGRESQL_SDBC),connectivity_postgresql-sdbc) \
895 $(eval $(call gb_Helper_register_packages_for_install,sdk,\
896 odk_share_readme \
897 odk_share_readme_generated \
898 $(if $(filter WNT,$(OS)),$(if $(filter-out AARCH64,$(CPUNAME)),odk_cli)) \
899 odk_config \
900 $(if $(filter WNT,$(OS)),odk_config_win) \
901 odk_docs \
902 $(if $(DOXYGEN),odk_doxygen) \
903 odk_examples \
904 odk_headers \
905 odk_headers_generated \
906 odk_html \
907 odk_settings \
908 odk_settings_generated \
909 offapi_idl \
910 udkapi_idl \
911 $(if $(ENABLE_JAVA), \
912 odk_javadoc \
913 odk_uno_loader_classes \
917 ifneq ($(ENABLE_WASM_STRIP_PINGUSER),TRUE)
918 $(eval $(call gb_Helper_register_packages_for_install,ooo,\
919 tipoftheday_images \
921 endif
923 ifneq ($(ENABLE_WASM_STRIP_CANVAS),TRUE)
924 $(eval $(call gb_Helper_register_packages_for_install,ooo,\
925 $(if $(ENABLE_OPENGL_CANVAS),canvas_opengl_shader) \
927 endif
929 $(eval $(call gb_Helper_register_packages_for_install,ooo,\
930 $(if $(SYSTEM_LIBEXTTEXTCAT),,libexttextcat_fingerprint) \
931 officecfg_misc \
932 $(if $(filter $(OS),MACOSX), \
933 extensions_mdibundle \
934 extensions_OOoSpotlightImporter \
936 extras_autocorr \
937 extras_autotextuser \
938 extras_cfgsrvnolang \
939 extras_cfgusr \
940 extras_database \
941 extras_databasebiblio \
942 extras_gallbullets \
943 extras_gallmytheme \
944 extras_gallroot \
945 extras_gallsystem \
946 extras_gallsystemstr \
947 extras_glade \
948 extras_labels \
949 $(if $(filter WNT,$(OS)),extras_newfiles) \
950 extras_palettes \
951 extras_personas \
952 extras_persona_dark \
953 extras_persona_gray \
954 extras_persona_green \
955 extras_persona_pink \
956 extras_persona_sand \
957 extras_persona_white \
958 extras_tplofficorr \
959 extras_tploffimisc \
960 extras_tplpresnt \
961 extras_tpl_styles \
962 extras_tpldraw \
963 extras_tplpersonal \
964 extras_tplwizbitmap \
965 extras_tplwizdesktop \
966 extras_tplwizletter \
967 extras_tplwizfax \
968 extras_tplwizagenda \
969 extras_tplwizreport \
970 extras_tplwizstyles \
971 framework_dtd \
972 $(if $(filter $(OS),MACOSX),infoplist) \
973 oox_customshapes \
974 oox_generated \
975 package_dtd \
976 sd_web \
977 sfx2_emojiconfig \
978 $(call gb_Helper_optional,DESKTOP,\
979 $(if $(filter-out WNT,$(OS)),$(if $(ENABLE_MACOSX_SANDBOX),,shell_senddoc))) \
980 $(call gb_Helper_optional,DESKTOP,$(if $(filter-out EMSCRIPTEN MACOSX WNT,$(OS)),svx_gengal)) \
981 $(if $(USING_X11),vcl_fontunxppds) \
982 $(if $(filter $(OS),MACOSX),vcl_osxres) \
983 xmloff_dtd \
984 xmlscript_dtd \
985 $(call gb_Helper_optional,XMLHELP,xmlhelp_helpxsl) \
986 $(if $(ENABLE_JAVA),\
987 scripting_java \
988 scripting_java_jars \
989 $(if $(ENABLE_SCRIPTING_BEANSHELL),scripting_ScriptsBeanShell) \
990 $(if $(ENABLE_SCRIPTING_JAVASCRIPT),scripting_ScriptsJavaScript) \
992 $(call gb_Helper_optional,SCRIPTING,scripting_scriptbindinglib) \
993 $(if $(filter $(OS),MACOSX),sysui_osxicons) \
994 wizards_basicshare \
995 wizards_basicsrvaccess2base \
996 wizards_basicsrvdepot \
997 wizards_basicsrveuro \
998 wizards_basicsrvgimmicks \
999 wizards_basicsrvimport \
1000 wizards_basicsrvform \
1001 wizards_basicsrvscriptforge \
1002 wizards_basicsrvsfdatabases \
1003 wizards_basicsrvsfdialogs \
1004 wizards_basicsrvsfdocuments \
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),,$(if $(filter-out AIX,$(OS)), \
1021 Pyuno/commonwizards \
1022 Pyuno/fax \
1023 Pyuno/letter \
1024 Pyuno/agenda \
1025 Pyuno/mailmerge \
1026 )) \
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 \
1039 $(eval $(call gb_Helper_register_packages_for_install,ooo_fonts,\
1040 extras_fonts \
1041 $(if $(USING_X11)$(DISABLE_GUI)$(filter ANDROID EMSCRIPTEN,$(OS)), \
1042 postprocess_fontconfig) \
1043 $(call gb_Helper_optional,MORE_FONTS,\
1044 fonts_alef \
1045 fonts_amiri \
1046 fonts_caladea \
1047 fonts_carlito \
1048 $(if $(MPL_SUBSET),,fonts_culmus) \
1049 fonts_dejavu \
1050 fonts_emojione_color \
1051 fonts_gentium \
1052 $(if $(MPL_SUBSET),,fonts_kacst) \
1053 fonts_liberation \
1054 fonts_liberation_narrow \
1055 fonts_libertineg \
1056 fonts_libre_hebrew \
1057 fonts_noto \
1058 fonts_reem \
1059 fonts_sourcecode \
1060 fonts_sourcesans \
1061 fonts_sourceserif \
1062 fonts_scheherazade \
1066 $(eval $(call gb_Helper_register_packages_for_install,ooo_images,\
1067 postprocess_images \
1068 $(call gb_Helper_optional,HELP,helpcontent2_helpimages) \
1071 $(eval $(call gb_Helper_register_packages_for_install,ogltrans,\
1072 sd_opengl \
1073 slideshow_opengl_shader \
1076 ifneq ($(ENABLE_POPPLER),)
1077 $(eval $(call gb_Helper_register_packages_for_install,pdfimport, \
1078 sdext_pdfimport_pdf \
1080 endif
1082 $(eval $(call gb_Helper_register_packages_for_install,reportbuilder,\
1083 reportbuilder_templates \
1086 $(eval $(call gb_Helper_register_packages_for_install,xsltfilter,\
1087 filter_docbook \
1088 filter_xhtml \
1089 filter_xslt \
1092 $(eval $(call gb_Helper_register_packages_for_install,brand,\
1093 desktop_branding \
1094 $(if $(CUSTOM_BRAND_DIR),desktop_branding_custom) \
1095 $(if $(filter DESKTOP,$(BUILD_TYPE)),desktop_scripts_install) \
1096 $(if $(and $(filter-out EMSCRIPTEN HAIKU MACOSX WNT,$(OS)),$(filter DESKTOP,$(BUILD_TYPE))),\
1097 $(if $(DISABLE_GUI),, \
1098 desktop_soffice_sh \
1101 readlicense_oo_files \
1102 readlicense_oo_license \
1103 $(call gb_Helper_optional,DESKTOP,setup_native_packinfo) \
1106 ifeq ($(USING_X11), TRUE)
1107 $(eval $(call gb_Helper_register_packages_for_install,base_brand,\
1108 desktop_sbase_sh \
1111 $(eval $(call gb_Helper_register_packages_for_install,calc_brand,\
1112 desktop_scalc_sh \
1115 $(eval $(call gb_Helper_register_packages_for_install,draw_brand,\
1116 desktop_sdraw_sh \
1119 $(eval $(call gb_Helper_register_packages_for_install,impress_brand,\
1120 desktop_simpress_sh \
1123 $(eval $(call gb_Helper_register_packages_for_install,math_brand,\
1124 desktop_smath_sh \
1127 $(eval $(call gb_Helper_register_packages_for_install,writer_brand,\
1128 desktop_swriter_sh \
1130 endif # USING_X11=TRUE
1132 $(eval $(call gb_Helper_register_packages_for_install,onlineupdate,\
1133 $(if $(ENABLE_ONLINE_UPDATE),$(if $(filter LINUX SOLARIS,$(OS)),setup_native_scripts)) \
1136 ifneq ($(DISABLE_PYTHON),TRUE)
1137 $(eval $(call gb_Helper_register_packages_for_install,python, \
1138 pyuno_pythonloader_ini \
1139 pyuno_python_scripts \
1140 $(if $(SYSTEM_PYTHON),,$(if $(filter-out WNT,$(OS)),python_shell)) \
1141 scripting_ScriptsPython \
1144 $(eval $(call gb_Helper_register_packages_for_install,python_scriptprovider, \
1145 scripting_scriptproviderforpython \
1148 ifeq (LIBRELOGO,$(filter LIBRELOGO,$(BUILD_TYPE)))
1149 $(eval $(call gb_Helper_register_packages_for_install,python_librelogo, \
1150 librelogo \
1151 librelogo_properties \
1153 endif # LIBRELOGO
1155 endif # DISABLE_PYTHON
1157 # External executables
1158 $(eval $(call gb_ExternalExecutable_register_executables,\
1159 genbrk \
1160 genccode \
1161 gencmn \
1162 python \
1163 ucpp \
1164 xmllint \
1165 xsltproc \
1168 # Resources
1169 $(eval $(call gb_Helper_register_mos,\
1170 acc \
1171 $(call gb_Helper_optional,AVMEDIA,avmedia) \
1172 $(call gb_Helper_optional,SCRIPTING,basctl) \
1173 chart \
1174 cnr \
1175 cui \
1176 dba \
1177 dkt \
1178 editeng \
1179 flt \
1180 for \
1181 $(call gb_Helper_optional,DESKTOP,fps) \
1182 frm \
1183 fwk \
1184 oox \
1185 pcr \
1186 rpt \
1187 $(call gb_Helper_optional,SCRIPTING,sb) \
1188 sc \
1189 sca \
1190 scc \
1191 sd \
1192 sfx \
1193 shell \
1194 sm \
1195 svl \
1196 svt \
1197 svx \
1198 sw \
1199 uui \
1200 vcl \
1201 wiz \
1202 wpt \
1203 $(if $(ENABLE_NSS)$(ENABLE_OPENSSL),xsc) \
1206 # UI configuration
1207 ifneq ($(ENABLE_WASM_STRIP_DBACCESS),TRUE)
1208 $(eval $(call gb_Helper_register_uiconfigs,\
1209 $(call gb_Helper_optional,DBCONNECTIVITY,dbaccess) \
1211 endif
1213 $(eval $(call gb_Helper_register_uiconfigs,\
1214 cui \
1215 desktop \
1216 editeng \
1217 filter \
1218 formula \
1219 fps \
1220 libreofficekit \
1221 $(call gb_Helper_optional,SCRIPTING,modules/BasicIDE) \
1222 $(call gb_Helper_optional,DBCONNECTIVITY,\
1223 modules/dbapp \
1224 modules/dbbrowser \
1225 modules/dbquery \
1226 modules/dbrelation \
1228 modules/dbreport \
1229 $(call gb_Helper_optional,DBCONNECTIVITY,\
1230 modules/dbtable \
1231 modules/dbtdata \
1233 modules/sabpilot \
1234 $(call gb_Helper_optional,DBCONNECTIVITY,modules/sbibliography) \
1235 modules/scalc \
1236 modules/scanner \
1237 modules/schart \
1238 modules/sdraw \
1239 modules/sglobal \
1240 modules/simpress \
1241 modules/smath \
1242 $(call gb_Helper_optional,DBCONNECTIVITY,modules/spropctrlr) \
1243 modules/StartModule \
1244 modules/sweb \
1245 modules/swform \
1246 modules/swreport \
1247 modules/swriter \
1248 modules/swxform \
1249 sfx \
1250 svt \
1251 svx \
1252 uui \
1253 vcl \
1254 writerperfect \
1255 $(if $(ENABLE_NSS)$(ENABLE_OPENSSL),xmlsec) \
1258 ifeq ($(gb_GBUILDSELFTEST),t)
1259 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,ooo, gbuildselftestdep gbuildselftest))
1260 $(eval $(call gb_Helper_register_executables,NONE, gbuildselftestexe))
1261 endif
1263 # vim: set noet sw=4 ts=4: