Fix typo
[LibreOffice.git] / Repository.mk
blobc0d86f868971b2a991c85b92b5b94b856cc30add
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) \
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,fodsfuzzer) \
150 $(call gb_Helper_optional,FUZZERS,fodpfuzzer) \
151 $(call gb_Helper_optional,FUZZERS,xlsfuzzer) \
152 $(call gb_Helper_optional,FUZZERS,scrtffuzzer) \
153 $(call gb_Helper_optional,FUZZERS,wksfuzzer) \
154 $(call gb_Helper_optional,FUZZERS,diffuzzer) \
155 $(call gb_Helper_optional,FUZZERS,docxfuzzer) \
156 $(call gb_Helper_optional,FUZZERS,xlsxfuzzer) \
157 $(call gb_Helper_optional,FUZZERS,pptxfuzzer) \
158 $(call gb_Helper_optional,FUZZERS,mmlfuzzer) \
159 $(call gb_Helper_optional,FUZZERS,mtpfuzzer) \
160 $(call gb_Helper_optional,FUZZERS,htmlfuzzer) \
161 $(call gb_Helper_optional,FUZZERS,sftfuzzer) \
162 $(call gb_Helper_optional,FUZZERS,dbffuzzer) \
163 $(call gb_Helper_optional,FUZZERS,webpfuzzer) \
164 $(call gb_Helper_optional,FUZZERS,zipfuzzer) \
165 $(call gb_Helper_optional,FUZZERS,svgfuzzer) \
166 soffice_bin \
167 $(call gb_CondExeUnopkg, \
168 unopkg_bin \
169 $(if $(filter WNT,$(OS)), \
170 unopkg \
171 unopkg_com \
174 $(if $(filter WNT,$(OS)), \
175 soffice_exe \
176 soffice_com \
177 soffice_safe \
178 unoinfo \
179 $(if $(filter-out AARCH64,$(CPUNAME)),twain32shim) \
183 $(eval $(call gb_Helper_register_executables_for_install,OOO,base_brand, \
184 $(if $(filter WNT,$(OS)), \
185 sbase \
189 $(eval $(call gb_Helper_register_executables_for_install,OOO,base, \
190 $(if $(filter WNT,$(OS)), \
191 odbcconfig \
195 $(eval $(call gb_Helper_register_executables_for_install,OOO,calc_brand, \
196 $(if $(filter WNT,$(OS)), \
197 scalc \
201 $(eval $(call gb_Helper_register_executables_for_install,OOO,draw_brand, \
202 $(if $(filter WNT,$(OS)), \
203 sdraw \
207 $(eval $(call gb_Helper_register_executables_for_install,OOO,impress_brand, \
208 $(if $(filter WNT,$(OS)), \
209 simpress \
213 $(eval $(call gb_Helper_register_executables_for_install,OOO,math_brand, \
214 $(if $(filter WNT,$(OS)), \
215 smath \
219 $(eval $(call gb_Helper_register_executables_for_install,OOO,writer_brand, \
220 $(if $(filter WNT,$(OS)), \
221 sweb \
222 swriter \
226 $(eval $(call gb_Helper_register_executables_for_install,OOO,ooo, \
227 gengal \
228 $(if $(filter WNT,$(OS)),,uri-encode) \
229 $(if $(filter WNT,$(OS)), \
230 senddoc \
232 $(if $(filter OPENCL,$(BUILD_TYPE)),opencltest) \
235 ifeq ($(OS),WNT)
236 $(eval $(call gb_Helper_register_executables_for_install,OOO,quickstart, \
237 quickstart \
239 endif
241 $(eval $(call gb_Helper_register_executables_for_install,OOO,python, \
242 $(if $(filter WNT,$(OS)), \
243 python \
247 ifneq ($(ENABLE_POPPLER),)
248 $(eval $(call gb_Helper_register_executables_for_install,OOO,pdfimport, \
249 xpdfimport \
251 endif
253 $(eval $(call gb_Helper_register_executables_for_install,UREBIN,ure,\
254 $(if $(and $(ENABLE_JAVA),$(filter-out HAIKU MACOSX WNT,$(OS)),$(filter DESKTOP,$(BUILD_TYPE))),javaldx) \
255 $(call gb_CondExeRegistryTools, \
256 regview \
258 $(call gb_CondExeUno,uno) \
261 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,base, \
262 abp \
263 dbp \
264 dbu \
267 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,calc, \
268 analysis \
269 $(call gb_Helper_optional,DBCONNECTIVITY,calc) \
270 date \
271 pricing \
272 sc \
273 scd \
274 scfilt \
275 wpftcalc \
276 solver \
277 $(call gb_Helper_optional,SCRIPTING,vbaobj) \
280 $(eval $(call gb_Helper_register_plugins_for_install,OOOLIBS,calc, \
281 scui \
284 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,graphicfilter, \
285 svgfilter \
286 wpftdraw \
287 graphicfilter \
290 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,impress, \
291 animcore \
292 PresentationMinimizer \
293 wpftimpress \
296 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,onlineupdate, \
297 $(if $(ENABLE_ONLINE_UPDATE), \
298 updatecheckui \
299 updchk \
303 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,gnome, \
304 $(if $(ENABLE_EVOAB2),evoab) \
305 $(if $(ENABLE_GIO),losessioninstall) \
306 $(if $(ENABLE_GIO),ucpgio1) \
309 $(eval $(call gb_Helper_register_plugins_for_install,OOOLIBS,gnome, \
310 $(if $(ENABLE_GTK3),vclplug_gtk3) \
311 $(if $(ENABLE_GTK4),vclplug_gtk4) \
314 gb_haiku_or_kde := $(if $(filter HAIKU,$(OS)),haiku,kde)
316 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,kde, \
317 $(if $(ENABLE_KF5),kf5be1) \
320 $(eval $(call gb_Helper_register_plugins_for_install,OOOLIBS,$(gb_haiku_or_kde), \
321 $(if $(ENABLE_KF5),vclplug_kf5) \
322 $(if $(ENABLE_KF6),vclplug_kf6) \
323 $(if $(ENABLE_QT5),vclplug_qt5) \
324 $(if $(ENABLE_QT6),vclplug_qt6) \
325 $(if $(ENABLE_GTK3_KDE5),vclplug_gtk3_kde5) \
328 $(eval $(call gb_Helper_register_executables_for_install,OOO,$(gb_haiku_or_kde), \
329 $(if $(ENABLE_GTK3_KDE5),lo_kde5filepicker) \
332 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,math, \
333 sm \
334 smd \
337 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,ogltrans, \
338 OGLTrans \
341 ifeq ($(OS),EMSCRIPTEN)
342 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,ooo, \
343 lo-bootstrap \
345 endif
347 ifneq ($(ENABLE_WASM_STRIP_CANVAS),TRUE)
348 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,ooo, \
349 canvastools \
350 $(if $(ENABLE_CAIRO_CANVAS),cairocanvas) \
351 canvasfactory \
352 cppcanvas \
353 $(if $(filter WNT,$(OS)),directx9canvas) \
354 $(if $(ENABLE_OPENGL_CANVAS),oglcanvas) \
355 $(if $(filter WNT,$(OS)),gdipluscanvas) \
356 simplecanvas \
357 vclcanvas \
359 endif
361 ifneq ($(ENABLE_WASM_STRIP_GUESSLANG),TRUE)
362 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,ooo, \
363 guesslang \
365 endif
367 ifneq ($(ENABLE_WASM_STRIP_HUNSPELL),TRUE)
368 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,ooo, \
369 hyphen \
370 lnth \
371 spell \
372 $(if $(filter iOS MACOSX,$(OS)), \
373 MacOSXSpell \
376 endif
378 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,ooo, \
379 avmedia \
380 $(if $(ENABLE_CURL),LanguageTool) \
381 $(call gb_Helper_optional,AVMEDIA, \
382 $(if $(filter MACOSX,$(OS)),\
383 avmediaMacAVF \
386 $(call gb_Helper_optional,SCRIPTING, \
387 basctl \
388 basprov \
390 basegfx \
391 bib \
392 chartcore \
393 chartcontroller \
394 $(call gb_Helper_optional,OPENCL,clew) \
395 $(if $(filter $(OS),WNT),,cmdmail) \
396 configmgr \
397 ctl \
398 dba \
399 dbahsql \
400 $(call gb_Helper_optional,DBCONNECTIVITY, \
401 dbase \
402 dbaxml) \
403 dbtools \
404 deploymentmisc \
405 $(if $(filter-out MACOSX WNT,$(OS)),desktopbe1) \
406 $(call gb_Helper_optional,SCRIPTING,dlgprov) \
407 docmodel \
408 drawinglayercore \
409 drawinglayer \
410 editeng \
411 $(if $(filter EMSCRIPTEN,$(OS)),$(if $(ENABLE_DBGUTIL),embindtest)) \
412 $(if $(filter WNT,$(OS)),emser) \
413 evtatt \
414 $(call gb_Helper_optional,DBCONNECTIVITY, \
415 flat \
416 file) \
417 filterconfig \
418 fps_office \
419 for \
420 forui \
421 frm \
422 fsstorage \
423 fwk \
424 $(call gb_Helper_optionals_or,HELPTOOLS XMLHELP,helplinker) \
425 i18npool \
426 i18nsearch \
427 $(if $(ENABLE_JAVA),jdbc) \
428 $(if $(filter WNT,$(OS)),jumplist) \
429 $(if $(ENABLE_LDAP),ldapbe2) \
430 $(if $(filter WNT,$(OS)),WinUserInfoBe) \
431 localebe1 \
432 log \
433 lng \
434 $(if $(filter $(OS),MACOSX),macbe1) \
435 $(if $(MERGELIBS),merged) \
436 migrationoo2 \
437 migrationoo3 \
438 mozbootstrap \
439 msfilter \
440 $(call gb_Helper_optional,SCRIPTING,msforms) \
441 mtfrenderer \
442 $(call gb_Helper_optional,DBCONNECTIVITY,mysql_jdbc) \
443 $(call gb_Helper_optional,MARIADBC,$(call gb_Helper_optional,DBCONNECTIVITY,mysqlc)) \
444 numbertext \
445 odbc \
446 odfflatxml \
447 offacc \
448 oox \
449 $(call gb_Helper_optional,OPENCL,opencl) \
450 passwordcontainer \
451 pcr \
452 pdffilter \
453 $(call gb_Helper_optional,SCRIPTING,protocolhandler) \
454 sax \
455 sb \
456 $(call gb_Helper_optional,DBCONNECTIVITY,sdbt) \
457 scn \
458 sd \
459 sdd \
460 sfx \
461 slideshow \
462 sot \
463 $(if $(or $(DISABLE_GUI),$(ENABLE_WASM_STRIP_SPLASH)),,spl) \
464 storagefd \
465 $(call gb_Helper_optional,SCRIPTING,stringresource) \
466 svgio \
467 emfio \
468 svl \
469 svt \
470 svx \
471 svxcore \
472 sw \
473 syssh \
474 textconversiondlgs \
475 textfd \
476 tk \
477 tl \
478 ucpexpand1 \
479 ucpext \
480 ucpimage \
481 $(if $(ENABLE_LIBCMIS),ucpcmis1) \
482 ucptdoc1 \
483 unordf \
484 unoxml \
485 updatefeed \
486 utl \
487 uui \
488 $(call gb_Helper_optional,SCRIPTING, \
489 vbaevents \
490 vbahelper \
492 vcl \
493 writerperfect \
494 xmlscript \
495 xmlfa \
496 xmlfd \
497 xo \
498 xof \
499 xsltdlg \
500 xsltfilter \
501 $(if $(filter $(OS),WNT), \
502 ado \
503 oleautobridge \
504 smplmail \
505 wininetbe1 \
507 $(if $(filter $(OS),MACOSX), \
508 $(if $(ENABLE_MACOSX_SANDBOX),, \
509 AppleRemote \
511 fps_aqua \
515 $(eval $(call gb_Helper_register_plugins_for_install,OOOLIBS,ooo, \
516 acc \
517 $(if $(ENABLE_CUSTOMTARGET_COMPONENTS),components) \
518 cui \
519 icg \
520 sdui \
521 $(if $(ENABLE_GEN),vclplug_gen) \
522 $(if $(filter $(OS),WNT),vclplug_win) \
523 $(if $(filter $(OS),MACOSX),vclplug_osx) \
526 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,postgresqlsdbc, \
527 $(if $(BUILD_POSTGRESQL_SDBC), \
528 postgresql-sdbc \
529 postgresql-sdbc-impl) \
532 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,firebirdsdbc, \
533 $(if $(ENABLE_FIREBIRD_SDBC),firebird_sdbc) \
536 ifneq ($(ENABLE_PDFIMPORT),)
537 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,pdfimport, \
538 pdfimport \
540 endif
542 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,python, \
543 pythonloader \
546 $(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_OOO,python, \
547 pyuno \
548 $(if $(filter-out WNT,$(OS)),pyuno_wrapper) \
551 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,reportbuilder, \
552 rpt \
553 rptui \
554 rptxml \
557 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,writer, \
558 hwp \
559 $(if $(ENABLE_LWP),lwpft) \
560 msword \
561 swd \
562 t602filter \
563 $(call gb_Helper_optional,SCRIPTING,vbaswobj) \
564 wpftwriter \
565 writerfilter \
566 $(call gb_Helper_optional,DBCONNECTIVITY,writer) \
569 $(eval $(call gb_Helper_register_plugins_for_install,OOOLIBS,writer, \
570 swui \
573 # cli_cppuhelper is NONE even though it is actually in URE because it is CliNativeLibrary
574 $(eval $(call gb_Helper_register_libraries,PLAINLIBS_NONE, \
575 smoketest \
576 subsequenttest \
577 test \
578 test-setupvcl \
579 testtools_cppobj \
580 testtools_bridgetest \
581 testtools_bridgetest-common \
582 testtools_constructors \
583 unobootstrapprotector \
584 unoexceptionprotector \
585 unotest \
586 vclbootstrapprotector \
587 scqahelper \
588 swqahelper \
589 wpftqahelper \
590 precompiled_system \
591 $(if $(filter MSC,$(COM)),cli_cppuhelper) \
592 $(if $(filter $(OS),ANDROID),lo-bootstrap) \
593 $(if $(filter $(OS),MACOSX),OOoSpotlightImporter) \
596 $(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_URE,ure, \
597 affine_uno_uno \
598 $(if $(filter MSC,$(COM)),$(if $(filter-out AARCH64_TRUE,$(CPUNAME)_$(CROSS_COMPILING)),cli_uno)) \
599 i18nlangtag \
600 $(if $(ENABLE_JAVA), \
601 java_uno \
602 jpipe \
603 $(if $(filter $(OS),WNT),jpipx) \
604 juh \
605 juhx \
607 log_uno_uno \
608 unsafe_uno_uno \
611 $(eval $(call gb_Helper_register_plugins_for_install,PLAINLIBS_URE,ure, \
612 $(if $(filter MSC,$(COM)), \
613 $(if $(filter INTEL,$(CPUNAME)),msci_uno) \
614 $(if $(filter X86_64,$(CPUNAME)),mscx_uno) \
615 $(if $(filter AARCH64,$(CPUNAME)),msca_uno) \
616 , gcc3_uno) \
619 $(eval $(call gb_Helper_register_libraries_for_install,PRIVATELIBS_URE,ure, \
620 binaryurp \
621 bootstrap \
622 introspection \
623 invocadapt \
624 invocation \
625 io \
626 $(if $(ENABLE_JAVA),javaloader) \
627 $(if $(ENABLE_JAVA),javavm) \
628 $(if $(ENABLE_JAVA),jvmaccess) \
629 $(if $(ENABLE_JAVA),jvmfwk) \
630 namingservice \
631 proxyfac \
632 reflection \
633 reg \
634 stocservices \
635 store \
636 unoidl \
637 uuresolver \
638 xmlreader \
641 $(eval $(call gb_Helper_register_plugins_for_install,PRIVATELIBS_URE,ure, \
642 $(call gb_CondLibSalTextenc,sal_textenc) \
645 ifneq ($(ENABLE_WASM_STRIP_ACCESSIBILITY),TRUE)
646 $(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_OOO,ooo, \
647 $(if $(filter WNT,$(OS)), \
648 winaccessibility \
651 endif
653 $(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_OOO,ooo, \
654 $(call gb_Helper_optional,AVMEDIA, \
655 $(if $(ENABLE_GSTREAMER_1_0),avmediagst) \
656 $(if $(ENABLE_GTK4),avmediagtk) \
657 $(if $(filter WNT,$(OS)),avmediawin) \
659 cached1 \
660 comphelper \
661 $(call gb_Helper_optional,DBCONNECTIVITY,dbpool2) \
662 $(call gb_Helper_optional,BREAKPAD,crashreport) \
663 deployment \
664 deploymentgui \
665 embobj \
666 $(if $(ENABLE_JAVA),hsqldb) \
667 i18nutil \
668 $(if $(and $(ENABLE_GTK3), $(filter LINUX %BSD SOLARIS,$(OS))), libreofficekitgtk) \
669 $(if $(and $(ENABLE_GTKTILEDVIEWER), $(filter WNT,$(OS))), libreofficekitgtk) \
670 $(if $(ENABLE_JAVA), \
671 $(if $(filter $(OS),MACOSX),,officebean) \
673 emboleobj \
674 package2 \
675 $(call gb_Helper_optional,SCRIPTING,scriptframe) \
676 sdbc2 \
677 sofficeapp \
678 srtrs1 \
679 ucb1 \
680 ucbhelper \
681 $(if $(WITH_WEBDAV),ucpdav1) \
682 ucpfile1 \
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 dict_ja \
703 dict_zh \
704 localedata_en \
705 localedata_es \
706 localedata_euro \
707 localedata_others \
710 ifeq ($(OS),WNT)
711 $(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_OOO,activexbinarytable, \
712 regactivex \
715 $(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_OOO,activex, \
716 so_activex \
719 ifneq ($(BUILD_X64),)
720 $(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_OOO,activexwin64, \
721 so_activex_x64 \
723 endif
725 $(eval $(call gb_Helper_register_executables_for_install,OOO,spsuppfiles, \
726 spsupp_helper \
729 $(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_OOO,spsuppfiles, \
730 $(if $(CXX_X64_BINARY),spsupp_x64) \
731 $(if $(CXX_X86_BINARY),spsupp_x86) \
734 $(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_OOO,ooobinarytable, \
735 $(if $(WINDOWS_SDK_HOME),\
736 instooofiltmsi \
737 inst_msu_msi \
738 qslnkmsi \
739 reg_dlls \
740 reg4allmsdoc \
741 sdqsmsi \
742 sellangmsi \
743 sn_tools \
744 $(if $(ENABLE_ONLINE_UPDATE_MAR),install_updateservice) \
748 $(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_OOO,winexplorerextbinarytable, \
749 shlxtmsi \
752 $(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_SHLXTHDL,winexplorerext, \
753 ooofilt \
754 propertyhdl \
755 shlxthdl \
758 ifneq ($(BUILD_X64),)
759 $(eval $(call gb_Helper_register_packages_for_install,winexplorerextwin64, \
760 $(if $(filter MSC,$(COM)),msvc_dlls) \
763 $(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_SHLXTHDL,winexplorerextwin64, \
764 ooofilt_x64 \
765 propertyhdl_x64 \
766 shlxthdl_x64 \
768 endif # BUILD_X64
770 endif # WNT
772 $(eval $(call gb_Helper_register_libraries_for_install,RTVERLIBS,ure, \
773 cppuhelper \
774 purpenvhelper \
775 salhelper \
778 $(eval $(call gb_Helper_register_libraries_for_install,UNOVERLIBS,ure, \
779 cppu \
780 sal \
783 $(eval $(call gb_Helper_register_libraries,EXTENSIONLIBS, \
784 active_native \
785 passive_native \
786 crashextension \
789 ifneq ($(ENABLE_JAVA),)
790 $(eval $(call gb_Helper_register_jars_for_install,URE,ure, \
791 java_uno \
792 juh \
793 jurt \
794 libreoffice \
795 ridl \
796 unoloader \
799 $(eval $(call gb_Helper_register_jars_for_install,OOO,ooo, \
800 ScriptFramework \
801 ScriptProviderForJava \
802 XMergeBridge \
803 commonwizards \
804 form \
805 $(if $(filter-out MACOSX,$(OS)),officebean) \
806 query \
807 report \
808 sdbc_hsqldb \
809 smoketest \
810 table \
811 unoil \
812 xmerge \
815 $(eval $(call gb_Helper_register_jars_for_install,OOO,reportbuilder, \
816 reportbuilder \
817 reportbuilderwizard \
820 ifneq ($(ENABLE_SCRIPTING_BEANSHELL),)
821 $(eval $(call gb_Helper_register_jars_for_install,OOO,extensions_bsh, \
822 ScriptProviderForBeanShell \
824 endif
826 ifneq ($(ENABLE_SCRIPTING_JAVASCRIPT),)
827 $(eval $(call gb_Helper_register_jars_for_install,OOO,extensions_rhino, \
828 ScriptProviderForJavaScript \
830 endif
832 ifeq (NUMBERTEXT,$(filter NUMBERTEXT,$(BUILD_TYPE)))
833 $(eval $(call gb_Helper_register_packages_for_install,extensions_numbertext,\
834 numbertext \
836 endif
838 $(eval $(call gb_Helper_register_jars,OXT, \
839 EvolutionarySolver \
840 active_java \
841 mediawiki \
842 nlpsolver \
843 passive_java \
846 $(eval $(call gb_Helper_register_jars,NONE,\
847 ConnectivityTools \
848 HelloWorld \
849 Highlight \
850 MemoryUsage \
851 OOoRunner \
852 TestExtension \
853 test \
854 test-tools \
855 testComponent \
857 endif
859 # 'test_unittest' is only package delivering to workdir.
860 # Other packages could be potentially autoinstalled.
861 $(eval $(call gb_Helper_register_packages, \
862 test_unittest \
863 cli_basetypes_copy \
864 extras_wordbook \
865 instsetoo_native_setup \
866 $(if $(ENABLE_OOENV),instsetoo_native_ooenv) \
867 postprocess_registry \
868 readlicense_oo_readmes \
869 setup_native_misc \
870 sysui_share \
871 vcl_fontunxpsprint \
874 $(eval $(call gb_Helper_register_packages_for_install,impress,\
875 sd_xml \
878 $(eval $(call gb_Helper_register_packages_for_install,calc,\
879 sc_res_xml \
882 $(eval $(call gb_Helper_register_packages_for_install,libreofficekit,\
883 $(if $(filter LINUX %BSD SOLARIS, $(OS)),libreofficekit_selectionhandles) \
884 $(if $(and $(ENABLE_GTKTILEDVIEWER), $(filter WNT,$(OS))), libreofficekit_selectionhandles) \
887 $(eval $(call gb_Helper_register_packages_for_install,ure,\
888 instsetoo_native_setup_ure \
889 $(call gb_CondExeUno,uno_sh) \
890 ure_install \
891 $(if $(ENABLE_JAVA),\
892 jvmfwk_jvmfwk3_ini \
893 jvmfwk_javavendors \
894 jvmfwk_jreproperties \
895 $(if $(filter MACOSX,$(OS)),bridges_jnilib_java_uno) \
899 $(eval $(call gb_Helper_register_packages_for_install,postgresqlsdbc,\
900 $(if $(BUILD_POSTGRESQL_SDBC),connectivity_postgresql-sdbc) \
903 $(eval $(call gb_Helper_register_packages_for_install,sdk,\
904 odk_share_readme \
905 odk_share_readme_generated \
906 $(if $(filter WNT,$(OS)),$(if $(filter-out AARCH64_TRUE,$(CPUNAME)_$(CROSS_COMPILING)),odk_cli)) \
907 odk_config \
908 $(if $(filter WNT,$(OS)),odk_config_win) \
909 odk_docs \
910 $(if $(DOXYGEN),odk_doxygen) \
911 odk_examples \
912 odk_headers \
913 odk_headers_generated \
914 odk_html \
915 odk_settings \
916 odk_settings_generated \
917 $(if $(ENABLE_JAVA), \
918 odk_javadoc \
919 odk_uno_loader_classes \
923 ifneq ($(ENABLE_WASM_STRIP_PINGUSER),TRUE)
924 $(eval $(call gb_Helper_register_packages_for_install,ooo,\
925 tipoftheday_images \
927 endif
929 ifneq ($(ENABLE_WASM_STRIP_CANVAS),TRUE)
930 $(eval $(call gb_Helper_register_packages_for_install,ooo,\
931 $(if $(ENABLE_OPENGL_CANVAS),canvas_opengl_shader) \
933 endif
935 $(eval $(call gb_Helper_register_packages_for_install,ooo,\
936 $(if $(SYSTEM_LIBEXTTEXTCAT),,libexttextcat_fingerprint) \
937 officecfg_misc \
938 $(if $(filter $(OS),MACOSX), \
939 extensions_mdibundle \
940 extensions_OOoSpotlightImporter \
942 extras_autocorr \
943 extras_autotextuser \
944 extras_cfgsrvnolang \
945 extras_cfgusr \
946 extras_database \
947 extras_databasebiblio \
948 extras_gallbullets \
949 extras_gallmytheme \
950 extras_gallroot \
951 extras_gallsystem \
952 extras_gallsystemstr \
953 extras_glade \
954 extras_labels \
955 $(if $(filter WNT,$(OS)),extras_newfiles) \
956 extras_palettes \
957 extras_personas \
958 extras_persona_dark \
959 extras_persona_gray \
960 extras_persona_green \
961 extras_persona_pink \
962 extras_persona_sand \
963 extras_persona_white \
964 extras_tplwizdesktop \
965 $(if $(WITH_TEMPLATES),\
966 extras_templates \
967 extras_tplpresnt \
968 extras_tplwizbitmap \
969 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 \
1036 $(if $(filter EMSCRIPTEN,$(OS)), \
1037 favicon \
1038 unoembind \
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_gentium \
1054 fonts_liberation \
1055 fonts_liberation_narrow \
1056 fonts_libertineg \
1057 fonts_libre_hebrew \
1058 fonts_noto_kufi_arabic \
1059 fonts_noto_naskh_arabic \
1060 fonts_noto_sans \
1061 fonts_noto_sans_arabic \
1062 fonts_noto_sans_armenian \
1063 fonts_noto_sans_georgian \
1064 fonts_noto_sans_hebrew \
1065 fonts_noto_sans_lao \
1066 fonts_noto_sans_lisu \
1067 fonts_noto_serif \
1068 fonts_noto_serif_armenian \
1069 fonts_noto_serif_georgian \
1070 fonts_noto_serif_hebrew \
1071 fonts_noto_serif_lao \
1072 fonts_reem \
1073 fonts_scheherazade \
1077 $(eval $(call gb_Helper_register_packages_for_install,ooo_images,\
1078 postprocess_images \
1079 $(call gb_Helper_optional,HELP,helpcontent2_helpimages) \
1082 $(eval $(call gb_Helper_register_packages_for_install,ogltrans,\
1083 sd_opengl \
1084 slideshow_opengl_shader \
1087 ifneq ($(ENABLE_POPPLER),)
1088 $(eval $(call gb_Helper_register_packages_for_install,pdfimport, \
1089 sdext_pdfimport_pdf \
1091 endif
1093 $(eval $(call gb_Helper_register_packages_for_install,reportbuilder,\
1094 reportbuilder_templates \
1097 $(eval $(call gb_Helper_register_packages_for_install,xsltfilter,\
1098 filter_docbook \
1099 filter_xhtml \
1100 filter_xslt \
1103 $(eval $(call gb_Helper_register_packages_for_install,brand,\
1104 desktop_branding \
1105 $(if $(CUSTOM_BRAND_DIR),desktop_branding_custom) \
1106 $(if $(filter DESKTOP,$(BUILD_TYPE)),desktop_scripts_install) \
1107 $(if $(and $(filter-out EMSCRIPTEN HAIKU MACOSX WNT,$(OS)),$(filter DESKTOP,$(BUILD_TYPE))),\
1108 $(if $(DISABLE_GUI),, \
1109 desktop_soffice_sh \
1112 readlicense_oo_files \
1113 readlicense_oo_license \
1114 $(call gb_Helper_optional,DESKTOP,setup_native_packinfo) \
1115 $(if $(ENABLE_ONLINE_UPDATE_MAR), \
1116 update-settings_ini \
1117 updater_ini \
1121 ifeq ($(USING_X11), TRUE)
1122 $(eval $(call gb_Helper_register_packages_for_install,base_brand,\
1123 desktop_sbase_sh \
1126 $(eval $(call gb_Helper_register_packages_for_install,calc_brand,\
1127 desktop_scalc_sh \
1130 $(eval $(call gb_Helper_register_packages_for_install,draw_brand,\
1131 desktop_sdraw_sh \
1134 $(eval $(call gb_Helper_register_packages_for_install,impress_brand,\
1135 desktop_simpress_sh \
1138 $(eval $(call gb_Helper_register_packages_for_install,math_brand,\
1139 desktop_smath_sh \
1142 $(eval $(call gb_Helper_register_packages_for_install,writer_brand,\
1143 desktop_swriter_sh \
1145 endif # USING_X11=TRUE
1147 $(eval $(call gb_Helper_register_packages_for_install,onlineupdate,\
1148 $(if $(ENABLE_ONLINE_UPDATE),$(if $(filter LINUX SOLARIS,$(OS)),setup_native_scripts)) \
1151 ifneq ($(DISABLE_PYTHON),TRUE)
1152 $(eval $(call gb_Helper_register_packages_for_install,python, \
1153 pyuno_pythonloader_ini \
1154 pyuno_python_scripts \
1155 $(if $(SYSTEM_PYTHON),,$(if $(filter-out WNT,$(OS)),python_shell)) \
1156 scripting_ScriptsPython \
1159 $(eval $(call gb_Helper_register_packages_for_install,python_scriptprovider, \
1160 scripting_scriptproviderforpython \
1163 ifeq (LIBRELOGO,$(filter LIBRELOGO,$(BUILD_TYPE)))
1164 $(eval $(call gb_Helper_register_packages_for_install,python_librelogo, \
1165 librelogo \
1166 librelogo_properties \
1168 endif # LIBRELOGO
1170 endif # DISABLE_PYTHON
1172 # External executables
1173 $(eval $(call gb_ExternalExecutable_register_executables,\
1174 genbrk \
1175 genccode \
1176 gencmn \
1177 python \
1178 xmllint \
1179 xsltproc \
1182 # Resources
1183 $(eval $(call gb_Helper_register_mos,\
1184 acc \
1185 $(call gb_Helper_optional,AVMEDIA,avmedia) \
1186 $(call gb_Helper_optional,SCRIPTING,basctl) \
1187 chart \
1188 cnr \
1189 cui \
1190 dba \
1191 dkt \
1192 editeng \
1193 flt \
1194 for \
1195 $(call gb_Helper_optional,DESKTOP,fps) \
1196 frm \
1197 fwk \
1198 oox \
1199 pcr \
1200 rpt \
1201 $(call gb_Helper_optional,SCRIPTING,sb) \
1202 sc \
1203 sca \
1204 scc \
1205 sd \
1206 sfx \
1207 shell \
1208 sm \
1209 svl \
1210 svt \
1211 svx \
1212 sw \
1213 uui \
1214 vcl \
1215 wiz \
1216 wpt \
1217 $(if $(ENABLE_NSS)$(ENABLE_OPENSSL),xsc) \
1220 # UI configuration
1221 ifneq ($(ENABLE_WASM_STRIP_DBACCESS),TRUE)
1222 $(eval $(call gb_Helper_register_uiconfigs,\
1223 $(call gb_Helper_optional,DBCONNECTIVITY,dbaccess) \
1225 endif
1227 $(eval $(call gb_Helper_register_uiconfigs,\
1228 cui \
1229 desktop \
1230 editeng \
1231 filter \
1232 formula \
1233 fps \
1234 libreofficekit \
1235 $(call gb_Helper_optional,SCRIPTING,modules/BasicIDE) \
1236 $(call gb_Helper_optional,DBCONNECTIVITY,\
1237 modules/dbapp \
1238 modules/dbbrowser \
1239 modules/dbquery \
1240 modules/dbrelation \
1242 modules/dbreport \
1243 $(call gb_Helper_optional,DBCONNECTIVITY,\
1244 modules/dbtable \
1245 modules/dbtdata \
1247 modules/sabpilot \
1248 $(call gb_Helper_optional,DBCONNECTIVITY,modules/sbibliography) \
1249 modules/scalc \
1250 modules/scanner \
1251 modules/schart \
1252 modules/sdraw \
1253 modules/sglobal \
1254 modules/simpress \
1255 modules/smath \
1256 $(call gb_Helper_optional,DBCONNECTIVITY,modules/spropctrlr) \
1257 modules/StartModule \
1258 modules/sweb \
1259 modules/swform \
1260 modules/swreport \
1261 modules/swriter \
1262 modules/swxform \
1263 sfx \
1264 svt \
1265 svx \
1266 uui \
1267 vcl \
1268 writerperfect \
1269 $(if $(ENABLE_NSS)$(ENABLE_OPENSSL),xmlsec) \
1272 ifeq ($(gb_GBUILDSELFTEST),t)
1273 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,ooo, gbuildselftestdep gbuildselftest))
1274 $(eval $(call gb_Helper_register_executables,NONE, gbuildselftestexe))
1275 endif
1277 # vim: set noet sw=4 ts=4: