Cleanup comment
[LibreOffice.git] / Repository.mk
blobbab79b16a21ac319a920912b8e948ffbf08db848
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-read \
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-check \
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 (CT2N,$(filter CT2N,$(BUILD_TYPE)))
826 $(eval $(call gb_Helper_register_packages_for_install,extensions_ct2n,\
827 ct2n \
829 endif
831 ifeq (NUMBERTEXT,$(filter NUMBERTEXT,$(BUILD_TYPE)))
832 $(eval $(call gb_Helper_register_packages_for_install,extensions_numbertext,\
833 numbertext \
835 endif
837 $(eval $(call gb_Helper_register_jars,OXT, \
838 EvolutionarySolver \
839 active_java \
840 mediawiki \
841 nlpsolver \
842 passive_java \
845 $(eval $(call gb_Helper_register_jars,NONE,\
846 ConnectivityTools \
847 HelloWorld \
848 Highlight \
849 MemoryUsage \
850 OOoRunner \
851 TestExtension \
852 test \
853 test-tools \
854 testComponent \
856 endif
858 # 'test_unittest' is only package delivering to workdir.
859 # Other packages could be potentially autoinstalled.
860 $(eval $(call gb_Helper_register_packages, \
861 test_unittest \
862 cli_basetypes_copy \
863 extras_wordbook \
864 instsetoo_native_setup \
865 $(if $(ENABLE_OOENV),instsetoo_native_ooenv) \
866 postprocess_registry \
867 readlicense_oo_readmes \
868 setup_native_misc \
869 sysui_share \
870 vcl_fontunxpsprint \
873 $(eval $(call gb_Helper_register_packages_for_install,impress,\
874 sd_xml \
877 $(eval $(call gb_Helper_register_packages_for_install,calc,\
878 sc_res_xml \
881 $(eval $(call gb_Helper_register_packages_for_install,libreofficekit,\
882 $(if $(filter LINUX %BSD SOLARIS, $(OS)),libreofficekit_selectionhandles) \
885 $(eval $(call gb_Helper_register_packages_for_install,ure,\
886 instsetoo_native_setup_ure \
887 $(call gb_CondExeUno,uno_sh) \
888 ure_install \
889 $(if $(ENABLE_JAVA),\
890 jvmfwk_jvmfwk3_ini \
891 jvmfwk_javavendors \
892 jvmfwk_jreproperties \
893 $(if $(filter MACOSX,$(OS)),bridges_jnilib_java_uno) \
897 $(eval $(call gb_Helper_register_packages_for_install,postgresqlsdbc,\
898 $(if $(BUILD_POSTGRESQL_SDBC),connectivity_postgresql-sdbc) \
901 $(eval $(call gb_Helper_register_packages_for_install,sdk,\
902 odk_share_readme \
903 odk_share_readme_generated \
904 $(if $(filter WNT,$(OS)),$(if $(filter-out AARCH64,$(CPUNAME)),odk_cli)) \
905 odk_config \
906 $(if $(filter WNT,$(OS)),odk_config_win) \
907 odk_docs \
908 $(if $(DOXYGEN),odk_doxygen) \
909 odk_examples \
910 odk_headers \
911 odk_headers_generated \
912 odk_html \
913 odk_settings \
914 odk_settings_generated \
915 offapi_idl \
916 udkapi_idl \
917 $(if $(ENABLE_JAVA), \
918 odk_javadoc \
919 odk_uno_loader_classes \
923 ifneq ($(ENABLE_WASM_STRIP_PINGUSER),TRUE)
924 $(eval $(call gb_Helper_register_packages_for_install,ooo,\
925 tipoftheday_images \
927 endif
929 ifneq ($(ENABLE_WASM_STRIP_CANVAS),TRUE)
930 $(eval $(call gb_Helper_register_packages_for_install,ooo,\
931 $(if $(ENABLE_OPENGL_CANVAS),canvas_opengl_shader) \
933 endif
935 $(eval $(call gb_Helper_register_packages_for_install,ooo,\
936 $(if $(SYSTEM_LIBEXTTEXTCAT),,libexttextcat_fingerprint) \
937 officecfg_misc \
938 $(if $(filter $(OS),MACOSX), \
939 extensions_mdibundle \
940 extensions_OOoSpotlightImporter \
942 extras_autocorr \
943 extras_autotextuser \
944 extras_cfgsrvnolang \
945 extras_cfgusr \
946 extras_database \
947 extras_databasebiblio \
948 extras_gallbullets \
949 extras_gallmytheme \
950 extras_gallroot \
951 extras_gallsystem \
952 extras_gallsystemstr \
953 extras_glade \
954 extras_labels \
955 $(if $(filter WNT,$(OS)),extras_newfiles) \
956 extras_palettes \
957 extras_personas \
958 extras_persona_dark \
959 extras_persona_gray \
960 extras_persona_green \
961 extras_persona_pink \
962 extras_persona_sand \
963 extras_persona_white \
964 extras_tplofficorr \
965 extras_tploffimisc \
966 extras_tplpresnt \
967 extras_tpl_styles \
968 extras_tpldraw \
969 extras_tplpersonal \
970 extras_tplwizbitmap \
971 extras_tplwizdesktop \
972 extras_tplwizletter \
973 extras_tplwizfax \
974 extras_tplwizagenda \
975 extras_tplwizreport \
976 extras_tplwizstyles \
977 framework_dtd \
978 $(if $(filter $(OS),MACOSX),infoplist) \
979 oox_customshapes \
980 oox_generated \
981 package_dtd \
982 sd_web \
983 sfx2_emojiconfig \
984 $(call gb_Helper_optional,DESKTOP,\
985 $(if $(filter-out WNT,$(OS)),$(if $(ENABLE_MACOSX_SANDBOX),,shell_senddoc))) \
986 $(call gb_Helper_optional,DESKTOP,$(if $(filter-out EMSCRIPTEN MACOSX WNT,$(OS)),svx_gengal)) \
987 $(if $(USING_X11),vcl_fontunxppds) \
988 $(if $(filter $(OS),MACOSX),vcl_osxres) \
989 xmloff_dtd \
990 xmlscript_dtd \
991 $(call gb_Helper_optional,XMLHELP,xmlhelp_helpxsl) \
992 $(if $(ENABLE_JAVA),\
993 scripting_java \
994 scripting_java_jars \
995 $(if $(ENABLE_SCRIPTING_BEANSHELL),scripting_ScriptsBeanShell) \
996 $(if $(ENABLE_SCRIPTING_JAVASCRIPT),scripting_ScriptsJavaScript) \
998 $(call gb_Helper_optional,SCRIPTING,scripting_scriptbindinglib) \
999 $(if $(filter $(OS),MACOSX),sysui_osxicons) \
1000 wizards_basicshare \
1001 wizards_basicsrvaccess2base \
1002 wizards_basicsrvdepot \
1003 wizards_basicsrveuro \
1004 wizards_basicsrvgimmicks \
1005 wizards_basicsrvimport \
1006 wizards_basicsrvform \
1007 wizards_basicsrvscriptforge \
1008 wizards_basicsrvsfdatabases \
1009 wizards_basicsrvsfdialogs \
1010 wizards_basicsrvsfdocuments \
1011 wizards_basicsrvsfwidgets \
1012 wizards_basicsrvstandard \
1013 wizards_basicsrvtemplate \
1014 wizards_basicsrvtools \
1015 wizards_basicsrvtutorials \
1016 wizards_basicusr \
1017 wizards_properties \
1018 wizards_wizardshare \
1019 toolbarmode_images \
1020 vcl_theme_definitions \
1021 $(if $(filter WNT,$(OS)), \
1022 vcl_opengl_denylist \
1024 $(if $(filter SKIA,$(BUILD_TYPE)), \
1025 vcl_skia_denylist ) \
1026 $(if $(DISABLE_PYTHON),,$(if $(filter-out AIX,$(OS)), \
1027 Pyuno/commonwizards \
1028 Pyuno/fax \
1029 Pyuno/letter \
1030 Pyuno/agenda \
1031 Pyuno/mailmerge \
1032 )) \
1033 sfx2_classification \
1034 $(if $(filter OPENCL,$(BUILD_TYPE)),sc_opencl_runtimetest) \
1035 $(if $(ENABLE_HTMLHELP),\
1036 helpcontent2_html_dynamic \
1037 helpcontent2_html_media \
1038 helpcontent2_html_icon-themes \
1039 helpcontent2_html_static \
1041 resource_fonts \
1042 cui \
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_emojione_color \
1057 fonts_gentium \
1058 $(if $(MPL_SUBSET),,fonts_kacst) \
1059 fonts_liberation \
1060 fonts_liberation_narrow \
1061 fonts_libertineg \
1062 fonts_libre_hebrew \
1063 fonts_noto \
1064 fonts_reem \
1065 fonts_sourcecode \
1066 fonts_sourcesans \
1067 fonts_sourceserif \
1068 fonts_scheherazade \
1072 $(eval $(call gb_Helper_register_packages_for_install,ooo_images,\
1073 postprocess_images \
1074 $(call gb_Helper_optional,HELP,helpcontent2_helpimages) \
1077 $(eval $(call gb_Helper_register_packages_for_install,ogltrans,\
1078 sd_opengl \
1079 slideshow_opengl_shader \
1082 ifneq ($(ENABLE_POPPLER),)
1083 $(eval $(call gb_Helper_register_packages_for_install,pdfimport, \
1084 sdext_pdfimport_pdf \
1086 endif
1088 $(eval $(call gb_Helper_register_packages_for_install,reportbuilder,\
1089 reportbuilder_templates \
1092 $(eval $(call gb_Helper_register_packages_for_install,xsltfilter,\
1093 filter_docbook \
1094 filter_xhtml \
1095 filter_xslt \
1098 $(eval $(call gb_Helper_register_packages_for_install,brand,\
1099 desktop_branding \
1100 $(if $(CUSTOM_BRAND_DIR),desktop_branding_custom) \
1101 $(if $(filter DESKTOP,$(BUILD_TYPE)),desktop_scripts_install) \
1102 $(if $(and $(filter-out EMSCRIPTEN HAIKU MACOSX WNT,$(OS)),$(filter DESKTOP,$(BUILD_TYPE))),\
1103 $(if $(DISABLE_GUI),, \
1104 desktop_soffice_sh \
1107 readlicense_oo_files \
1108 readlicense_oo_license \
1109 $(call gb_Helper_optional,DESKTOP,setup_native_packinfo) \
1112 ifeq ($(USING_X11), TRUE)
1113 $(eval $(call gb_Helper_register_packages_for_install,base_brand,\
1114 desktop_sbase_sh \
1117 $(eval $(call gb_Helper_register_packages_for_install,calc_brand,\
1118 desktop_scalc_sh \
1121 $(eval $(call gb_Helper_register_packages_for_install,draw_brand,\
1122 desktop_sdraw_sh \
1125 $(eval $(call gb_Helper_register_packages_for_install,impress_brand,\
1126 desktop_simpress_sh \
1129 $(eval $(call gb_Helper_register_packages_for_install,math_brand,\
1130 desktop_smath_sh \
1133 $(eval $(call gb_Helper_register_packages_for_install,writer_brand,\
1134 desktop_swriter_sh \
1136 endif # USING_X11=TRUE
1138 $(eval $(call gb_Helper_register_packages_for_install,onlineupdate,\
1139 $(if $(ENABLE_ONLINE_UPDATE),$(if $(filter LINUX SOLARIS,$(OS)),setup_native_scripts)) \
1142 ifneq ($(DISABLE_PYTHON),TRUE)
1143 $(eval $(call gb_Helper_register_packages_for_install,python, \
1144 pyuno_pythonloader_ini \
1145 pyuno_python_scripts \
1146 $(if $(SYSTEM_PYTHON),,$(if $(filter-out WNT,$(OS)),python_shell)) \
1147 scripting_ScriptsPython \
1150 $(eval $(call gb_Helper_register_packages_for_install,python_scriptprovider, \
1151 scripting_scriptproviderforpython \
1154 ifeq (LIBRELOGO,$(filter LIBRELOGO,$(BUILD_TYPE)))
1155 $(eval $(call gb_Helper_register_packages_for_install,python_librelogo, \
1156 librelogo \
1157 librelogo_properties \
1159 endif # LIBRELOGO
1161 endif # DISABLE_PYTHON
1163 # External executables
1164 $(eval $(call gb_ExternalExecutable_register_executables,\
1165 genbrk \
1166 genccode \
1167 gencmn \
1168 python \
1169 ucpp \
1170 xmllint \
1171 xsltproc \
1174 # Resources
1175 $(eval $(call gb_Helper_register_mos,\
1176 acc \
1177 $(call gb_Helper_optional,AVMEDIA,avmedia) \
1178 $(call gb_Helper_optional,SCRIPTING,basctl) \
1179 chart \
1180 cnr \
1181 cui \
1182 dba \
1183 dkt \
1184 editeng \
1185 flt \
1186 for \
1187 $(call gb_Helper_optional,DESKTOP,fps) \
1188 frm \
1189 fwk \
1190 oox \
1191 pcr \
1192 rpt \
1193 $(call gb_Helper_optional,SCRIPTING,sb) \
1194 sc \
1195 sca \
1196 scc \
1197 sd \
1198 sfx \
1199 shell \
1200 sm \
1201 svl \
1202 svt \
1203 svx \
1204 sw \
1205 uui \
1206 vcl \
1207 wiz \
1208 wpt \
1209 $(if $(ENABLE_NSS)$(ENABLE_OPENSSL),xsc) \
1212 # UI configuration
1213 ifneq ($(ENABLE_WASM_STRIP_DBACCESS),TRUE)
1214 $(eval $(call gb_Helper_register_uiconfigs,\
1215 $(call gb_Helper_optional,DBCONNECTIVITY,dbaccess) \
1217 endif
1219 $(eval $(call gb_Helper_register_uiconfigs,\
1220 cui \
1221 desktop \
1222 editeng \
1223 filter \
1224 formula \
1225 fps \
1226 libreofficekit \
1227 $(call gb_Helper_optional,SCRIPTING,modules/BasicIDE) \
1228 $(call gb_Helper_optional,DBCONNECTIVITY,\
1229 modules/dbapp \
1230 modules/dbbrowser \
1231 modules/dbquery \
1232 modules/dbrelation \
1234 modules/dbreport \
1235 $(call gb_Helper_optional,DBCONNECTIVITY,\
1236 modules/dbtable \
1237 modules/dbtdata \
1239 modules/sabpilot \
1240 $(call gb_Helper_optional,DBCONNECTIVITY,modules/sbibliography) \
1241 modules/scalc \
1242 modules/scanner \
1243 modules/schart \
1244 modules/sdraw \
1245 modules/sglobal \
1246 modules/simpress \
1247 modules/smath \
1248 $(call gb_Helper_optional,DBCONNECTIVITY,modules/spropctrlr) \
1249 modules/StartModule \
1250 modules/sweb \
1251 modules/swform \
1252 modules/swreport \
1253 modules/swriter \
1254 modules/swxform \
1255 sfx \
1256 svt \
1257 svx \
1258 uui \
1259 vcl \
1260 writerperfect \
1261 $(if $(ENABLE_NSS)$(ENABLE_OPENSSL),xmlsec) \
1264 ifeq ($(gb_GBUILDSELFTEST),t)
1265 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,ooo, gbuildselftestdep gbuildselftest))
1266 $(eval $(call gb_Helper_register_executables,NONE, gbuildselftestexe))
1267 endif
1269 # vim: set noet sw=4 ts=4: