macOS /w Xcode 15: force the old linker when targeting macOS 11 or lower
[libreoffice.git] / Repository.mk
blob4d0e424f33145efc281ab4bfcf34e8fc6a782ed7
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 fftester \
73 svpclient ) \
74 $(if $(filter LINUX %BSD SOLARIS,$(OS)), tilebench) \
75 $(if $(filter LINUX MACOSX SOLARIS WNT %BSD,$(OS)),icontest) \
76 vcldemo \
77 svdemo \
78 minvcl \
79 svptest \
80 tiledrendering \
81 mtfdemo \
82 visualbackendtest \
83 listfonts \
84 listglyphs \
85 $(if $(and $(ENABLE_GTK3), $(filter LINUX %BSD SOLARIS,$(OS))), gtktiledviewer) \
86 $(if $(and $(ENABLE_GTKTILEDVIEWER), $(filter WNT,$(OS))), gtktiledviewer) \
87 $(if $(filter EMSCRIPTEN,$(OS)),wasm-qt5-mandelbrot) \
90 $(eval $(call gb_Helper_register_executables_for_install,SDK,sdk, \
91 $(if $(filter MSC,$(COM)),$(if $(filter-out AARCH64_TRUE,$(CPUNAME)_$(CROSS_COMPILING)),climaker)) \
92 cppumaker \
93 javamaker \
94 $(call gb_CondExeSp2bv,sp2bv) \
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,fodt2pdffuzzer) \
148 $(call gb_Helper_optional,FUZZERS,fodsfuzzer) \
149 $(call gb_Helper_optional,FUZZERS,fodpfuzzer) \
150 $(call gb_Helper_optional,FUZZERS,xlsfuzzer) \
151 $(call gb_Helper_optional,FUZZERS,scrtffuzzer) \
152 $(call gb_Helper_optional,FUZZERS,wksfuzzer) \
153 $(call gb_Helper_optional,FUZZERS,diffuzzer) \
154 $(call gb_Helper_optional,FUZZERS,docxfuzzer) \
155 $(call gb_Helper_optional,FUZZERS,xlsxfuzzer) \
156 $(call gb_Helper_optional,FUZZERS,pptxfuzzer) \
157 $(call gb_Helper_optional,FUZZERS,mmlfuzzer) \
158 $(call gb_Helper_optional,FUZZERS,mtpfuzzer) \
159 $(call gb_Helper_optional,FUZZERS,htmlfuzzer) \
160 $(call gb_Helper_optional,FUZZERS,sftfuzzer) \
161 $(call gb_Helper_optional,FUZZERS,dbffuzzer) \
162 $(call gb_Helper_optional,FUZZERS,webpfuzzer) \
163 $(call gb_Helper_optional,FUZZERS,zipfuzzer) \
164 $(call gb_Helper_optional,FUZZERS,svgfuzzer) \
165 soffice_bin \
166 $(call gb_CondExeUnopkg, \
167 unopkg_bin \
168 $(if $(filter WNT,$(OS)), \
169 unopkg \
170 unopkg_com \
173 $(if $(filter WNT,$(OS)), \
174 soffice_exe \
175 soffice_com \
176 soffice_safe \
177 unoinfo \
178 $(if $(filter-out AARCH64,$(CPUNAME)),twain32shim) \
182 $(eval $(call gb_Helper_register_executables_for_install,OOO,base_brand, \
183 $(if $(filter WNT,$(OS)), \
184 sbase \
188 $(eval $(call gb_Helper_register_executables_for_install,OOO,base, \
189 $(if $(filter WNT,$(OS)), \
190 odbcconfig \
194 $(eval $(call gb_Helper_register_executables_for_install,OOO,calc_brand, \
195 $(if $(filter WNT,$(OS)), \
196 scalc \
200 $(eval $(call gb_Helper_register_executables_for_install,OOO,draw_brand, \
201 $(if $(filter WNT,$(OS)), \
202 sdraw \
206 $(eval $(call gb_Helper_register_executables_for_install,OOO,impress_brand, \
207 $(if $(filter WNT,$(OS)), \
208 simpress \
212 $(eval $(call gb_Helper_register_executables_for_install,OOO,math_brand, \
213 $(if $(filter WNT,$(OS)), \
214 smath \
218 $(eval $(call gb_Helper_register_executables_for_install,OOO,writer_brand, \
219 $(if $(filter WNT,$(OS)), \
220 sweb \
221 swriter \
225 $(eval $(call gb_Helper_register_executables_for_install,OOO,ooo, \
226 gengal \
227 $(if $(filter WNT,$(OS)),,uri-encode) \
228 $(if $(filter WNT,$(OS)), \
229 senddoc \
231 $(if $(filter OPENCL,$(BUILD_TYPE)),opencltest) \
234 ifeq ($(OS),WNT)
235 $(eval $(call gb_Helper_register_executables_for_install,OOO,quickstart, \
236 quickstart \
238 endif
240 $(eval $(call gb_Helper_register_executables_for_install,OOO,python, \
241 $(if $(filter WNT,$(OS)), \
242 python \
246 ifneq ($(ENABLE_POPPLER),)
247 $(eval $(call gb_Helper_register_executables_for_install,OOO,pdfimport, \
248 xpdfimport \
250 endif
252 $(eval $(call gb_Helper_register_executables_for_install,UREBIN,ure,\
253 $(if $(and $(ENABLE_JAVA),$(filter-out HAIKU MACOSX WNT,$(OS)),$(filter DESKTOP,$(BUILD_TYPE))),javaldx) \
254 $(call gb_CondExeRegistryTools, \
255 regview \
257 $(call gb_CondExeUno,uno) \
260 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,base, \
261 abp \
262 dbp \
263 dbu \
266 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,calc, \
267 analysis \
268 $(call gb_Helper_optional,DBCONNECTIVITY,calc) \
269 date \
270 pricing \
271 sc \
272 scd \
273 scfilt \
274 wpftcalc \
275 solver \
276 $(call gb_Helper_optional,SCRIPTING,vbaobj) \
279 $(eval $(call gb_Helper_register_plugins_for_install,OOOLIBS,calc, \
280 scui \
283 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,graphicfilter, \
284 svgfilter \
285 wpftdraw \
286 graphicfilter \
289 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,impress, \
290 animcore \
291 PresentationMinimizer \
292 wpftimpress \
295 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,onlineupdate, \
296 $(if $(ENABLE_ONLINE_UPDATE), \
297 updatecheckui \
298 updchk \
302 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,gnome, \
303 $(if $(ENABLE_EVOAB2),evoab) \
304 $(if $(ENABLE_GIO),losessioninstall) \
305 $(if $(ENABLE_GIO),ucpgio1) \
308 $(eval $(call gb_Helper_register_plugins_for_install,OOOLIBS,gnome, \
309 $(if $(ENABLE_GTK3),vclplug_gtk3) \
310 $(if $(ENABLE_GTK4),vclplug_gtk4) \
313 gb_haiku_or_kde := $(if $(filter HAIKU,$(OS)),haiku,kde)
315 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,kde, \
316 $(if $(ENABLE_KF5),kf5be1) \
319 $(eval $(call gb_Helper_register_plugins_for_install,OOOLIBS,$(gb_haiku_or_kde), \
320 $(if $(ENABLE_KF5),vclplug_kf5) \
321 $(if $(ENABLE_KF6),vclplug_kf6) \
322 $(if $(ENABLE_QT5),vclplug_qt5) \
323 $(if $(ENABLE_QT6),vclplug_qt6) \
324 $(if $(ENABLE_GTK3_KDE5),vclplug_gtk3_kde5) \
327 $(eval $(call gb_Helper_register_executables_for_install,OOO,$(gb_haiku_or_kde), \
328 $(if $(ENABLE_GTK3_KDE5),lo_kde5filepicker) \
331 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,math, \
332 sm \
333 smd \
336 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,ogltrans, \
337 OGLTrans \
340 ifeq ($(OS),EMSCRIPTEN)
341 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,ooo, \
342 lo-bootstrap \
344 endif
346 ifneq ($(ENABLE_WASM_STRIP_CANVAS),TRUE)
347 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,ooo, \
348 canvastools \
349 $(if $(ENABLE_CAIRO_CANVAS),cairocanvas) \
350 canvasfactory \
351 cppcanvas \
352 $(if $(filter WNT,$(OS)),directx9canvas) \
353 $(if $(ENABLE_OPENGL_CANVAS),oglcanvas) \
354 $(if $(filter WNT,$(OS)),gdipluscanvas) \
355 simplecanvas \
356 vclcanvas \
358 endif
360 ifneq ($(ENABLE_WASM_STRIP_GUESSLANG),TRUE)
361 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,ooo, \
362 guesslang \
364 endif
366 ifneq ($(ENABLE_WASM_STRIP_HUNSPELL),TRUE)
367 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,ooo, \
368 hyphen \
369 lnth \
370 spell \
371 $(if $(filter iOS MACOSX,$(OS)), \
372 MacOSXSpell \
375 endif
377 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,ooo, \
378 avmedia \
379 LanguageTool \
380 $(call gb_Helper_optional,AVMEDIA, \
381 $(if $(filter MACOSX,$(OS)),\
382 avmediaMacAVF \
385 $(call gb_Helper_optional,SCRIPTING, \
386 basctl \
387 basprov \
389 basegfx \
390 bib \
391 chartcore \
392 chartcontroller \
393 $(call gb_Helper_optional,OPENCL,clew) \
394 $(if $(filter $(OS),WNT),,cmdmail) \
395 configmgr \
396 ctl \
397 dba \
398 dbahsql \
399 $(call gb_Helper_optional,DBCONNECTIVITY, \
400 dbase \
401 dbaxml) \
402 dbtools \
403 deploymentmisc \
404 $(if $(filter-out MACOSX WNT,$(OS)),desktopbe1) \
405 $(call gb_Helper_optional,SCRIPTING,dlgprov) \
406 docmodel \
407 drawinglayercore \
408 drawinglayer \
409 editeng \
410 $(if $(filter WNT,$(OS)),emser) \
411 evtatt \
412 $(call gb_Helper_optional,DBCONNECTIVITY, \
413 flat \
414 file) \
415 filterconfig \
416 fps_office \
417 for \
418 forui \
419 frm \
420 fsstorage \
421 fwk \
422 $(call gb_Helper_optionals_or,HELPTOOLS XMLHELP,helplinker) \
423 i18npool \
424 i18nsearch \
425 $(if $(ENABLE_JAVA),jdbc) \
426 $(if $(filter WNT,$(OS)),jumplist) \
427 $(if $(ENABLE_LDAP),ldapbe2) \
428 $(if $(filter WNT,$(OS)),WinUserInfoBe) \
429 localebe1 \
430 log \
431 lng \
432 $(if $(filter $(OS),MACOSX),macbe1) \
433 $(if $(MERGELIBS),merged) \
434 migrationoo2 \
435 migrationoo3 \
436 mozbootstrap \
437 msfilter \
438 $(call gb_Helper_optional,SCRIPTING,msforms) \
439 mtfrenderer \
440 $(call gb_Helper_optional,DBCONNECTIVITY,mysql_jdbc) \
441 $(call gb_Helper_optional,MARIADBC,$(call gb_Helper_optional,DBCONNECTIVITY,mysqlc)) \
442 numbertext \
443 odbc \
444 odfflatxml \
445 offacc \
446 oox \
447 $(call gb_Helper_optional,OPENCL,opencl) \
448 passwordcontainer \
449 pcr \
450 pdffilter \
451 $(call gb_Helper_optional,SCRIPTING,protocolhandler) \
452 sax \
453 sb \
454 $(call gb_Helper_optional,DBCONNECTIVITY,sdbt) \
455 scn \
456 sd \
457 sdd \
458 sfx \
459 slideshow \
460 sot \
461 $(if $(or $(DISABLE_GUI),$(ENABLE_WASM_STRIP_SPLASH)),,spl) \
462 storagefd \
463 $(call gb_Helper_optional,SCRIPTING,stringresource) \
464 svgio \
465 emfio \
466 svl \
467 svt \
468 svx \
469 svxcore \
470 sw \
471 syssh \
472 textconversiondlgs \
473 textfd \
474 tk \
475 tl \
476 ucpexpand1 \
477 ucpext \
478 ucpimage \
479 $(if $(ENABLE_LIBCMIS),ucpcmis1) \
480 ucptdoc1 \
481 unordf \
482 unoxml \
483 updatefeed \
484 utl \
485 uui \
486 $(call gb_Helper_optional,SCRIPTING, \
487 vbaevents \
488 vbahelper \
490 vcl \
491 writerperfect \
492 xmlscript \
493 xmlfa \
494 xmlfd \
495 xo \
496 xof \
497 xsltdlg \
498 xsltfilter \
499 $(if $(filter $(OS),WNT), \
500 ado \
501 oleautobridge \
502 smplmail \
503 wininetbe1 \
505 $(if $(filter $(OS),MACOSX), \
506 $(if $(ENABLE_MACOSX_SANDBOX),, \
507 AppleRemote \
509 fps_aqua \
513 $(eval $(call gb_Helper_register_plugins_for_install,OOOLIBS,ooo, \
514 acc \
515 $(if $(ENABLE_CUSTOMTARGET_COMPONENTS),components) \
516 cui \
517 $(if $(USING_X11),desktop_detector) \
518 icg \
519 sdui \
520 $(if $(ENABLE_GEN),vclplug_gen) \
521 $(if $(filter $(OS),WNT),vclplug_win) \
522 $(if $(filter $(OS),MACOSX),vclplug_osx) \
525 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,postgresqlsdbc, \
526 $(if $(BUILD_POSTGRESQL_SDBC), \
527 postgresql-sdbc \
528 postgresql-sdbc-impl) \
531 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,firebirdsdbc, \
532 $(if $(ENABLE_FIREBIRD_SDBC),firebird_sdbc) \
535 ifneq ($(ENABLE_PDFIMPORT),)
536 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,pdfimport, \
537 pdfimport \
539 endif
541 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,python, \
542 pythonloader \
545 $(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_OOO,python, \
546 pyuno \
547 $(if $(filter-out WNT,$(OS)),pyuno_wrapper) \
550 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,reportbuilder, \
551 rpt \
552 rptui \
553 rptxml \
556 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,writer, \
557 hwp \
558 $(if $(ENABLE_LWP),lwpft) \
559 msword \
560 swd \
561 t602filter \
562 $(call gb_Helper_optional,SCRIPTING,vbaswobj) \
563 wpftwriter \
564 writerfilter \
565 $(call gb_Helper_optional,DBCONNECTIVITY,writer) \
568 $(eval $(call gb_Helper_register_plugins_for_install,OOOLIBS,writer, \
569 swui \
572 # cli_cppuhelper is NONE even though it is actually in URE because it is CliNativeLibrary
573 $(eval $(call gb_Helper_register_libraries,PLAINLIBS_NONE, \
574 smoketest \
575 subsequenttest \
576 test \
577 test-setupvcl \
578 testtools_cppobj \
579 testtools_bridgetest \
580 testtools_bridgetest-common \
581 testtools_constructors \
582 unobootstrapprotector \
583 unoexceptionprotector \
584 unotest \
585 vclbootstrapprotector \
586 scqahelper \
587 swqahelper \
588 wpftqahelper \
589 precompiled_system \
590 $(if $(filter MSC,$(COM)),cli_cppuhelper) \
591 $(if $(filter $(OS),ANDROID),lo-bootstrap) \
592 $(if $(filter $(OS),MACOSX),OOoSpotlightImporter) \
595 $(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_URE,ure, \
596 affine_uno_uno \
597 $(if $(filter MSC,$(COM)),$(if $(filter-out AARCH64_TRUE,$(CPUNAME)_$(CROSS_COMPILING)),cli_uno)) \
598 i18nlangtag \
599 $(if $(ENABLE_JAVA), \
600 java_uno \
601 jpipe \
602 $(if $(filter $(OS),WNT),jpipx) \
603 juh \
604 juhx \
606 log_uno_uno \
607 unsafe_uno_uno \
610 $(eval $(call gb_Helper_register_plugins_for_install,PLAINLIBS_URE,ure, \
611 $(if $(filter MSC,$(COM)), \
612 $(if $(filter INTEL,$(CPUNAME)),msci_uno) \
613 $(if $(filter X86_64,$(CPUNAME)),mscx_uno) \
614 $(if $(filter AARCH64,$(CPUNAME)),msca_uno) \
615 , gcc3_uno) \
618 $(eval $(call gb_Helper_register_libraries_for_install,PRIVATELIBS_URE,ure, \
619 binaryurp \
620 bootstrap \
621 introspection \
622 invocadapt \
623 invocation \
624 io \
625 $(if $(ENABLE_JAVA),javaloader) \
626 $(if $(ENABLE_JAVA),javavm) \
627 $(if $(ENABLE_JAVA),jvmaccess) \
628 $(if $(ENABLE_JAVA),jvmfwk) \
629 namingservice \
630 proxyfac \
631 reflection \
632 reg \
633 stocservices \
634 store \
635 unoidl \
636 uuresolver \
637 xmlreader \
640 $(eval $(call gb_Helper_register_plugins_for_install,PRIVATELIBS_URE,ure, \
641 $(call gb_CondLibSalTextenc,sal_textenc) \
644 ifneq ($(ENABLE_WASM_STRIP_ACCESSIBILITY),TRUE)
645 $(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_OOO,ooo, \
646 $(if $(filter WNT,$(OS)), \
647 winaccessibility \
650 endif
652 $(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_OOO,ooo, \
653 $(call gb_Helper_optional,AVMEDIA, \
654 $(if $(ENABLE_GSTREAMER_1_0),avmediagst) \
655 $(if $(ENABLE_GTK4),avmediagtk) \
656 $(if $(filter WNT,$(OS)),avmediawin) \
658 cached1 \
659 comphelper \
660 $(call gb_Helper_optional,DBCONNECTIVITY,dbpool2) \
661 $(call gb_Helper_optional,BREAKPAD,crashreport) \
662 deployment \
663 deploymentgui \
664 embobj \
665 $(if $(ENABLE_JAVA),hsqldb) \
666 i18nutil \
667 $(if $(and $(ENABLE_GTK3), $(filter LINUX %BSD SOLARIS,$(OS))), libreofficekitgtk) \
668 $(if $(and $(ENABLE_GTKTILEDVIEWER), $(filter WNT,$(OS))), libreofficekitgtk) \
669 $(if $(ENABLE_JAVA), \
670 $(if $(filter $(OS),MACOSX),,officebean) \
672 emboleobj \
673 package2 \
674 $(call gb_Helper_optional,SCRIPTING,scriptframe) \
675 sdbc2 \
676 sofficeapp \
677 srtrs1 \
678 ucb1 \
679 ucbhelper \
680 $(if $(WITH_WEBDAV),ucpdav1) \
681 ucpfile1 \
682 ucpftp1 \
683 $(call gb_Helper_optional,XMLHELP,ucpchelp1) \
684 ucphier1 \
685 ucppkg1 \
686 $(call gb_CondExeUnopkg,unopkgapp) \
687 xmlsecurity \
688 xsec_xmlsec \
689 xstor \
690 $(if $(filter $(OS),MACOSX), \
691 macab1 \
692 macabdrv1 \
694 $(if $(filter WNT,$(OS)), \
695 fps \
696 inprocserv \
697 UAccCOM \
701 $(eval $(call gb_Helper_register_plugins_for_install,PLAINLIBS_OOO,ooo, \
702 collator_data \
703 dict_ja \
704 dict_zh \
705 index_data \
706 localedata_en \
707 localedata_es \
708 localedata_euro \
709 localedata_others \
710 textconv_dict \
713 ifeq ($(OS),WNT)
714 $(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_OOO,activexbinarytable, \
715 regactivex \
718 $(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_OOO,activex, \
719 so_activex \
722 ifneq ($(BUILD_X64),)
723 $(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_OOO,activexwin64, \
724 so_activex_x64 \
726 endif
728 $(eval $(call gb_Helper_register_executables_for_install,OOO,spsuppfiles, \
729 spsupp_helper \
732 $(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_OOO,spsuppfiles, \
733 $(if $(CXX_X64_BINARY),spsupp_x64) \
734 $(if $(CXX_X86_BINARY),spsupp_x86) \
737 $(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_OOO,ooobinarytable, \
738 $(if $(WINDOWS_SDK_HOME),\
739 instooofiltmsi \
740 inst_msu_msi \
741 qslnkmsi \
742 reg_dlls \
743 reg4allmsdoc \
744 sdqsmsi \
745 sellangmsi \
746 sn_tools \
750 $(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_OOO,winexplorerextbinarytable, \
751 shlxtmsi \
754 $(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_SHLXTHDL,winexplorerext, \
755 ooofilt \
756 propertyhdl \
757 shlxthdl \
760 ifneq ($(BUILD_X64),)
761 $(eval $(call gb_Helper_register_packages_for_install,winexplorerextwin64, \
762 $(if $(filter MSC,$(COM)),msvc_dlls) \
765 $(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_SHLXTHDL,winexplorerextwin64, \
766 ooofilt_x64 \
767 propertyhdl_x64 \
768 shlxthdl_x64 \
770 endif # BUILD_X64
772 endif # WNT
774 $(eval $(call gb_Helper_register_libraries_for_install,RTVERLIBS,ure, \
775 cppuhelper \
776 purpenvhelper \
777 salhelper \
780 $(eval $(call gb_Helper_register_libraries_for_install,UNOVERLIBS,ure, \
781 cppu \
782 sal \
785 $(eval $(call gb_Helper_register_libraries,EXTENSIONLIBS, \
786 active_native \
787 passive_native \
788 crashextension \
791 ifneq ($(ENABLE_JAVA),)
792 $(eval $(call gb_Helper_register_jars_for_install,URE,ure, \
793 java_uno \
794 juh \
795 jurt \
796 libreoffice \
797 ridl \
798 unoloader \
801 $(eval $(call gb_Helper_register_jars_for_install,OOO,ooo, \
802 ScriptFramework \
803 ScriptProviderForJava \
804 XMergeBridge \
805 commonwizards \
806 form \
807 $(if $(filter-out MACOSX,$(OS)),officebean) \
808 query \
809 report \
810 sdbc_hsqldb \
811 smoketest \
812 table \
813 unoil \
814 xmerge \
817 $(eval $(call gb_Helper_register_jars_for_install,OOO,reportbuilder, \
818 reportbuilder \
819 reportbuilderwizard \
822 ifneq ($(ENABLE_SCRIPTING_BEANSHELL),)
823 $(eval $(call gb_Helper_register_jars_for_install,OOO,extensions_bsh, \
824 ScriptProviderForBeanShell \
826 endif
828 ifneq ($(ENABLE_SCRIPTING_JAVASCRIPT),)
829 $(eval $(call gb_Helper_register_jars_for_install,OOO,extensions_rhino, \
830 ScriptProviderForJavaScript \
832 endif
834 ifeq (NUMBERTEXT,$(filter NUMBERTEXT,$(BUILD_TYPE)))
835 $(eval $(call gb_Helper_register_packages_for_install,extensions_numbertext,\
836 numbertext \
838 endif
840 $(eval $(call gb_Helper_register_jars,OXT, \
841 EvolutionarySolver \
842 active_java \
843 mediawiki \
844 nlpsolver \
845 passive_java \
848 $(eval $(call gb_Helper_register_jars,NONE,\
849 ConnectivityTools \
850 HelloWorld \
851 Highlight \
852 MemoryUsage \
853 OOoRunner \
854 TestExtension \
855 test \
856 test-tools \
857 testComponent \
859 endif
861 # 'test_unittest' is only package delivering to workdir.
862 # Other packages could be potentially autoinstalled.
863 $(eval $(call gb_Helper_register_packages, \
864 test_unittest \
865 cli_basetypes_copy \
866 extras_wordbook \
867 instsetoo_native_setup \
868 $(if $(ENABLE_OOENV),instsetoo_native_ooenv) \
869 postprocess_registry \
870 readlicense_oo_readmes \
871 setup_native_misc \
872 sysui_share \
873 vcl_fontunxpsprint \
876 $(eval $(call gb_Helper_register_packages_for_install,impress,\
877 sd_xml \
880 $(eval $(call gb_Helper_register_packages_for_install,calc,\
881 sc_res_xml \
884 $(eval $(call gb_Helper_register_packages_for_install,libreofficekit,\
885 $(if $(filter LINUX %BSD SOLARIS, $(OS)),libreofficekit_selectionhandles) \
886 $(if $(and $(ENABLE_GTKTILEDVIEWER), $(filter WNT,$(OS))), libreofficekit_selectionhandles) \
889 $(eval $(call gb_Helper_register_packages_for_install,ure,\
890 instsetoo_native_setup_ure \
891 $(call gb_CondExeUno,uno_sh) \
892 ure_install \
893 $(if $(ENABLE_JAVA),\
894 jvmfwk_jvmfwk3_ini \
895 jvmfwk_javavendors \
896 jvmfwk_jreproperties \
897 $(if $(filter MACOSX,$(OS)),bridges_jnilib_java_uno) \
901 $(eval $(call gb_Helper_register_packages_for_install,postgresqlsdbc,\
902 $(if $(BUILD_POSTGRESQL_SDBC),connectivity_postgresql-sdbc) \
905 $(eval $(call gb_Helper_register_packages_for_install,sdk,\
906 odk_share_readme \
907 odk_share_readme_generated \
908 $(if $(filter WNT,$(OS)),$(if $(filter-out AARCH64_TRUE,$(CPUNAME)_$(CROSS_COMPILING)),odk_cli)) \
909 odk_config \
910 $(if $(filter WNT,$(OS)),odk_config_win) \
911 odk_docs \
912 $(if $(DOXYGEN),odk_doxygen) \
913 odk_examples \
914 odk_headers \
915 odk_headers_generated \
916 odk_html \
917 odk_settings \
918 odk_settings_generated \
919 $(if $(ENABLE_JAVA), \
920 odk_javadoc \
921 odk_uno_loader_classes \
925 ifneq ($(ENABLE_WASM_STRIP_PINGUSER),TRUE)
926 $(eval $(call gb_Helper_register_packages_for_install,ooo,\
927 tipoftheday_images \
929 endif
931 ifneq ($(ENABLE_WASM_STRIP_CANVAS),TRUE)
932 $(eval $(call gb_Helper_register_packages_for_install,ooo,\
933 $(if $(ENABLE_OPENGL_CANVAS),canvas_opengl_shader) \
935 endif
937 $(eval $(call gb_Helper_register_packages_for_install,ooo,\
938 $(if $(SYSTEM_LIBEXTTEXTCAT),,libexttextcat_fingerprint) \
939 officecfg_misc \
940 $(if $(filter $(OS),MACOSX), \
941 extensions_mdibundle \
942 extensions_OOoSpotlightImporter \
944 extras_autocorr \
945 extras_autotextuser \
946 extras_cfgsrvnolang \
947 extras_cfgusr \
948 extras_database \
949 extras_databasebiblio \
950 extras_gallbullets \
951 extras_gallmytheme \
952 extras_gallroot \
953 extras_gallsystem \
954 extras_gallsystemstr \
955 extras_glade \
956 extras_labels \
957 $(if $(filter WNT,$(OS)),extras_newfiles) \
958 extras_palettes \
959 extras_personas \
960 extras_persona_dark \
961 extras_persona_gray \
962 extras_persona_green \
963 extras_persona_pink \
964 extras_persona_sand \
965 extras_persona_white \
966 extras_templates \
967 extras_tplpresnt \
968 extras_tplwizbitmap \
969 extras_tplwizdesktop \
970 extras_tplwizard \
971 framework_dtd \
972 $(if $(filter $(OS),MACOSX),infoplist) \
973 oox_customshapes \
974 oox_generated \
975 package_dtd \
976 $(call gb_Helper_optional,DESKTOP,\
977 $(if $(filter-out WNT,$(OS)),$(if $(ENABLE_MACOSX_SANDBOX),,shell_senddoc))) \
978 $(call gb_Helper_optional,DESKTOP,$(if $(filter-out EMSCRIPTEN MACOSX WNT,$(OS)),svx_gengal)) \
979 $(if $(USING_X11),vcl_fontunxppds) \
980 $(if $(filter $(OS),MACOSX),vcl_osxres) \
981 xmloff_dtd \
982 xmlscript_dtd \
983 $(call gb_Helper_optional,XMLHELP,xmlhelp_helpxsl) \
984 $(if $(ENABLE_JAVA),\
985 scripting_java \
986 scripting_java_jars \
987 $(if $(ENABLE_SCRIPTING_BEANSHELL),scripting_ScriptsBeanShell) \
988 $(if $(ENABLE_SCRIPTING_JAVASCRIPT),scripting_ScriptsJavaScript) \
990 $(call gb_Helper_optional,SCRIPTING,scripting_scriptbindinglib) \
991 $(if $(filter $(OS),MACOSX),sysui_osxicons) \
992 wizards_basicshare \
993 wizards_basicsrvaccess2base \
994 wizards_basicsrvdepot \
995 wizards_basicsrveuro \
996 wizards_basicsrvgimmicks \
997 wizards_basicsrvimport \
998 wizards_basicsrvform \
999 wizards_basicsrvscriptforge \
1000 wizards_basicsrvsfdatabases \
1001 wizards_basicsrvsfdialogs \
1002 wizards_basicsrvsfdocuments \
1003 wizards_basicsrvsfunittests \
1004 wizards_basicsrvsfwidgets \
1005 wizards_basicsrvstandard \
1006 wizards_basicsrvtemplate \
1007 wizards_basicsrvtools \
1008 wizards_basicsrvtutorials \
1009 wizards_basicusr \
1010 wizards_properties \
1011 wizards_wizardshare \
1012 toolbarmode_images \
1013 vcl_theme_definitions \
1014 $(if $(filter WNT,$(OS)), \
1015 vcl_opengl_denylist \
1017 $(if $(filter SKIA,$(BUILD_TYPE)), \
1018 vcl_skia_denylist ) \
1019 $(if $(DISABLE_PYTHON),, \
1020 Pyuno/commonwizards \
1021 Pyuno/fax \
1022 Pyuno/letter \
1023 Pyuno/agenda \
1024 Pyuno/mailmerge \
1026 sfx2_classification \
1027 $(if $(filter OPENCL,$(BUILD_TYPE)),sc_opencl_runtimetest) \
1028 $(if $(ENABLE_HTMLHELP),\
1029 helpcontent2_html_dynamic \
1030 helpcontent2_html_media \
1031 helpcontent2_html_icon-themes \
1032 helpcontent2_html_static \
1034 resource_fonts \
1035 cui \
1038 $(eval $(call gb_Helper_register_packages_for_install,ooo_fonts,\
1039 extras_fonts \
1040 $(if $(USING_X11)$(DISABLE_GUI)$(filter ANDROID EMSCRIPTEN,$(OS)), \
1041 postprocess_fontconfig) \
1042 $(call gb_Helper_optional,MORE_FONTS,\
1043 fonts_alef \
1044 fonts_amiri \
1045 fonts_caladea \
1046 fonts_carlito \
1047 $(if $(MPL_SUBSET),,fonts_culmus) \
1048 fonts_dejavu \
1049 fonts_gentium \
1050 fonts_liberation \
1051 fonts_liberation_narrow \
1052 fonts_libertineg \
1053 fonts_libre_hebrew \
1054 fonts_noto \
1055 fonts_reem \
1056 fonts_scheherazade \
1060 $(eval $(call gb_Helper_register_packages_for_install,ooo_images,\
1061 postprocess_images \
1062 $(call gb_Helper_optional,HELP,helpcontent2_helpimages) \
1065 $(eval $(call gb_Helper_register_packages_for_install,ogltrans,\
1066 sd_opengl \
1067 slideshow_opengl_shader \
1070 ifneq ($(ENABLE_POPPLER),)
1071 $(eval $(call gb_Helper_register_packages_for_install,pdfimport, \
1072 sdext_pdfimport_pdf \
1074 endif
1076 $(eval $(call gb_Helper_register_packages_for_install,reportbuilder,\
1077 reportbuilder_templates \
1080 $(eval $(call gb_Helper_register_packages_for_install,xsltfilter,\
1081 filter_docbook \
1082 filter_xhtml \
1083 filter_xslt \
1086 $(eval $(call gb_Helper_register_packages_for_install,brand,\
1087 desktop_branding \
1088 $(if $(CUSTOM_BRAND_DIR),desktop_branding_custom) \
1089 $(if $(filter DESKTOP,$(BUILD_TYPE)),desktop_scripts_install) \
1090 $(if $(and $(filter-out EMSCRIPTEN HAIKU MACOSX WNT,$(OS)),$(filter DESKTOP,$(BUILD_TYPE))),\
1091 $(if $(DISABLE_GUI),, \
1092 desktop_soffice_sh \
1095 readlicense_oo_files \
1096 readlicense_oo_license \
1097 $(call gb_Helper_optional,DESKTOP,setup_native_packinfo) \
1100 ifeq ($(USING_X11), TRUE)
1101 $(eval $(call gb_Helper_register_packages_for_install,base_brand,\
1102 desktop_sbase_sh \
1105 $(eval $(call gb_Helper_register_packages_for_install,calc_brand,\
1106 desktop_scalc_sh \
1109 $(eval $(call gb_Helper_register_packages_for_install,draw_brand,\
1110 desktop_sdraw_sh \
1113 $(eval $(call gb_Helper_register_packages_for_install,impress_brand,\
1114 desktop_simpress_sh \
1117 $(eval $(call gb_Helper_register_packages_for_install,math_brand,\
1118 desktop_smath_sh \
1121 $(eval $(call gb_Helper_register_packages_for_install,writer_brand,\
1122 desktop_swriter_sh \
1124 endif # USING_X11=TRUE
1126 $(eval $(call gb_Helper_register_packages_for_install,onlineupdate,\
1127 $(if $(ENABLE_ONLINE_UPDATE),$(if $(filter LINUX SOLARIS,$(OS)),setup_native_scripts)) \
1130 ifneq ($(DISABLE_PYTHON),TRUE)
1131 $(eval $(call gb_Helper_register_packages_for_install,python, \
1132 pyuno_pythonloader_ini \
1133 pyuno_python_scripts \
1134 $(if $(SYSTEM_PYTHON),,$(if $(filter-out WNT,$(OS)),python_shell)) \
1135 scripting_ScriptsPython \
1138 $(eval $(call gb_Helper_register_packages_for_install,python_scriptprovider, \
1139 scripting_scriptproviderforpython \
1142 ifeq (LIBRELOGO,$(filter LIBRELOGO,$(BUILD_TYPE)))
1143 $(eval $(call gb_Helper_register_packages_for_install,python_librelogo, \
1144 librelogo \
1145 librelogo_properties \
1147 endif # LIBRELOGO
1149 endif # DISABLE_PYTHON
1151 # External executables
1152 $(eval $(call gb_ExternalExecutable_register_executables,\
1153 genbrk \
1154 genccode \
1155 gencmn \
1156 python \
1157 xmllint \
1158 xsltproc \
1161 # Resources
1162 $(eval $(call gb_Helper_register_mos,\
1163 acc \
1164 $(call gb_Helper_optional,AVMEDIA,avmedia) \
1165 $(call gb_Helper_optional,SCRIPTING,basctl) \
1166 chart \
1167 cnr \
1168 cui \
1169 dba \
1170 dkt \
1171 editeng \
1172 flt \
1173 for \
1174 $(call gb_Helper_optional,DESKTOP,fps) \
1175 frm \
1176 fwk \
1177 oox \
1178 pcr \
1179 rpt \
1180 $(call gb_Helper_optional,SCRIPTING,sb) \
1181 sc \
1182 sca \
1183 scc \
1184 sd \
1185 sfx \
1186 shell \
1187 sm \
1188 svl \
1189 svt \
1190 svx \
1191 sw \
1192 uui \
1193 vcl \
1194 wiz \
1195 wpt \
1196 $(if $(ENABLE_NSS)$(ENABLE_OPENSSL),xsc) \
1199 # UI configuration
1200 ifneq ($(ENABLE_WASM_STRIP_DBACCESS),TRUE)
1201 $(eval $(call gb_Helper_register_uiconfigs,\
1202 $(call gb_Helper_optional,DBCONNECTIVITY,dbaccess) \
1204 endif
1206 $(eval $(call gb_Helper_register_uiconfigs,\
1207 cui \
1208 desktop \
1209 editeng \
1210 filter \
1211 formula \
1212 fps \
1213 libreofficekit \
1214 $(call gb_Helper_optional,SCRIPTING,modules/BasicIDE) \
1215 $(call gb_Helper_optional,DBCONNECTIVITY,\
1216 modules/dbapp \
1217 modules/dbbrowser \
1218 modules/dbquery \
1219 modules/dbrelation \
1221 modules/dbreport \
1222 $(call gb_Helper_optional,DBCONNECTIVITY,\
1223 modules/dbtable \
1224 modules/dbtdata \
1226 modules/sabpilot \
1227 $(call gb_Helper_optional,DBCONNECTIVITY,modules/sbibliography) \
1228 modules/scalc \
1229 modules/scanner \
1230 modules/schart \
1231 modules/sdraw \
1232 modules/sglobal \
1233 modules/simpress \
1234 modules/smath \
1235 $(call gb_Helper_optional,DBCONNECTIVITY,modules/spropctrlr) \
1236 modules/StartModule \
1237 modules/sweb \
1238 modules/swform \
1239 modules/swreport \
1240 modules/swriter \
1241 modules/swxform \
1242 sfx \
1243 svt \
1244 svx \
1245 uui \
1246 vcl \
1247 writerperfect \
1248 $(if $(ENABLE_NSS)$(ENABLE_OPENSSL),xmlsec) \
1251 ifeq ($(gb_GBUILDSELFTEST),t)
1252 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,ooo, gbuildselftestdep gbuildselftest))
1253 $(eval $(call gb_Helper_register_executables,NONE, gbuildselftestexe))
1254 endif
1256 # vim: set noet sw=4 ts=4: