simplify the template makefiles
[LibreOffice.git] / Repository.mk
blob0573cb2e51e13433b7ec8fd8f159151b0957c21f
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 unoidl-write \
71 xrmex \
72 $(if $(filter-out ANDROID iOS WNT,$(OS)), \
73 svdemo \
74 minvcl \
75 fftester \
76 svptest \
77 svpclient ) \
78 $(if $(filter LINUX %BSD SOLARIS,$(OS)), tilebench) \
79 $(if $(filter LINUX MACOSX SOLARIS WNT %BSD,$(OS)),icontest) \
80 vcldemo \
81 tiledrendering \
82 mtfdemo \
83 visualbackendtest \
84 listfonts \
85 $(if $(and $(ENABLE_GTK3), $(filter LINUX %BSD SOLARIS,$(OS))), gtktiledviewer) \
86 $(if $(filter EMSCRIPTEN,$(OS)),wasm-qt5-mandelbrot) \
89 $(eval $(call gb_Helper_register_executables_for_install,SDK,sdk, \
90 $(if $(filter MSC,$(COM)),$(if $(filter-out AARCH64,$(CPUNAME)),climaker)) \
91 cppumaker \
92 idlc \
93 javamaker \
94 $(call gb_CondExeSp2bv,sp2bv) \
95 $(if $(filter UCPP,$(BUILD_TYPE)),ucpp) \
96 $(if $(filter ODK,$(BUILD_TYPE)),unoapploader) \
97 unoidl-check \
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 $(ENABLE_LDAP),ldapbe2) \
418 $(if $(filter WNT,$(OS)),WinUserInfoBe) \
419 localebe1 \
420 log \
421 lng \
422 $(if $(filter $(OS),MACOSX),macbe1) \
423 $(if $(MERGELIBS),merged) \
424 migrationoo2 \
425 migrationoo3 \
426 mozbootstrap \
427 msfilter \
428 $(call gb_Helper_optional,SCRIPTING,msforms) \
429 mtfrenderer \
430 $(call gb_Helper_optional,DBCONNECTIVITY,mysql_jdbc) \
431 $(call gb_Helper_optional,MARIADBC,$(call gb_Helper_optional,DBCONNECTIVITY,mysqlc)) \
432 numbertext \
433 odbc \
434 odfflatxml \
435 offacc \
436 oox \
437 $(call gb_Helper_optional,OPENCL,opencl) \
438 passwordcontainer \
439 pcr \
440 pdffilter \
441 $(call gb_Helper_optional,SCRIPTING,protocolhandler) \
442 sax \
443 sb \
444 $(call gb_Helper_optional,DBCONNECTIVITY,sdbt) \
445 scn \
446 sd \
447 sdd \
448 sdfilt \
449 sfx \
450 slideshow \
451 sot \
452 $(if $(or $(DISABLE_GUI),$(ENABLE_WASM_STRIP_SPLASH)),,spl) \
453 storagefd \
454 $(call gb_Helper_optional,SCRIPTING,stringresource) \
455 svgio \
456 emfio \
457 svl \
458 svt \
459 svx \
460 svxcore \
461 sw \
462 syssh \
463 textconversiondlgs \
464 textfd \
465 tk \
466 tl \
467 ucpexpand1 \
468 ucpext \
469 ucpimage \
470 $(if $(ENABLE_LIBCMIS),ucpcmis1) \
471 ucptdoc1 \
472 unordf \
473 unoxml \
474 updatefeed \
475 utl \
476 uui \
477 $(call gb_Helper_optional,SCRIPTING, \
478 vbaevents \
479 vbahelper \
481 vcl \
482 writerperfect \
483 xmlscript \
484 xmlfa \
485 xmlfd \
486 xo \
487 xof \
488 xsltdlg \
489 xsltfilter \
490 $(if $(filter $(OS),WNT), \
491 ado \
492 oleautobridge \
493 smplmail \
494 wininetbe1 \
496 $(if $(filter $(OS),MACOSX), \
497 $(if $(ENABLE_MACOSX_SANDBOX),, \
498 AppleRemote \
500 fps_aqua \
504 $(eval $(call gb_Helper_register_plugins_for_install,OOOLIBS,ooo, \
505 acc \
506 $(if $(ENABLE_CUSTOMTARGET_COMPONENTS),components) \
507 cui \
508 $(if $(USING_X11),desktop_detector) \
509 icg \
510 sdui \
511 $(if $(ENABLE_GEN),vclplug_gen) \
512 $(if $(filter $(OS),WNT),vclplug_win) \
513 $(if $(filter $(OS),MACOSX),vclplug_osx) \
516 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,postgresqlsdbc, \
517 $(if $(BUILD_POSTGRESQL_SDBC), \
518 postgresql-sdbc \
519 postgresql-sdbc-impl) \
522 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,firebirdsdbc, \
523 $(if $(ENABLE_FIREBIRD_SDBC),firebird_sdbc) \
526 ifneq ($(ENABLE_PDFIMPORT),)
527 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,pdfimport, \
528 pdfimport \
530 endif
532 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,python, \
533 pythonloader \
536 $(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_OOO,python, \
537 pyuno \
538 $(if $(filter-out WNT,$(OS)),pyuno_wrapper) \
541 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,reportbuilder, \
542 rpt \
543 rptui \
544 rptxml \
547 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,writer, \
548 hwp \
549 $(if $(ENABLE_LWP),lwpft) \
550 msword \
551 swd \
552 t602filter \
553 $(call gb_Helper_optional,SCRIPTING,vbaswobj) \
554 wpftwriter \
555 writerfilter \
556 $(call gb_Helper_optional,DBCONNECTIVITY,writer) \
559 $(eval $(call gb_Helper_register_plugins_for_install,OOOLIBS,writer, \
560 swui \
563 # cli_cppuhelper is NONE even though it is actually in URE because it is CliNativeLibrary
564 $(eval $(call gb_Helper_register_libraries,PLAINLIBS_NONE, \
565 smoketest \
566 subsequenttest \
567 test \
568 test-setupvcl \
569 testtools_cppobj \
570 testtools_bridgetest \
571 testtools_bridgetest-common \
572 testtools_constructors \
573 unobootstrapprotector \
574 unoexceptionprotector \
575 unotest \
576 vclbootstrapprotector \
577 scqahelper \
578 swqahelper \
579 wpftqahelper \
580 precompiled_system \
581 $(if $(filter MSC,$(COM)),cli_cppuhelper) \
582 $(if $(filter $(OS),ANDROID),lo-bootstrap) \
583 $(if $(filter $(OS),MACOSX),OOoSpotlightImporter) \
586 $(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_URE,ure, \
587 affine_uno_uno \
588 $(if $(filter MSC,$(COM)),$(if $(filter-out AARCH64,$(CPUNAME)),cli_uno)) \
589 i18nlangtag \
590 $(if $(ENABLE_JAVA), \
591 java_uno \
592 jpipe \
593 $(if $(filter $(OS),WNT),jpipx) \
594 juh \
595 juhx \
597 log_uno_uno \
598 unsafe_uno_uno \
601 $(eval $(call gb_Helper_register_plugins_for_install,PLAINLIBS_URE,ure, \
602 $(if $(filter MSC,$(COM)), \
603 $(if $(filter INTEL,$(CPUNAME)),msci_uno) \
604 $(if $(filter X86_64,$(CPUNAME)),mscx_uno) \
605 $(if $(filter AARCH64,$(CPUNAME)),msca_uno) \
606 , gcc3_uno) \
609 $(eval $(call gb_Helper_register_libraries_for_install,PRIVATELIBS_URE,ure, \
610 binaryurp \
611 bootstrap \
612 introspection \
613 invocadapt \
614 invocation \
615 io \
616 $(if $(ENABLE_JAVA),javaloader) \
617 $(if $(ENABLE_JAVA),javavm) \
618 $(if $(ENABLE_JAVA),jvmaccess) \
619 $(if $(ENABLE_JAVA),jvmfwk) \
620 namingservice \
621 proxyfac \
622 reflection \
623 reg \
624 stocservices \
625 store \
626 unoidl \
627 uuresolver \
628 xmlreader \
631 $(eval $(call gb_Helper_register_plugins_for_install,PRIVATELIBS_URE,ure, \
632 $(call gb_CondLibSalTextenc,sal_textenc) \
635 ifneq ($(ENABLE_WASM_STRIP_ACCESSIBILITY),TRUE)
636 $(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_OOO,ooo, \
637 $(if $(filter WNT,$(OS)), \
638 winaccessibility \
641 endif
643 $(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_OOO,ooo, \
644 $(call gb_Helper_optional,AVMEDIA, \
645 $(if $(ENABLE_GSTREAMER_1_0),avmediagst) \
646 $(if $(filter WNT,$(OS)),avmediawin) \
648 cached1 \
649 comphelper \
650 $(call gb_Helper_optional,DBCONNECTIVITY,dbpool2) \
651 $(call gb_Helper_optional,BREAKPAD,crashreport) \
652 deployment \
653 deploymentgui \
654 embobj \
655 $(if $(ENABLE_JAVA),hsqldb) \
656 i18nutil \
657 $(if $(and $(ENABLE_GTK3), $(filter LINUX %BSD SOLARIS,$(OS))), libreofficekitgtk) \
658 $(if $(ENABLE_JAVA), \
659 $(if $(filter $(OS),MACOSX),,officebean) \
661 emboleobj \
662 package2 \
663 $(call gb_Helper_optional,SCRIPTING,scriptframe) \
664 sdbc2 \
665 sofficeapp \
666 srtrs1 \
667 ucb1 \
668 ucbhelper \
669 $(if $(WITH_WEBDAV),ucpdav1) \
670 ucpfile1 \
671 ucpftp1 \
672 $(call gb_Helper_optional,XMLHELP,ucpchelp1) \
673 ucphier1 \
674 ucppkg1 \
675 $(call gb_CondExeUnopkg,unopkgapp) \
676 xmlsecurity \
677 xsec_xmlsec \
678 xstor \
679 $(if $(filter $(OS),MACOSX), \
680 macab1 \
681 macabdrv1 \
683 $(if $(filter WNT,$(OS)), \
684 fps \
685 inprocserv \
686 UAccCOM \
690 $(eval $(call gb_Helper_register_plugins_for_install,PLAINLIBS_OOO,ooo, \
691 collator_data \
692 dict_ja \
693 dict_zh \
694 index_data \
695 localedata_en \
696 localedata_es \
697 localedata_euro \
698 localedata_others \
699 textconv_dict \
702 ifeq ($(OS),WNT)
703 $(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_OOO,activexbinarytable, \
704 regactivex \
707 $(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_OOO,activex, \
708 so_activex \
711 ifneq ($(BUILD_X64),)
712 $(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_OOO,activexwin64, \
713 so_activex_x64 \
715 endif
717 $(eval $(call gb_Helper_register_executables_for_install,OOO,spsuppfiles, \
718 spsupp_helper \
721 $(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_OOO,spsuppfiles, \
722 $(if $(CXX_X64_BINARY),spsupp_x64) \
723 $(if $(CXX_X86_BINARY),spsupp_x86) \
726 $(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_OOO,ooobinarytable, \
727 $(if $(WINDOWS_SDK_HOME),\
728 instooofiltmsi \
729 inst_msu_msi \
730 qslnkmsi \
731 reg_dlls \
732 reg4allmsdoc \
733 sdqsmsi \
734 sellangmsi \
735 sn_tools \
739 $(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_OOO,winexplorerextbinarytable, \
740 shlxtmsi \
743 $(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_SHLXTHDL,winexplorerext, \
744 ooofilt \
745 propertyhdl \
746 shlxthdl \
749 ifneq ($(BUILD_X64),)
750 $(eval $(call gb_Helper_register_packages_for_install,winexplorerextwin64, \
751 $(if $(filter MSC,$(COM)),msvc_dlls) \
754 $(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_SHLXTHDL,winexplorerextwin64, \
755 ooofilt_x64 \
756 propertyhdl_x64 \
757 shlxthdl_x64 \
759 endif # BUILD_X64
761 endif # WNT
763 $(eval $(call gb_Helper_register_libraries_for_install,RTVERLIBS,ure, \
764 cppuhelper \
765 purpenvhelper \
766 salhelper \
769 $(eval $(call gb_Helper_register_libraries_for_install,UNOVERLIBS,ure, \
770 cppu \
771 sal \
774 $(eval $(call gb_Helper_register_libraries,EXTENSIONLIBS, \
775 active_native \
776 passive_native \
779 ifneq ($(ENABLE_JAVA),)
780 $(eval $(call gb_Helper_register_jars_for_install,URE,ure, \
781 java_uno \
782 juh \
783 jurt \
784 libreoffice \
785 ridl \
786 unoloader \
789 $(eval $(call gb_Helper_register_jars_for_install,OOO,ooo, \
790 ScriptFramework \
791 ScriptProviderForJava \
792 XMergeBridge \
793 commonwizards \
794 form \
795 $(if $(filter-out MACOSX,$(OS)),officebean) \
796 query \
797 report \
798 sdbc_hsqldb \
799 smoketest \
800 table \
801 unoil \
802 xmerge \
805 $(eval $(call gb_Helper_register_jars_for_install,OOO,reportbuilder, \
806 reportbuilder \
807 reportbuilderwizard \
810 ifneq ($(ENABLE_SCRIPTING_BEANSHELL),)
811 $(eval $(call gb_Helper_register_jars_for_install,OOO,extensions_bsh, \
812 ScriptProviderForBeanShell \
814 endif
816 ifneq ($(ENABLE_SCRIPTING_JAVASCRIPT),)
817 $(eval $(call gb_Helper_register_jars_for_install,OOO,extensions_rhino, \
818 ScriptProviderForJavaScript \
820 endif
822 ifeq (CT2N,$(filter CT2N,$(BUILD_TYPE)))
823 $(eval $(call gb_Helper_register_packages_for_install,extensions_ct2n,\
824 ct2n \
826 endif
828 ifeq (NUMBERTEXT,$(filter NUMBERTEXT,$(BUILD_TYPE)))
829 $(eval $(call gb_Helper_register_packages_for_install,extensions_numbertext,\
830 numbertext \
832 endif
834 $(eval $(call gb_Helper_register_jars,OXT, \
835 EvolutionarySolver \
836 active_java \
837 mediawiki \
838 nlpsolver \
839 passive_java \
842 $(eval $(call gb_Helper_register_jars,NONE,\
843 ConnectivityTools \
844 HelloWorld \
845 Highlight \
846 MemoryUsage \
847 OOoRunner \
848 TestExtension \
849 test \
850 test-tools \
851 testComponent \
853 endif
855 # 'test_unittest' is only package delivering to workdir.
856 # Other packages could be potentially autoinstalled.
857 $(eval $(call gb_Helper_register_packages, \
858 test_unittest \
859 cli_basetypes_copy \
860 extras_wordbook \
861 instsetoo_native_setup \
862 $(if $(ENABLE_OOENV),instsetoo_native_ooenv) \
863 postprocess_registry \
864 readlicense_oo_readmes \
865 setup_native_misc \
866 sysui_share \
867 vcl_fontunxpsprint \
870 $(eval $(call gb_Helper_register_packages_for_install,impress,\
871 sd_xml \
874 $(eval $(call gb_Helper_register_packages_for_install,calc,\
875 sc_res_xml \
878 $(eval $(call gb_Helper_register_packages_for_install,libreofficekit,\
879 $(if $(filter LINUX %BSD SOLARIS, $(OS)),libreofficekit_selectionhandles) \
882 $(eval $(call gb_Helper_register_packages_for_install,ure,\
883 instsetoo_native_setup_ure \
884 $(call gb_CondExeUno,uno_sh) \
885 ure_install \
886 $(if $(ENABLE_JAVA),\
887 jvmfwk_jvmfwk3_ini \
888 jvmfwk_javavendors \
889 jvmfwk_jreproperties \
890 $(if $(filter MACOSX,$(OS)),bridges_jnilib_java_uno) \
894 $(eval $(call gb_Helper_register_packages_for_install,postgresqlsdbc,\
895 $(if $(BUILD_POSTGRESQL_SDBC),connectivity_postgresql-sdbc) \
898 $(eval $(call gb_Helper_register_packages_for_install,sdk,\
899 odk_share_readme \
900 odk_share_readme_generated \
901 $(if $(filter WNT,$(OS)),$(if $(filter-out AARCH64,$(CPUNAME)),odk_cli)) \
902 odk_config \
903 $(if $(filter WNT,$(OS)),odk_config_win) \
904 odk_docs \
905 $(if $(DOXYGEN),odk_doxygen) \
906 odk_examples \
907 odk_headers \
908 odk_headers_generated \
909 odk_html \
910 odk_settings \
911 odk_settings_generated \
912 offapi_idl \
913 udkapi_idl \
914 $(if $(ENABLE_JAVA), \
915 odk_javadoc \
916 odk_uno_loader_classes \
920 ifneq ($(ENABLE_WASM_STRIP_PINGUSER),TRUE)
921 $(eval $(call gb_Helper_register_packages_for_install,ooo,\
922 tipoftheday_images \
924 endif
926 ifneq ($(ENABLE_WASM_STRIP_CANVAS),TRUE)
927 $(eval $(call gb_Helper_register_packages_for_install,ooo,\
928 $(if $(ENABLE_OPENGL_CANVAS),canvas_opengl_shader) \
930 endif
932 $(eval $(call gb_Helper_register_packages_for_install,ooo,\
933 $(if $(SYSTEM_LIBEXTTEXTCAT),,libexttextcat_fingerprint) \
934 officecfg_misc \
935 $(if $(filter $(OS),MACOSX), \
936 extensions_mdibundle \
937 extensions_OOoSpotlightImporter \
939 extras_autocorr \
940 extras_autotextuser \
941 extras_cfgsrvnolang \
942 extras_cfgusr \
943 extras_database \
944 extras_databasebiblio \
945 extras_gallbullets \
946 extras_gallmytheme \
947 extras_gallroot \
948 extras_gallsystem \
949 extras_gallsystemstr \
950 extras_glade \
951 extras_labels \
952 $(if $(filter WNT,$(OS)),extras_newfiles) \
953 extras_palettes \
954 extras_personas \
955 extras_persona_dark \
956 extras_persona_gray \
957 extras_persona_green \
958 extras_persona_pink \
959 extras_persona_sand \
960 extras_persona_white \
961 extras_tplofficorr \
962 extras_tploffimisc \
963 extras_tplpresnt \
964 extras_tpl_styles \
965 extras_tpldraw \
966 extras_tplpersonal \
967 extras_tplwizbitmap \
968 extras_tplwizdesktop \
969 extras_tplwizletter \
970 extras_tplwizfax \
971 extras_tplwizagenda \
972 extras_tplwizreport \
973 extras_tplwizstyles \
974 framework_dtd \
975 $(if $(filter $(OS),MACOSX),infoplist) \
976 oox_customshapes \
977 oox_generated \
978 package_dtd \
979 sd_web \
980 sfx2_emojiconfig \
981 $(call gb_Helper_optional,DESKTOP,\
982 $(if $(filter-out WNT,$(OS)),$(if $(ENABLE_MACOSX_SANDBOX),,shell_senddoc))) \
983 $(call gb_Helper_optional,DESKTOP,$(if $(filter-out EMSCRIPTEN MACOSX WNT,$(OS)),svx_gengal)) \
984 $(if $(USING_X11),vcl_fontunxppds) \
985 $(if $(filter $(OS),MACOSX),vcl_osxres) \
986 xmloff_dtd \
987 xmlscript_dtd \
988 $(call gb_Helper_optional,XMLHELP,xmlhelp_helpxsl) \
989 $(if $(ENABLE_JAVA),\
990 scripting_java \
991 scripting_java_jars \
992 $(if $(ENABLE_SCRIPTING_BEANSHELL),scripting_ScriptsBeanShell) \
993 $(if $(ENABLE_SCRIPTING_JAVASCRIPT),scripting_ScriptsJavaScript) \
995 $(call gb_Helper_optional,SCRIPTING,scripting_scriptbindinglib) \
996 $(if $(filter $(OS),MACOSX),sysui_osxicons) \
997 wizards_basicshare \
998 wizards_basicsrvaccess2base \
999 wizards_basicsrvdepot \
1000 wizards_basicsrveuro \
1001 wizards_basicsrvgimmicks \
1002 wizards_basicsrvimport \
1003 wizards_basicsrvform \
1004 wizards_basicsrvscriptforge \
1005 wizards_basicsrvsfdatabases \
1006 wizards_basicsrvsfdialogs \
1007 wizards_basicsrvsfdocuments \
1008 wizards_basicsrvsfwidgets \
1009 wizards_basicsrvstandard \
1010 wizards_basicsrvtemplate \
1011 wizards_basicsrvtools \
1012 wizards_basicsrvtutorials \
1013 wizards_basicusr \
1014 wizards_properties \
1015 wizards_wizardshare \
1016 toolbarmode_images \
1017 vcl_theme_definitions \
1018 $(if $(filter WNT,$(OS)), \
1019 vcl_opengl_denylist \
1021 $(if $(filter SKIA,$(BUILD_TYPE)), \
1022 vcl_skia_denylist ) \
1023 $(if $(DISABLE_PYTHON),,$(if $(filter-out AIX,$(OS)), \
1024 Pyuno/commonwizards \
1025 Pyuno/fax \
1026 Pyuno/letter \
1027 Pyuno/agenda \
1028 Pyuno/mailmerge \
1029 )) \
1030 sfx2_classification \
1031 $(if $(filter OPENCL,$(BUILD_TYPE)),sc_opencl_runtimetest) \
1032 $(if $(ENABLE_HTMLHELP),\
1033 helpcontent2_html_dynamic \
1034 helpcontent2_html_media \
1035 helpcontent2_html_icon-themes \
1036 helpcontent2_html_static \
1038 resource_fonts \
1039 cui \
1042 $(eval $(call gb_Helper_register_packages_for_install,ooo_fonts,\
1043 extras_fonts \
1044 $(if $(USING_X11)$(DISABLE_GUI)$(filter ANDROID EMSCRIPTEN,$(OS)), \
1045 postprocess_fontconfig) \
1046 $(call gb_Helper_optional,MORE_FONTS,\
1047 fonts_alef \
1048 fonts_amiri \
1049 fonts_caladea \
1050 fonts_carlito \
1051 $(if $(MPL_SUBSET),,fonts_culmus) \
1052 fonts_dejavu \
1053 fonts_emojione_color \
1054 fonts_gentium \
1055 $(if $(MPL_SUBSET),,fonts_kacst) \
1056 fonts_liberation \
1057 fonts_liberation_narrow \
1058 fonts_libertineg \
1059 fonts_libre_hebrew \
1060 fonts_noto \
1061 fonts_reem \
1062 fonts_sourcecode \
1063 fonts_sourcesans \
1064 fonts_sourceserif \
1065 fonts_scheherazade \
1069 $(eval $(call gb_Helper_register_packages_for_install,ooo_images,\
1070 postprocess_images \
1071 $(call gb_Helper_optional,HELP,helpcontent2_helpimages) \
1074 $(eval $(call gb_Helper_register_packages_for_install,ogltrans,\
1075 sd_opengl \
1076 slideshow_opengl_shader \
1079 ifneq ($(ENABLE_POPPLER),)
1080 $(eval $(call gb_Helper_register_packages_for_install,pdfimport, \
1081 sdext_pdfimport_pdf \
1083 endif
1085 $(eval $(call gb_Helper_register_packages_for_install,reportbuilder,\
1086 reportbuilder_templates \
1089 $(eval $(call gb_Helper_register_packages_for_install,xsltfilter,\
1090 filter_docbook \
1091 filter_xhtml \
1092 filter_xslt \
1095 $(eval $(call gb_Helper_register_packages_for_install,brand,\
1096 desktop_branding \
1097 $(if $(CUSTOM_BRAND_DIR),desktop_branding_custom) \
1098 $(if $(filter DESKTOP,$(BUILD_TYPE)),desktop_scripts_install) \
1099 $(if $(and $(filter-out EMSCRIPTEN HAIKU MACOSX WNT,$(OS)),$(filter DESKTOP,$(BUILD_TYPE))),\
1100 $(if $(DISABLE_GUI),, \
1101 desktop_soffice_sh \
1104 readlicense_oo_files \
1105 readlicense_oo_license \
1106 $(call gb_Helper_optional,DESKTOP,setup_native_packinfo) \
1109 ifeq ($(USING_X11), TRUE)
1110 $(eval $(call gb_Helper_register_packages_for_install,base_brand,\
1111 desktop_sbase_sh \
1114 $(eval $(call gb_Helper_register_packages_for_install,calc_brand,\
1115 desktop_scalc_sh \
1118 $(eval $(call gb_Helper_register_packages_for_install,draw_brand,\
1119 desktop_sdraw_sh \
1122 $(eval $(call gb_Helper_register_packages_for_install,impress_brand,\
1123 desktop_simpress_sh \
1126 $(eval $(call gb_Helper_register_packages_for_install,math_brand,\
1127 desktop_smath_sh \
1130 $(eval $(call gb_Helper_register_packages_for_install,writer_brand,\
1131 desktop_swriter_sh \
1133 endif # USING_X11=TRUE
1135 $(eval $(call gb_Helper_register_packages_for_install,onlineupdate,\
1136 $(if $(ENABLE_ONLINE_UPDATE),$(if $(filter LINUX SOLARIS,$(OS)),setup_native_scripts)) \
1139 ifneq ($(DISABLE_PYTHON),TRUE)
1140 $(eval $(call gb_Helper_register_packages_for_install,python, \
1141 pyuno_pythonloader_ini \
1142 pyuno_python_scripts \
1143 $(if $(SYSTEM_PYTHON),,$(if $(filter-out WNT,$(OS)),python_shell)) \
1144 scripting_ScriptsPython \
1147 $(eval $(call gb_Helper_register_packages_for_install,python_scriptprovider, \
1148 scripting_scriptproviderforpython \
1151 ifeq (LIBRELOGO,$(filter LIBRELOGO,$(BUILD_TYPE)))
1152 $(eval $(call gb_Helper_register_packages_for_install,python_librelogo, \
1153 librelogo \
1154 librelogo_properties \
1156 endif # LIBRELOGO
1158 endif # DISABLE_PYTHON
1160 # External executables
1161 $(eval $(call gb_ExternalExecutable_register_executables,\
1162 genbrk \
1163 genccode \
1164 gencmn \
1165 python \
1166 ucpp \
1167 xmllint \
1168 xsltproc \
1171 # Resources
1172 $(eval $(call gb_Helper_register_mos,\
1173 acc \
1174 $(call gb_Helper_optional,AVMEDIA,avmedia) \
1175 $(call gb_Helper_optional,SCRIPTING,basctl) \
1176 chart \
1177 cnr \
1178 cui \
1179 dba \
1180 dkt \
1181 editeng \
1182 flt \
1183 for \
1184 $(call gb_Helper_optional,DESKTOP,fps) \
1185 frm \
1186 fwk \
1187 oox \
1188 pcr \
1189 rpt \
1190 $(call gb_Helper_optional,SCRIPTING,sb) \
1191 sc \
1192 sca \
1193 scc \
1194 sd \
1195 sfx \
1196 shell \
1197 sm \
1198 svl \
1199 svt \
1200 svx \
1201 sw \
1202 uui \
1203 vcl \
1204 wiz \
1205 wpt \
1206 $(if $(ENABLE_NSS)$(ENABLE_OPENSSL),xsc) \
1209 # UI configuration
1210 ifneq ($(ENABLE_WASM_STRIP_DBACCESS),TRUE)
1211 $(eval $(call gb_Helper_register_uiconfigs,\
1212 $(call gb_Helper_optional,DBCONNECTIVITY,dbaccess) \
1214 endif
1216 $(eval $(call gb_Helper_register_uiconfigs,\
1217 cui \
1218 desktop \
1219 editeng \
1220 filter \
1221 formula \
1222 fps \
1223 libreofficekit \
1224 $(call gb_Helper_optional,SCRIPTING,modules/BasicIDE) \
1225 $(call gb_Helper_optional,DBCONNECTIVITY,\
1226 modules/dbapp \
1227 modules/dbbrowser \
1228 modules/dbquery \
1229 modules/dbrelation \
1231 modules/dbreport \
1232 $(call gb_Helper_optional,DBCONNECTIVITY,\
1233 modules/dbtable \
1234 modules/dbtdata \
1236 modules/sabpilot \
1237 $(call gb_Helper_optional,DBCONNECTIVITY,modules/sbibliography) \
1238 modules/scalc \
1239 modules/scanner \
1240 modules/schart \
1241 modules/sdraw \
1242 modules/sglobal \
1243 modules/simpress \
1244 modules/smath \
1245 $(call gb_Helper_optional,DBCONNECTIVITY,modules/spropctrlr) \
1246 modules/StartModule \
1247 modules/sweb \
1248 modules/swform \
1249 modules/swreport \
1250 modules/swriter \
1251 modules/swxform \
1252 sfx \
1253 svt \
1254 svx \
1255 uui \
1256 vcl \
1257 writerperfect \
1258 $(if $(ENABLE_NSS)$(ENABLE_OPENSSL),xmlsec) \
1261 ifeq ($(gb_GBUILDSELFTEST),t)
1262 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,ooo, gbuildselftestdep gbuildselftest))
1263 $(eval $(call gb_Helper_register_executables,NONE, gbuildselftestexe))
1264 endif
1266 # vim: set noet sw=4 ts=4: