workaround segfault in compiler on macos-clang-intel
[LibreOffice.git] / Repository.mk
blob4a505655d209f48ed68d7cb4aa8c1626ae99f9ba
1 # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
3 # This file is part of the LibreOffice project.
5 # This Source Code Form is subject to the terms of the Mozilla Public
6 # License, v. 2.0. If a copy of the MPL was not distributed with this
7 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 # This file incorporates work covered by the following license notice:
11 # Licensed to the Apache Software Foundation (ASF) under one or more
12 # contributor license agreements. See the NOTICE file distributed
13 # with this work for additional information regarding copyright
14 # ownership. The ASF licenses this file to you under the Apache
15 # License, Version 2.0 (the "License"); you may not use this file
16 # except in compliance with the License. You may obtain a copy of
17 # the License at http://www.apache.org/licenses/LICENSE-2.0 .
20 ifneq ($(ENABLE_WASM_STRIP_CANVAS),TRUE)
21 $(eval $(call gb_Helper_register_executables,NONE, \
22 canvasdemo \
24 endif
26 $(eval $(call gb_Helper_register_executables,NONE, \
27 $(call gb_Helper_optional,HELPTOOLS, \
28 HelpIndexer \
29 HelpLinker \
30 ) \
31 bestreversemap \
32 cfgex \
33 concat-deps \
34 cpp \
35 cppunittester \
36 $(if $(or $(filter EMSCRIPTEN,$(BUILD_TYPE_FOR_HOST)),$(filter EMSCRIPTEN,$(OS))),embindmaker wasmcallgen) \
37 gbuildtojson \
38 $(if $(filter MSC,$(COM)), \
39 gcc-wrapper \
40 g++-wrapper \
41 ) \
42 gencoll_rule \
43 genconv_dict \
44 gendict \
45 genindex_data \
46 helpex \
47 idxdict \
48 io-testconnection \
49 langsupport \
50 $(if $(filter iOS,$(OS)),LibreOffice) \
51 lngconvex \
52 localize \
53 $(call gb_CondExeLockfile,lockfile) \
54 makedepend \
55 mbsdiff \
56 osl_process_child \
57 pdf2xml \
58 pdfunzip \
59 pdfverify \
60 pocheck \
61 propex \
62 regsvrex \
63 saxparser \
64 svidl \
65 $(if $(ENABLE_ONLINE_UPDATE_MAR),\
66 test_updater_dialog \
67 ) \
68 treex \
69 ulfex \
70 unoidl-check \
71 xrmex \
72 $(if $(filter-out ANDROID iOS WNT,$(OS)), \
73 fftester \
74 svpclient ) \
75 $(if $(filter LINUX %BSD SOLARIS,$(OS)), tilebench) \
76 $(if $(filter LINUX MACOSX SOLARIS WNT %BSD,$(OS)),icontest) \
77 vcldemo \
78 svdemo \
79 minvcl \
80 svptest \
81 tiledrendering \
82 mtfdemo \
83 visualbackendtest \
84 listfonts \
85 listglyphs \
86 $(if $(and $(ENABLE_GTK3), $(filter LINUX %BSD SOLARIS,$(OS))), gtktiledviewer) \
87 $(if $(and $(ENABLE_GTKTILEDVIEWER), $(filter WNT,$(OS))), gtktiledviewer) \
88 $(if $(filter EMSCRIPTEN,$(OS)),wasm-qt5-mandelbrot) \
91 $(eval $(call gb_Helper_register_executables_for_install,SDK,sdk, \
92 $(if $(filter MSC,$(COM)),$(if $(filter-out AARCH64_TRUE,$(CPUNAME)_$(CROSS_COMPILING)),climaker)) \
93 cppumaker \
94 javamaker \
95 $(call gb_CondExeSp2bv,sp2bv) \
96 $(if $(filter ODK,$(BUILD_TYPE)),unoapploader) \
97 unoidl-read \
98 unoidl-write \
99 $(if $(filter ODK,$(BUILD_TYPE)),uno-skeletonmaker) \
102 ifneq ($(ENABLE_WASM_STRIP_ACCESSIBILITY),TRUE)
103 $(eval $(call gb_Helper_register_executables_for_install,OOO,brand, \
104 $(if $(filter-out ANDROID HAIKU iOS MACOSX WNT,$(OS)),oosplash) \
106 endif
108 $(eval $(call gb_Helper_register_executables_for_install,OOO,brand, \
109 $(if $(ENABLE_ONLINE_UPDATE_MAR),\
110 mar \
111 $(if $(filter WNT,$(OS)), \
112 update_service \
114 updater )\
115 $(call gb_Helper_optional,BREAKPAD,minidump_upload) \
116 $(call gb_Helper_optional,FUZZERS,wmffuzzer) \
117 $(call gb_Helper_optional,FUZZERS,jpgfuzzer) \
118 $(call gb_Helper_optional,FUZZERS,giffuzzer) \
119 $(call gb_Helper_optional,FUZZERS,xbmfuzzer) \
120 $(call gb_Helper_optional,FUZZERS,xpmfuzzer) \
121 $(call gb_Helper_optional,FUZZERS,pngfuzzer) \
122 $(call gb_Helper_optional,FUZZERS,bmpfuzzer) \
123 $(call gb_Helper_optional,FUZZERS,svmfuzzer) \
124 $(call gb_Helper_optional,FUZZERS,pcdfuzzer) \
125 $(call gb_Helper_optional,FUZZERS,dxffuzzer) \
126 $(call gb_Helper_optional,FUZZERS,metfuzzer) \
127 $(call gb_Helper_optional,FUZZERS,ppmfuzzer) \
128 $(call gb_Helper_optional,FUZZERS,psdfuzzer) \
129 $(call gb_Helper_optional,FUZZERS,epsfuzzer) \
130 $(call gb_Helper_optional,FUZZERS,pctfuzzer) \
131 $(call gb_Helper_optional,FUZZERS,pcxfuzzer) \
132 $(call gb_Helper_optional,FUZZERS,rasfuzzer) \
133 $(call gb_Helper_optional,FUZZERS,tgafuzzer) \
134 $(call gb_Helper_optional,FUZZERS,tiffuzzer) \
135 $(call gb_Helper_optional,FUZZERS,hwpfuzzer) \
136 $(call gb_Helper_optional,FUZZERS,602fuzzer) \
137 $(call gb_Helper_optional,FUZZERS,lwpfuzzer) \
138 $(call gb_Helper_optional,FUZZERS,olefuzzer) \
139 $(call gb_Helper_optional,FUZZERS,pptfuzzer) \
140 $(call gb_Helper_optional,FUZZERS,rtffuzzer) \
141 $(call gb_Helper_optional,FUZZERS,cgmfuzzer) \
142 $(call gb_Helper_optional,FUZZERS,ww2fuzzer) \
143 $(call gb_Helper_optional,FUZZERS,ww6fuzzer) \
144 $(call gb_Helper_optional,FUZZERS,ww8fuzzer) \
145 $(call gb_Helper_optional,FUZZERS,qpwfuzzer) \
146 $(call gb_Helper_optional,FUZZERS,slkfuzzer) \
147 $(call gb_Helper_optional,FUZZERS,fodtfuzzer) \
148 $(call gb_Helper_optional,FUZZERS,fodt2pdffuzzer) \
149 $(call gb_Helper_optional,FUZZERS,fods2xlsfuzzer) \
150 $(call gb_Helper_optional,FUZZERS,fodsfuzzer) \
151 $(call gb_Helper_optional,FUZZERS,fodpfuzzer) \
152 $(call gb_Helper_optional,FUZZERS,xlsfuzzer) \
153 $(call gb_Helper_optional,FUZZERS,schtmlfuzzer) \
154 $(call gb_Helper_optional,FUZZERS,scrtffuzzer) \
155 $(call gb_Helper_optional,FUZZERS,wksfuzzer) \
156 $(call gb_Helper_optional,FUZZERS,diffuzzer) \
157 $(call gb_Helper_optional,FUZZERS,docxfuzzer) \
158 $(call gb_Helper_optional,FUZZERS,xlsxfuzzer) \
159 $(call gb_Helper_optional,FUZZERS,pptxfuzzer) \
160 $(call gb_Helper_optional,FUZZERS,mmlfuzzer) \
161 $(call gb_Helper_optional,FUZZERS,mtpfuzzer) \
162 $(call gb_Helper_optional,FUZZERS,htmlfuzzer) \
163 $(call gb_Helper_optional,FUZZERS,sftfuzzer) \
164 $(call gb_Helper_optional,FUZZERS,dbffuzzer) \
165 $(call gb_Helper_optional,FUZZERS,webpfuzzer) \
166 $(call gb_Helper_optional,FUZZERS,zipfuzzer) \
167 $(call gb_Helper_optional,FUZZERS,svgfuzzer) \
168 soffice_bin \
169 $(call gb_CondExeUnopkg, \
170 unopkg_bin \
171 $(if $(filter WNT,$(OS)), \
172 unopkg \
173 unopkg_com \
176 $(if $(filter WNT,$(OS)), \
177 soffice_exe \
178 soffice_com \
179 soffice_safe \
180 unoinfo \
181 $(if $(filter-out AARCH64,$(CPUNAME)),twain32shim) \
185 $(eval $(call gb_Helper_register_executables_for_install,OOO,base_brand, \
186 $(if $(filter WNT,$(OS)), \
187 sbase \
191 $(eval $(call gb_Helper_register_executables_for_install,OOO,base, \
192 $(if $(filter WNT,$(OS)), \
193 odbcconfig \
197 $(eval $(call gb_Helper_register_executables_for_install,OOO,calc_brand, \
198 $(if $(filter WNT,$(OS)), \
199 scalc \
203 $(eval $(call gb_Helper_register_executables_for_install,OOO,draw_brand, \
204 $(if $(filter WNT,$(OS)), \
205 sdraw \
209 $(eval $(call gb_Helper_register_executables_for_install,OOO,impress_brand, \
210 $(if $(filter WNT,$(OS)), \
211 simpress \
215 $(eval $(call gb_Helper_register_executables_for_install,OOO,math_brand, \
216 $(if $(filter WNT,$(OS)), \
217 smath \
221 $(eval $(call gb_Helper_register_executables_for_install,OOO,writer_brand, \
222 $(if $(filter WNT,$(OS)), \
223 sweb \
224 swriter \
228 $(eval $(call gb_Helper_register_executables_for_install,OOO,ooo, \
229 gengal \
230 $(if $(filter WNT,$(OS)),,uri-encode) \
231 $(if $(filter WNT,$(OS)), \
232 senddoc \
234 $(if $(filter OPENCL,$(BUILD_TYPE)),opencltest) \
237 ifeq ($(OS),WNT)
238 $(eval $(call gb_Helper_register_executables_for_install,OOO,quickstart, \
239 quickstart \
241 endif
243 $(eval $(call gb_Helper_register_executables_for_install,OOO,python, \
244 $(if $(filter WNT,$(OS)), \
245 python \
249 ifneq ($(ENABLE_POPPLER),)
250 $(eval $(call gb_Helper_register_executables_for_install,OOO,pdfimport, \
251 xpdfimport \
253 endif
255 $(eval $(call gb_Helper_register_executables_for_install,UREBIN,ure,\
256 $(if $(and $(ENABLE_JAVA),$(filter-out HAIKU MACOSX WNT,$(OS)),$(filter DESKTOP,$(BUILD_TYPE))),javaldx) \
257 $(call gb_CondExeRegistryTools, \
258 regview \
260 $(call gb_CondExeUno,uno) \
263 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,base, \
264 abp \
265 dbp \
266 dbu \
269 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,calc, \
270 analysis \
271 $(call gb_Helper_optional,DBCONNECTIVITY,calc) \
272 date \
273 pricing \
274 sc \
275 scd \
276 scfilt \
277 wpftcalc \
278 solver \
279 $(call gb_Helper_optional,SCRIPTING,vbaobj) \
282 $(eval $(call gb_Helper_register_plugins_for_install,OOOLIBS,calc, \
283 scui \
286 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,graphicfilter, \
287 svgfilter \
288 wpftdraw \
289 graphicfilter \
292 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,impress, \
293 animcore \
294 PresentationMinimizer \
295 wpftimpress \
298 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,onlineupdate, \
299 $(if $(ENABLE_ONLINE_UPDATE), \
300 updatecheckui \
301 updchk \
305 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,gnome, \
306 $(if $(ENABLE_EVOAB2),evoab) \
307 $(if $(ENABLE_GIO),losessioninstall) \
308 $(if $(ENABLE_GIO),ucpgio1) \
311 $(eval $(call gb_Helper_register_plugins_for_install,OOOLIBS,gnome, \
312 $(if $(ENABLE_GTK3),vclplug_gtk3) \
313 $(if $(ENABLE_GTK4),vclplug_gtk4) \
316 gb_haiku_or_kde := $(if $(filter HAIKU,$(OS)),haiku,kde)
318 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,kde, \
319 $(if $(ENABLE_KF5),kf5be1) \
322 $(eval $(call gb_Helper_register_plugins_for_install,OOOLIBS,$(gb_haiku_or_kde), \
323 $(if $(ENABLE_KF5),vclplug_kf5) \
324 $(if $(ENABLE_KF6),vclplug_kf6) \
325 $(if $(ENABLE_QT5),vclplug_qt5) \
326 $(if $(ENABLE_QT6),vclplug_qt6) \
327 $(if $(ENABLE_GTK3_KDE5),vclplug_gtk3_kde5) \
330 $(eval $(call gb_Helper_register_executables_for_install,OOO,$(gb_haiku_or_kde), \
331 $(if $(ENABLE_GTK3_KDE5),lo_kde5filepicker) \
334 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,math, \
335 sm \
336 smd \
339 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,ogltrans, \
340 OGLTrans \
343 ifeq ($(OS),EMSCRIPTEN)
344 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,ooo, \
345 lo-bootstrap \
347 endif
349 ifneq ($(ENABLE_WASM_STRIP_CANVAS),TRUE)
350 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,ooo, \
351 canvastools \
352 $(if $(ENABLE_CAIRO_CANVAS),cairocanvas) \
353 canvasfactory \
354 cppcanvas \
355 $(if $(filter WNT,$(OS)),directx9canvas) \
356 $(if $(ENABLE_OPENGL_CANVAS),oglcanvas) \
357 $(if $(filter WNT,$(OS)),gdipluscanvas) \
358 simplecanvas \
359 vclcanvas \
361 endif
363 ifneq ($(ENABLE_WASM_STRIP_GUESSLANG),TRUE)
364 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,ooo, \
365 guesslang \
367 endif
369 ifneq ($(ENABLE_WASM_STRIP_HUNSPELL),TRUE)
370 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,ooo, \
371 hyphen \
372 lnth \
373 spell \
374 $(if $(filter iOS MACOSX,$(OS)), \
375 MacOSXSpell \
378 endif
380 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,ooo, \
381 avmedia \
382 $(if $(ENABLE_CURL),LanguageTool) \
383 $(call gb_Helper_optional,AVMEDIA, \
384 $(if $(filter MACOSX,$(OS)),\
385 avmediaMacAVF \
388 $(call gb_Helper_optional,SCRIPTING, \
389 basctl \
390 basprov \
392 basegfx \
393 bib \
394 chartcore \
395 chartcontroller \
396 $(call gb_Helper_optional,OPENCL,clew) \
397 $(if $(filter $(OS),WNT),,cmdmail) \
398 configmgr \
399 ctl \
400 dba \
401 dbahsql \
402 $(call gb_Helper_optional,DBCONNECTIVITY, \
403 dbase \
404 dbaxml) \
405 dbtools \
406 deploymentmisc \
407 $(if $(filter-out MACOSX WNT,$(OS)),desktopbe1) \
408 $(call gb_Helper_optional,SCRIPTING,dlgprov) \
409 docmodel \
410 drawinglayercore \
411 drawinglayer \
412 editeng \
413 $(if $(filter EMSCRIPTEN,$(OS)),$(if $(ENABLE_DBGUTIL),embindtest)) \
414 $(if $(filter WNT,$(OS)),emser) \
415 evtatt \
416 $(call gb_Helper_optional,DBCONNECTIVITY, \
417 flat \
418 file) \
419 filterconfig \
420 fps_office \
421 for \
422 forui \
423 frm \
424 fsstorage \
425 fwk \
426 $(call gb_Helper_optionals_or,HELPTOOLS XMLHELP,helplinker) \
427 i18npool \
428 i18nsearch \
429 $(if $(ENABLE_JAVA),jdbc) \
430 $(if $(filter WNT,$(OS)),jumplist) \
431 $(if $(ENABLE_LDAP),ldapbe2) \
432 $(if $(filter WNT,$(OS)),WinUserInfoBe) \
433 localebe1 \
434 log \
435 lng \
436 $(if $(filter $(OS),MACOSX),macbe1) \
437 $(if $(MERGELIBS),merged) \
438 migrationoo2 \
439 migrationoo3 \
440 mozbootstrap \
441 msfilter \
442 $(call gb_Helper_optional,SCRIPTING,msforms) \
443 mtfrenderer \
444 $(call gb_Helper_optional,DBCONNECTIVITY,mysql_jdbc) \
445 $(call gb_Helper_optional,MARIADBC,$(call gb_Helper_optional,DBCONNECTIVITY,mysqlc)) \
446 numbertext \
447 odbc \
448 odfflatxml \
449 offacc \
450 oox \
451 $(call gb_Helper_optional,OPENCL,opencl) \
452 passwordcontainer \
453 pcr \
454 pdffilter \
455 $(call gb_Helper_optional,SCRIPTING,protocolhandler) \
456 sax \
457 sb \
458 $(call gb_Helper_optional,DBCONNECTIVITY,sdbt) \
459 scn \
460 sd \
461 sdd \
462 sfx \
463 slideshow \
464 sot \
465 $(if $(or $(DISABLE_GUI),$(ENABLE_WASM_STRIP_SPLASH)),,spl) \
466 storagefd \
467 $(call gb_Helper_optional,SCRIPTING,stringresource) \
468 svgio \
469 emfio \
470 svl \
471 svt \
472 svx \
473 svxcore \
474 sw \
475 syssh \
476 textconversiondlgs \
477 textfd \
478 tk \
479 tl \
480 ucpexpand1 \
481 ucpext \
482 ucpimage \
483 $(if $(ENABLE_LIBCMIS),ucpcmis1) \
484 ucptdoc1 \
485 unordf \
486 unoxml \
487 updatefeed \
488 utl \
489 uui \
490 $(call gb_Helper_optional,SCRIPTING, \
491 vbaevents \
492 vbahelper \
494 vcl \
495 writerperfect \
496 xmlscript \
497 xmlfa \
498 xmlfd \
499 xo \
500 xof \
501 xsltdlg \
502 xsltfilter \
503 $(if $(filter $(OS),WNT), \
504 ado \
505 oleautobridge \
506 smplmail \
507 wininetbe1 \
509 $(if $(filter $(OS),MACOSX), \
510 $(if $(ENABLE_MACOSX_SANDBOX),, \
511 AppleRemote \
513 fps_aqua \
517 $(eval $(call gb_Helper_register_plugins_for_install,OOOLIBS,ooo, \
518 acc \
519 $(if $(ENABLE_CUSTOMTARGET_COMPONENTS),components) \
520 cui \
521 icg \
522 sdui \
523 $(if $(ENABLE_GEN),vclplug_gen) \
524 $(if $(filter $(OS),WNT),vclplug_win) \
525 $(if $(filter $(OS),MACOSX),vclplug_osx) \
528 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,postgresqlsdbc, \
529 $(if $(BUILD_POSTGRESQL_SDBC), \
530 postgresql-sdbc \
531 postgresql-sdbc-impl) \
534 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,firebirdsdbc, \
535 $(if $(ENABLE_FIREBIRD_SDBC),firebird_sdbc) \
538 ifneq ($(ENABLE_PDFIMPORT),)
539 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,pdfimport, \
540 pdfimport \
542 endif
544 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,python, \
545 pythonloader \
548 $(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_OOO,python, \
549 pyuno \
550 $(if $(filter-out WNT,$(OS)),pyuno_wrapper) \
553 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,reportbuilder, \
554 rpt \
555 rptui \
556 rptxml \
559 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,writer, \
560 hwp \
561 $(if $(ENABLE_LWP),lwpft) \
562 msword \
563 swd \
564 t602filter \
565 $(call gb_Helper_optional,SCRIPTING,vbaswobj) \
566 wpftwriter \
567 sw_writerfilter \
568 $(call gb_Helper_optional,DBCONNECTIVITY,writer) \
571 $(eval $(call gb_Helper_register_plugins_for_install,OOOLIBS,writer, \
572 swui \
575 # cli_cppuhelper is NONE even though it is actually in URE because it is CliNativeLibrary
576 $(eval $(call gb_Helper_register_libraries,PLAINLIBS_NONE, \
577 smoketest \
578 subsequenttest \
579 test \
580 test-setupvcl \
581 testtools_cppobj \
582 testtools_bridgetest \
583 testtools_bridgetest-common \
584 testtools_constructors \
585 unobootstrapprotector \
586 unoexceptionprotector \
587 unotest \
588 vclbootstrapprotector \
589 scqahelper \
590 swqahelper \
591 wpftqahelper \
592 precompiled_system \
593 $(if $(filter MSC,$(COM)),cli_cppuhelper) \
594 $(if $(filter $(OS),ANDROID),lo-bootstrap) \
595 $(if $(filter $(OS),MACOSX),OOoSpotlightImporter) \
598 $(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_URE,ure, \
599 affine_uno_uno \
600 $(if $(filter MSC,$(COM)),$(if $(filter-out AARCH64_TRUE,$(CPUNAME)_$(CROSS_COMPILING)),cli_uno)) \
601 i18nlangtag \
602 $(if $(ENABLE_JAVA), \
603 java_uno \
604 jpipe \
605 $(if $(filter $(OS),WNT),jpipx) \
606 juh \
607 juhx \
609 log_uno_uno \
610 unsafe_uno_uno \
613 $(eval $(call gb_Helper_register_plugins_for_install,PLAINLIBS_URE,ure, \
614 $(if $(filter MSC,$(COM)), \
615 $(if $(filter INTEL,$(CPUNAME)),msci_uno) \
616 $(if $(filter X86_64,$(CPUNAME)),mscx_uno) \
617 $(if $(filter AARCH64,$(CPUNAME)),msca_uno) \
618 , gcc3_uno) \
621 $(eval $(call gb_Helper_register_libraries_for_install,PRIVATELIBS_URE,ure, \
622 binaryurp \
623 bootstrap \
624 introspection \
625 invocadapt \
626 invocation \
627 io \
628 $(if $(ENABLE_JAVA),javaloader) \
629 $(if $(ENABLE_JAVA),javavm) \
630 $(if $(ENABLE_JAVA),jvmaccess) \
631 $(if $(ENABLE_JAVA),jvmfwk) \
632 namingservice \
633 proxyfac \
634 reflection \
635 reg \
636 stocservices \
637 store \
638 unoidl \
639 uuresolver \
640 xmlreader \
643 $(eval $(call gb_Helper_register_plugins_for_install,PRIVATELIBS_URE,ure, \
644 $(call gb_CondLibSalTextenc,sal_textenc) \
647 ifneq ($(ENABLE_WASM_STRIP_ACCESSIBILITY),TRUE)
648 $(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_OOO,ooo, \
649 $(if $(filter WNT,$(OS)), \
650 winaccessibility \
653 endif
655 $(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_OOO,ooo, \
656 $(call gb_Helper_optional,AVMEDIA, \
657 $(if $(ENABLE_GSTREAMER_1_0),avmediagst) \
658 $(if $(ENABLE_GTK4),avmediagtk) \
659 $(if $(ENABLE_QT6_MULTIMEDIA),avmediaqt6) \
660 $(if $(filter WNT,$(OS)),avmediawin) \
662 cached1 \
663 comphelper \
664 $(call gb_Helper_optional,DBCONNECTIVITY,dbpool2) \
665 $(call gb_Helper_optional,BREAKPAD,crashreport) \
666 deployment \
667 deploymentgui \
668 embobj \
669 $(if $(ENABLE_JAVA),hsqldb) \
670 i18nutil \
671 $(if $(and $(ENABLE_GTK3), $(filter LINUX %BSD SOLARIS,$(OS))), libreofficekitgtk) \
672 $(if $(and $(ENABLE_GTKTILEDVIEWER), $(filter WNT,$(OS))), libreofficekitgtk) \
673 $(if $(ENABLE_JAVA), \
674 $(if $(filter $(OS),MACOSX),,officebean) \
676 emboleobj \
677 package2 \
678 $(call gb_Helper_optional,SCRIPTING,scriptframe) \
679 sdbc2 \
680 sofficeapp \
681 srtrs1 \
682 ucb1 \
683 ucbhelper \
684 $(if $(WITH_WEBDAV),ucpdav1) \
685 ucpfile1 \
686 $(call gb_Helper_optional,XMLHELP,ucpchelp1) \
687 ucphier1 \
688 ucppkg1 \
689 $(call gb_CondExeUnopkg,unopkgapp) \
690 xmlsecurity \
691 xsec_xmlsec \
692 xstor \
693 $(if $(filter $(OS),MACOSX), \
694 macab1 \
695 macabdrv1 \
697 $(if $(filter WNT,$(OS)), \
698 fps \
699 inprocserv \
700 UAccCOM \
704 $(eval $(call gb_Helper_register_plugins_for_install,PLAINLIBS_OOO,ooo, \
705 localedata_en \
706 localedata_es \
707 localedata_euro \
708 localedata_others \
711 ifeq ($(OS),WNT)
712 $(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_OOO,activexbinarytable, \
713 regactivex \
716 $(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_OOO,activex, \
717 so_activex \
720 ifneq ($(BUILD_X64),)
721 $(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_OOO,activexwin64, \
722 so_activex_x64 \
724 endif
726 $(eval $(call gb_Helper_register_executables_for_install,OOO,spsuppfiles, \
727 spsupp_helper \
730 $(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_OOO,spsuppfiles, \
731 $(if $(CXX_X64_BINARY),spsupp_x64) \
732 $(if $(CXX_X86_BINARY),spsupp_x86) \
735 $(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_OOO,ooobinarytable, \
736 $(if $(WINDOWS_SDK_HOME),\
737 instooofiltmsi \
738 inst_msu_msi \
739 qslnkmsi \
740 reg_dlls \
741 reg4allmsdoc \
742 sdqsmsi \
743 sellangmsi \
744 sn_tools \
745 $(if $(ENABLE_ONLINE_UPDATE_MAR),install_updateservice) \
749 $(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_OOO,winexplorerextbinarytable, \
750 shlxtmsi \
753 $(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_SHLXTHDL,winexplorerext, \
754 ooofilt \
755 propertyhdl \
756 shlxthdl \
759 ifneq ($(BUILD_X64),)
760 $(eval $(call gb_Helper_register_packages_for_install,winexplorerextwin64, \
761 $(if $(filter MSC,$(COM)),msvc_dlls) \
764 $(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_SHLXTHDL,winexplorerextwin64, \
765 ooofilt_x64 \
766 propertyhdl_x64 \
767 shlxthdl_x64 \
769 endif # BUILD_X64
771 endif # WNT
773 $(eval $(call gb_Helper_register_libraries_for_install,RTVERLIBS,ure, \
774 cppuhelper \
775 purpenvhelper \
776 salhelper \
779 $(eval $(call gb_Helper_register_libraries_for_install,UNOVERLIBS,ure, \
780 cppu \
781 sal \
784 $(eval $(call gb_Helper_register_libraries,EXTENSIONLIBS, \
785 active_native \
786 passive_native \
787 crashextension \
790 ifneq ($(ENABLE_JAVA),)
791 $(eval $(call gb_Helper_register_jars_for_install,URE,ure, \
792 java_uno \
793 juh \
794 jurt \
795 libreoffice \
796 ridl \
797 unoloader \
800 $(eval $(call gb_Helper_register_jars_for_install,OOO,ooo, \
801 ScriptFramework \
802 ScriptProviderForJava \
803 XMergeBridge \
804 commonwizards \
805 form \
806 $(if $(filter-out MACOSX,$(OS)),officebean) \
807 query \
808 report \
809 sdbc_hsqldb \
810 smoketest \
811 table \
812 unoil \
813 xmerge \
816 $(eval $(call gb_Helper_register_jars_for_install,OOO,reportbuilder, \
817 reportbuilder \
818 reportbuilderwizard \
821 ifneq ($(ENABLE_SCRIPTING_BEANSHELL),)
822 $(eval $(call gb_Helper_register_jars_for_install,OOO,extensions_bsh, \
823 ScriptProviderForBeanShell \
825 endif
827 ifneq ($(ENABLE_SCRIPTING_JAVASCRIPT),)
828 $(eval $(call gb_Helper_register_jars_for_install,OOO,extensions_rhino, \
829 ScriptProviderForJavaScript \
831 endif
833 ifeq (NUMBERTEXT,$(filter NUMBERTEXT,$(BUILD_TYPE)))
834 $(eval $(call gb_Helper_register_packages_for_install,extensions_numbertext,\
835 numbertext \
837 endif
839 $(eval $(call gb_Helper_register_jars,OXT, \
840 EvolutionarySolver \
841 active_java \
842 mediawiki \
843 nlpsolver \
844 passive_java \
847 $(eval $(call gb_Helper_register_jars,NONE,\
848 ConnectivityTools \
849 HelloWorld \
850 Highlight \
851 MemoryUsage \
852 OOoRunner \
853 TestExtension \
854 test \
855 test-tools \
856 testComponent \
858 endif
860 # 'test_unittest' is only package delivering to workdir.
861 # Other packages could be potentially autoinstalled.
862 $(eval $(call gb_Helper_register_packages, \
863 test_unittest \
864 cli_basetypes_copy \
865 extras_wordbook \
866 instsetoo_native_setup \
867 $(if $(ENABLE_OOENV),instsetoo_native_ooenv) \
868 postprocess_registry \
869 readlicense_oo_readmes \
870 setup_native_misc \
871 sysui_share \
872 vcl_fontunxpsprint \
875 $(eval $(call gb_Helper_register_packages_for_install,impress,\
876 sd_xml \
879 $(eval $(call gb_Helper_register_packages_for_install,calc,\
880 sc_res_xml \
883 $(eval $(call gb_Helper_register_packages_for_install,libreofficekit,\
884 $(if $(filter LINUX %BSD SOLARIS, $(OS)),libreofficekit_selectionhandles) \
885 $(if $(and $(ENABLE_GTKTILEDVIEWER), $(filter WNT,$(OS))), libreofficekit_selectionhandles) \
888 $(eval $(call gb_Helper_register_packages_for_install,ure,\
889 instsetoo_native_setup_ure \
890 $(call gb_CondExeUno,uno_sh) \
891 ure_install \
892 $(if $(ENABLE_JAVA),\
893 jvmfwk_jvmfwk3_ini \
894 jvmfwk_javavendors \
895 jvmfwk_jreproperties \
896 $(if $(filter MACOSX,$(OS)),bridges_jnilib_java_uno) \
900 $(eval $(call gb_Helper_register_packages_for_install,postgresqlsdbc,\
901 $(if $(BUILD_POSTGRESQL_SDBC),connectivity_postgresql-sdbc) \
904 $(eval $(call gb_Helper_register_packages_for_install,sdk,\
905 odk_share_readme \
906 odk_share_readme_generated \
907 $(if $(filter WNT,$(OS)),$(if $(filter-out AARCH64_TRUE,$(CPUNAME)_$(CROSS_COMPILING)),odk_cli)) \
908 odk_config \
909 $(if $(filter WNT,$(OS)),odk_config_win) \
910 odk_docs \
911 $(if $(DOXYGEN),odk_doxygen) \
912 odk_examples \
913 odk_headers \
914 odk_headers_generated \
915 odk_html \
916 odk_settings \
917 odk_settings_generated \
918 $(if $(ENABLE_JAVA), \
919 odk_javadoc \
920 odk_uno_loader_classes \
922 odk_scripts \
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_tplwizdesktop \
967 $(if $(WITH_TEMPLATES),\
968 extras_templates \
969 extras_tplpresnt \
970 extras_tplwizbitmap \
971 extras_tplwizard \
973 framework_dtd \
974 $(if $(filter $(OS),MACOSX),infoplist) \
975 oox_customshapes \
976 oox_generated \
977 package_dtd \
978 $(call gb_Helper_optional,DESKTOP,\
979 $(if $(filter-out WNT,$(OS)),$(if $(ENABLE_MACOSX_SANDBOX),,shell_senddoc))) \
980 $(call gb_Helper_optional,DESKTOP,$(if $(filter-out EMSCRIPTEN MACOSX WNT,$(OS)),svx_gengal)) \
981 $(if $(USING_X11),vcl_fontunxppds) \
982 $(if $(filter $(OS),MACOSX),vcl_osxres) \
983 xmloff_dtd \
984 xmlscript_dtd \
985 $(call gb_Helper_optional,XMLHELP,xmlhelp_helpxsl) \
986 $(if $(ENABLE_JAVA),\
987 scripting_java \
988 scripting_java_jars \
989 $(if $(ENABLE_SCRIPTING_BEANSHELL),scripting_ScriptsBeanShell) \
990 $(if $(ENABLE_SCRIPTING_JAVASCRIPT),scripting_ScriptsJavaScript) \
992 $(call gb_Helper_optional,SCRIPTING,scripting_scriptbindinglib) \
993 $(if $(filter $(OS),MACOSX),sysui_osxicons) \
994 wizards_basicshare \
995 wizards_basicsrvaccess2base \
996 wizards_basicsrvdepot \
997 wizards_basicsrveuro \
998 wizards_basicsrvgimmicks \
999 wizards_basicsrvimport \
1000 wizards_basicsrvform \
1001 wizards_basicsrvscriptforge \
1002 wizards_basicsrvsfdatabases \
1003 wizards_basicsrvsfdialogs \
1004 wizards_basicsrvsfdocuments \
1005 wizards_basicsrvsfunittests \
1006 wizards_basicsrvsfwidgets \
1007 wizards_basicsrvstandard \
1008 wizards_basicsrvtemplate \
1009 wizards_basicsrvtools \
1010 wizards_basicsrvtutorials \
1011 wizards_basicusr \
1012 wizards_properties \
1013 wizards_wizardshare \
1014 toolbarmode_images \
1015 vcl_theme_definitions \
1016 $(if $(filter WNT,$(OS)), \
1017 vcl_opengl_denylist \
1019 $(if $(filter SKIA,$(BUILD_TYPE)), \
1020 vcl_skia_denylist ) \
1021 $(if $(DISABLE_PYTHON),, \
1022 Pyuno/commonwizards \
1023 Pyuno/fax \
1024 Pyuno/letter \
1025 Pyuno/agenda \
1026 Pyuno/mailmerge \
1028 sfx2_classification \
1029 $(if $(filter OPENCL,$(BUILD_TYPE)),sc_opencl_runtimetest) \
1030 $(if $(ENABLE_HTMLHELP),\
1031 helpcontent2_html_dynamic \
1032 helpcontent2_html_media \
1033 helpcontent2_html_icon-themes \
1034 helpcontent2_html_static \
1036 resource_fonts \
1037 cui \
1038 $(if $(filter EMSCRIPTEN,$(OS)), \
1039 favicon \
1040 unoembind \
1044 $(eval $(call gb_Helper_register_packages_for_install,ooo_fonts,\
1045 extras_fonts \
1046 $(if $(USING_X11)$(DISABLE_GUI)$(filter ANDROID EMSCRIPTEN,$(OS)), \
1047 postprocess_fontconfig) \
1048 $(call gb_Helper_optional,MORE_FONTS,\
1049 fonts_alef \
1050 fonts_amiri \
1051 fonts_caladea \
1052 fonts_carlito \
1053 $(if $(MPL_SUBSET),,fonts_culmus) \
1054 fonts_dejavu \
1055 fonts_gentium \
1056 fonts_liberation \
1057 fonts_liberation_narrow \
1058 fonts_libertineg \
1059 fonts_libre_hebrew \
1060 fonts_noto_kufi_arabic \
1061 fonts_noto_naskh_arabic \
1062 fonts_noto_sans \
1063 fonts_noto_sans_arabic \
1064 fonts_noto_sans_armenian \
1065 fonts_noto_sans_georgian \
1066 fonts_noto_sans_hebrew \
1067 fonts_noto_sans_lao \
1068 fonts_noto_sans_lisu \
1069 fonts_noto_serif \
1070 fonts_noto_serif_armenian \
1071 fonts_noto_serif_georgian \
1072 fonts_noto_serif_hebrew \
1073 fonts_noto_serif_lao \
1074 fonts_reem \
1075 fonts_scheherazade \
1079 $(eval $(call gb_Helper_register_packages_for_install,ooo_images,\
1080 postprocess_images \
1081 $(call gb_Helper_optional,HELP,helpcontent2_helpimages) \
1084 $(eval $(call gb_Helper_register_packages_for_install,ogltrans,\
1085 sd_opengl \
1086 slideshow_opengl_shader \
1089 ifneq ($(ENABLE_POPPLER),)
1090 $(eval $(call gb_Helper_register_packages_for_install,pdfimport, \
1091 sdext_pdfimport_pdf \
1093 endif
1095 $(eval $(call gb_Helper_register_packages_for_install,reportbuilder,\
1096 reportbuilder_templates \
1099 $(eval $(call gb_Helper_register_packages_for_install,xsltfilter,\
1100 filter_docbook \
1101 filter_xhtml \
1102 filter_xslt \
1105 $(eval $(call gb_Helper_register_packages_for_install,brand,\
1106 desktop_branding \
1107 $(if $(CUSTOM_BRAND_DIR),desktop_branding_custom) \
1108 $(if $(filter DESKTOP,$(BUILD_TYPE)),desktop_scripts_install) \
1109 $(if $(and $(filter-out EMSCRIPTEN HAIKU MACOSX WNT,$(OS)),$(filter DESKTOP,$(BUILD_TYPE))),\
1110 $(if $(DISABLE_GUI),, \
1111 desktop_soffice_sh \
1114 readlicense_oo_files \
1115 readlicense_oo_license \
1116 $(call gb_Helper_optional,DESKTOP,setup_native_packinfo) \
1117 $(if $(ENABLE_ONLINE_UPDATE_MAR), \
1118 update-settings_ini \
1119 updater_ini \
1123 ifeq ($(USING_X11), TRUE)
1124 $(eval $(call gb_Helper_register_packages_for_install,base_brand,\
1125 desktop_sbase_sh \
1128 $(eval $(call gb_Helper_register_packages_for_install,calc_brand,\
1129 desktop_scalc_sh \
1132 $(eval $(call gb_Helper_register_packages_for_install,draw_brand,\
1133 desktop_sdraw_sh \
1136 $(eval $(call gb_Helper_register_packages_for_install,impress_brand,\
1137 desktop_simpress_sh \
1140 $(eval $(call gb_Helper_register_packages_for_install,math_brand,\
1141 desktop_smath_sh \
1144 $(eval $(call gb_Helper_register_packages_for_install,writer_brand,\
1145 desktop_swriter_sh \
1147 endif # USING_X11=TRUE
1149 $(eval $(call gb_Helper_register_packages_for_install,onlineupdate,\
1150 $(if $(ENABLE_ONLINE_UPDATE),$(if $(filter LINUX SOLARIS,$(OS)),setup_native_scripts)) \
1153 ifneq ($(DISABLE_PYTHON),TRUE)
1154 $(eval $(call gb_Helper_register_packages_for_install,python, \
1155 pyuno_pythonloader_ini \
1156 pyuno_python_scripts \
1157 $(if $(SYSTEM_PYTHON),,$(if $(filter-out WNT,$(OS)),python_shell)) \
1158 scripting_ScriptsPython \
1161 $(eval $(call gb_Helper_register_packages_for_install,python_scriptprovider, \
1162 scripting_scriptproviderforpython \
1165 ifeq (LIBRELOGO,$(filter LIBRELOGO,$(BUILD_TYPE)))
1166 $(eval $(call gb_Helper_register_packages_for_install,python_librelogo, \
1167 librelogo \
1168 librelogo_properties \
1170 endif # LIBRELOGO
1172 endif # DISABLE_PYTHON
1174 # External executables
1175 $(eval $(call gb_ExternalExecutable_register_executables,\
1176 genbrk \
1177 genccode \
1178 gencmn \
1179 python \
1180 xmllint \
1181 xsltproc \
1184 # Resources
1185 $(eval $(call gb_Helper_register_mos,\
1186 acc \
1187 $(call gb_Helper_optional,AVMEDIA,avmedia) \
1188 $(call gb_Helper_optional,SCRIPTING,basctl) \
1189 chart \
1190 cnr \
1191 cui \
1192 dba \
1193 dkt \
1194 editeng \
1195 flt \
1196 for \
1197 $(call gb_Helper_optional,DESKTOP,fps) \
1198 frm \
1199 fwk \
1200 oox \
1201 pcr \
1202 rpt \
1203 $(call gb_Helper_optional,SCRIPTING,sb) \
1204 sc \
1205 sca \
1206 scc \
1207 sd \
1208 sfx \
1209 shell \
1210 sm \
1211 svl \
1212 svt \
1213 svx \
1214 sw \
1215 uui \
1216 vcl \
1217 wiz \
1218 wpt \
1219 $(if $(ENABLE_NSS)$(ENABLE_OPENSSL),xsc) \
1222 # UI configuration
1223 ifneq ($(ENABLE_WASM_STRIP_DBACCESS),TRUE)
1224 $(eval $(call gb_Helper_register_uiconfigs,\
1225 $(call gb_Helper_optional,DBCONNECTIVITY,dbaccess) \
1227 endif
1229 $(eval $(call gb_Helper_register_uiconfigs,\
1230 cui \
1231 desktop \
1232 editeng \
1233 filter \
1234 formula \
1235 fps \
1236 libreofficekit \
1237 $(call gb_Helper_optional,SCRIPTING,modules/BasicIDE) \
1238 $(call gb_Helper_optional,DBCONNECTIVITY,\
1239 modules/dbapp \
1240 modules/dbbrowser \
1241 modules/dbquery \
1242 modules/dbrelation \
1244 modules/dbreport \
1245 $(call gb_Helper_optional,DBCONNECTIVITY,\
1246 modules/dbtable \
1247 modules/dbtdata \
1249 modules/sabpilot \
1250 $(call gb_Helper_optional,DBCONNECTIVITY,modules/sbibliography) \
1251 modules/scalc \
1252 modules/scanner \
1253 modules/schart \
1254 modules/sdraw \
1255 modules/sglobal \
1256 modules/simpress \
1257 modules/smath \
1258 $(call gb_Helper_optional,DBCONNECTIVITY,modules/spropctrlr) \
1259 modules/StartModule \
1260 modules/sweb \
1261 modules/swform \
1262 modules/swreport \
1263 modules/swriter \
1264 modules/swxform \
1265 sfx \
1266 svt \
1267 svx \
1268 uui \
1269 vcl \
1270 writerperfect \
1271 $(if $(ENABLE_NSS)$(ENABLE_OPENSSL),xmlsec) \
1274 ifeq ($(gb_GBUILDSELFTEST),t)
1275 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,ooo, gbuildselftestdep gbuildselftest))
1276 $(eval $(call gb_Helper_register_executables,NONE, gbuildselftestexe))
1277 endif
1279 # vim: set noet sw=4 ts=4: