PRODUCTNAME -> %PRODUCTNAME
[LibreOffice.git] / Repository.mk
blob56d8b2d28b84fa7ae251736ba133f86a09ce9102
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 svdemo \
73 minvcl \
74 fftester \
75 svptest \
76 svpclient ) \
77 $(if $(filter LINUX %BSD SOLARIS,$(OS)), tilebench) \
78 $(if $(filter LINUX MACOSX SOLARIS WNT %BSD,$(OS)),icontest) \
79 vcldemo \
80 tiledrendering \
81 mtfdemo \
82 visualbackendtest \
83 listfonts \
84 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,$(CPUNAME)),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,fodsfuzzer) \
148 $(call gb_Helper_optional,FUZZERS,fodpfuzzer) \
149 $(call gb_Helper_optional,FUZZERS,xlsfuzzer) \
150 $(call gb_Helper_optional,FUZZERS,scrtffuzzer) \
151 $(call gb_Helper_optional,FUZZERS,wksfuzzer) \
152 $(call gb_Helper_optional,FUZZERS,diffuzzer) \
153 $(call gb_Helper_optional,FUZZERS,docxfuzzer) \
154 $(call gb_Helper_optional,FUZZERS,xlsxfuzzer) \
155 $(call gb_Helper_optional,FUZZERS,pptxfuzzer) \
156 $(call gb_Helper_optional,FUZZERS,mmlfuzzer) \
157 $(call gb_Helper_optional,FUZZERS,mtpfuzzer) \
158 $(call gb_Helper_optional,FUZZERS,htmlfuzzer) \
159 $(call gb_Helper_optional,FUZZERS,sftfuzzer) \
160 $(call gb_Helper_optional,FUZZERS,dbffuzzer) \
161 $(call gb_Helper_optional,FUZZERS,webpfuzzer) \
162 $(call gb_Helper_optional,FUZZERS,lockfuzzer) \
163 soffice_bin \
164 $(call gb_CondExeUnopkg, \
165 unopkg_bin \
166 $(if $(filter WNT,$(OS)), \
167 unopkg \
168 unopkg_com \
171 $(if $(filter WNT,$(OS)), \
172 soffice_exe \
173 soffice_com \
174 soffice_safe \
175 unoinfo \
176 $(if $(filter-out AARCH64,$(CPUNAME)),twain32shim) \
180 $(eval $(call gb_Helper_register_executables_for_install,OOO,base_brand, \
181 $(if $(filter WNT,$(OS)), \
182 sbase \
186 $(eval $(call gb_Helper_register_executables_for_install,OOO,base, \
187 $(if $(filter WNT,$(OS)), \
188 odbcconfig \
192 $(eval $(call gb_Helper_register_executables_for_install,OOO,calc_brand, \
193 $(if $(filter WNT,$(OS)), \
194 scalc \
198 $(eval $(call gb_Helper_register_executables_for_install,OOO,draw_brand, \
199 $(if $(filter WNT,$(OS)), \
200 sdraw \
204 $(eval $(call gb_Helper_register_executables_for_install,OOO,impress_brand, \
205 $(if $(filter WNT,$(OS)), \
206 simpress \
210 $(eval $(call gb_Helper_register_executables_for_install,OOO,math_brand, \
211 $(if $(filter WNT,$(OS)), \
212 smath \
216 $(eval $(call gb_Helper_register_executables_for_install,OOO,writer_brand, \
217 $(if $(filter WNT,$(OS)), \
218 sweb \
219 swriter \
223 $(eval $(call gb_Helper_register_executables_for_install,OOO,ooo, \
224 gengal \
225 $(if $(filter WNT,$(OS)),,uri-encode) \
226 $(if $(filter WNT,$(OS)), \
227 senddoc \
229 $(if $(filter OPENCL,$(BUILD_TYPE)),opencltest) \
232 ifeq ($(OS),WNT)
233 $(eval $(call gb_Helper_register_executables_for_install,OOO,quickstart, \
234 quickstart \
236 endif
238 $(eval $(call gb_Helper_register_executables_for_install,OOO,python, \
239 $(if $(filter WNT,$(OS)), \
240 python \
244 ifneq ($(ENABLE_POPPLER),)
245 $(eval $(call gb_Helper_register_executables_for_install,OOO,pdfimport, \
246 xpdfimport \
248 endif
250 $(eval $(call gb_Helper_register_executables_for_install,UREBIN,ure,\
251 $(if $(and $(ENABLE_JAVA),$(filter-out HAIKU MACOSX WNT,$(OS)),$(filter DESKTOP,$(BUILD_TYPE))),javaldx) \
252 $(call gb_CondExeRegistryTools, \
253 regview \
255 $(call gb_CondExeUno,uno) \
258 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,base, \
259 abp \
260 dbp \
261 dbu \
264 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,calc, \
265 analysis \
266 $(call gb_Helper_optional,DBCONNECTIVITY,calc) \
267 date \
268 pricing \
269 sc \
270 scd \
271 scfilt \
272 wpftcalc \
273 solver \
274 $(call gb_Helper_optional,SCRIPTING,vbaobj) \
277 $(eval $(call gb_Helper_register_plugins_for_install,OOOLIBS,calc, \
278 scui \
281 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,graphicfilter, \
282 svgfilter \
283 wpftdraw \
284 graphicfilter \
287 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,impress, \
288 animcore \
289 PresenterScreen \
290 PresentationMinimizer \
291 wpftimpress \
294 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,onlineupdate, \
295 $(if $(ENABLE_ONLINE_UPDATE), \
296 updatecheckui \
297 updchk \
301 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,gnome, \
302 $(if $(ENABLE_EVOAB2),evoab) \
303 $(if $(ENABLE_GIO),losessioninstall) \
304 $(if $(ENABLE_GIO),ucpgio1) \
307 $(eval $(call gb_Helper_register_plugins_for_install,OOOLIBS,gnome, \
308 $(if $(ENABLE_GTK3),vclplug_gtk3) \
309 $(if $(ENABLE_GTK4),vclplug_gtk4) \
312 gb_haiku_or_kde := $(if $(filter HAIKU,$(OS)),haiku,kde)
314 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,kde, \
315 $(if $(ENABLE_KF5),kf5be1) \
318 $(eval $(call gb_Helper_register_plugins_for_install,OOOLIBS,$(gb_haiku_or_kde), \
319 $(if $(ENABLE_KF5),vclplug_kf5) \
320 $(if $(ENABLE_QT5),vclplug_qt5) \
321 $(if $(ENABLE_QT6),vclplug_qt6) \
322 $(if $(ENABLE_GTK3_KDE5),vclplug_gtk3_kde5) \
325 $(eval $(call gb_Helper_register_executables_for_install,OOO,$(gb_haiku_or_kde), \
326 $(if $(ENABLE_GTK3_KDE5),lo_kde5filepicker) \
329 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,math, \
330 sm \
331 smd \
334 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,ogltrans, \
335 OGLTrans \
338 ifneq ($(ENABLE_WASM_STRIP_CANVAS),TRUE)
339 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,ooo, \
340 canvastools \
341 $(if $(ENABLE_CAIRO_CANVAS),cairocanvas) \
342 canvasfactory \
343 cppcanvas \
344 $(if $(filter WNT,$(OS)),directx9canvas) \
345 $(if $(ENABLE_OPENGL_CANVAS),oglcanvas) \
346 $(if $(filter WNT,$(OS)),gdipluscanvas) \
347 simplecanvas \
348 vclcanvas \
350 endif
352 ifneq ($(ENABLE_WASM_STRIP_GUESSLANG),TRUE)
353 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,ooo, \
354 guesslang \
356 endif
358 ifneq ($(ENABLE_WASM_STRIP_HUNSPELL),TRUE)
359 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,ooo, \
360 hyphen \
361 lnth \
362 spell \
363 $(if $(filter iOS MACOSX,$(OS)), \
364 MacOSXSpell \
367 endif
369 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,ooo, \
370 avmedia \
371 LanguageTool \
372 $(call gb_Helper_optional,AVMEDIA, \
373 $(if $(filter MACOSX,$(OS)),\
374 avmediaMacAVF \
377 $(call gb_Helper_optional,SCRIPTING, \
378 basctl \
379 basprov \
381 basegfx \
382 bib \
383 chartcore \
384 chartcontroller \
385 $(call gb_Helper_optional,OPENCL,clew) \
386 $(if $(filter $(OS),WNT),,cmdmail) \
387 configmgr \
388 ctl \
389 dba \
390 dbahsql \
391 $(call gb_Helper_optional,DBCONNECTIVITY, \
392 dbase \
393 dbaxml) \
394 dbtools \
395 deploymentmisc \
396 $(if $(filter-out MACOSX WNT,$(OS)),desktopbe1) \
397 $(call gb_Helper_optional,SCRIPTING,dlgprov) \
398 drawinglayercore \
399 drawinglayer \
400 editeng \
401 $(if $(filter WNT,$(OS)),emser) \
402 evtatt \
403 expwrap \
404 $(call gb_Helper_optional,DBCONNECTIVITY, \
405 flat \
406 file) \
407 filterconfig \
408 fps_office \
409 for \
410 forui \
411 frm \
412 fsstorage \
413 fwk \
414 $(call gb_Helper_optionals_or,HELPTOOLS XMLHELP,helplinker) \
415 i18npool \
416 i18nsearch \
417 $(if $(ENABLE_JAVA),jdbc) \
418 $(if $(filter WNT,$(OS)),jumplist) \
419 $(if $(ENABLE_LDAP),ldapbe2) \
420 $(if $(filter WNT,$(OS)),WinUserInfoBe) \
421 localebe1 \
422 log \
423 lng \
424 $(if $(filter $(OS),MACOSX),macbe1) \
425 $(if $(MERGELIBS),merged) \
426 migrationoo2 \
427 migrationoo3 \
428 mozbootstrap \
429 msfilter \
430 $(call gb_Helper_optional,SCRIPTING,msforms) \
431 mtfrenderer \
432 $(call gb_Helper_optional,DBCONNECTIVITY,mysql_jdbc) \
433 $(call gb_Helper_optional,MARIADBC,$(call gb_Helper_optional,DBCONNECTIVITY,mysqlc)) \
434 numbertext \
435 odbc \
436 odfflatxml \
437 offacc \
438 oox \
439 $(call gb_Helper_optional,OPENCL,opencl) \
440 passwordcontainer \
441 pcr \
442 pdffilter \
443 $(call gb_Helper_optional,SCRIPTING,protocolhandler) \
444 sax \
445 sb \
446 $(call gb_Helper_optional,DBCONNECTIVITY,sdbt) \
447 scn \
448 sd \
449 sdd \
450 sfx \
451 slideshow \
452 sot \
453 $(if $(or $(DISABLE_GUI),$(ENABLE_WASM_STRIP_SPLASH)),,spl) \
454 storagefd \
455 $(call gb_Helper_optional,SCRIPTING,stringresource) \
456 svgio \
457 emfio \
458 svl \
459 svt \
460 svx \
461 svxcore \
462 sw \
463 syssh \
464 textconversiondlgs \
465 textfd \
466 tk \
467 tl \
468 ucpexpand1 \
469 ucpext \
470 ucpimage \
471 $(if $(ENABLE_LIBCMIS),ucpcmis1) \
472 ucptdoc1 \
473 unordf \
474 unoxml \
475 updatefeed \
476 utl \
477 uui \
478 $(call gb_Helper_optional,SCRIPTING, \
479 vbaevents \
480 vbahelper \
482 vcl \
483 writerperfect \
484 xmlscript \
485 xmlfa \
486 xmlfd \
487 xo \
488 xof \
489 xsltdlg \
490 xsltfilter \
491 $(if $(filter $(OS),WNT), \
492 ado \
493 oleautobridge \
494 smplmail \
495 wininetbe1 \
497 $(if $(filter $(OS),MACOSX), \
498 $(if $(ENABLE_MACOSX_SANDBOX),, \
499 AppleRemote \
501 fps_aqua \
505 $(eval $(call gb_Helper_register_plugins_for_install,OOOLIBS,ooo, \
506 acc \
507 $(if $(ENABLE_CUSTOMTARGET_COMPONENTS),components) \
508 cui \
509 $(if $(USING_X11),desktop_detector) \
510 icg \
511 sdui \
512 $(if $(ENABLE_GEN),vclplug_gen) \
513 $(if $(filter $(OS),WNT),vclplug_win) \
514 $(if $(filter $(OS),MACOSX),vclplug_osx) \
517 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,postgresqlsdbc, \
518 $(if $(BUILD_POSTGRESQL_SDBC), \
519 postgresql-sdbc \
520 postgresql-sdbc-impl) \
523 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,firebirdsdbc, \
524 $(if $(ENABLE_FIREBIRD_SDBC),firebird_sdbc) \
527 ifneq ($(ENABLE_PDFIMPORT),)
528 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,pdfimport, \
529 pdfimport \
531 endif
533 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,python, \
534 pythonloader \
537 $(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_OOO,python, \
538 pyuno \
539 $(if $(filter-out WNT,$(OS)),pyuno_wrapper) \
542 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,reportbuilder, \
543 rpt \
544 rptui \
545 rptxml \
548 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,writer, \
549 hwp \
550 $(if $(ENABLE_LWP),lwpft) \
551 msword \
552 swd \
553 t602filter \
554 $(call gb_Helper_optional,SCRIPTING,vbaswobj) \
555 wpftwriter \
556 writerfilter \
557 $(call gb_Helper_optional,DBCONNECTIVITY,writer) \
560 $(eval $(call gb_Helper_register_plugins_for_install,OOOLIBS,writer, \
561 swui \
564 # cli_cppuhelper is NONE even though it is actually in URE because it is CliNativeLibrary
565 $(eval $(call gb_Helper_register_libraries,PLAINLIBS_NONE, \
566 smoketest \
567 subsequenttest \
568 test \
569 test-setupvcl \
570 testtools_cppobj \
571 testtools_bridgetest \
572 testtools_bridgetest-common \
573 testtools_constructors \
574 unobootstrapprotector \
575 unoexceptionprotector \
576 unotest \
577 vclbootstrapprotector \
578 scqahelper \
579 swqahelper \
580 wpftqahelper \
581 precompiled_system \
582 $(if $(filter MSC,$(COM)),cli_cppuhelper) \
583 $(if $(filter $(OS),ANDROID),lo-bootstrap) \
584 $(if $(filter $(OS),MACOSX),OOoSpotlightImporter) \
587 $(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_URE,ure, \
588 affine_uno_uno \
589 $(if $(filter MSC,$(COM)),$(if $(filter-out AARCH64,$(CPUNAME)),cli_uno)) \
590 i18nlangtag \
591 $(if $(ENABLE_JAVA), \
592 java_uno \
593 jpipe \
594 $(if $(filter $(OS),WNT),jpipx) \
595 juh \
596 juhx \
598 log_uno_uno \
599 unsafe_uno_uno \
602 $(eval $(call gb_Helper_register_plugins_for_install,PLAINLIBS_URE,ure, \
603 $(if $(filter MSC,$(COM)), \
604 $(if $(filter INTEL,$(CPUNAME)),msci_uno) \
605 $(if $(filter X86_64,$(CPUNAME)),mscx_uno) \
606 $(if $(filter AARCH64,$(CPUNAME)),msca_uno) \
607 , gcc3_uno) \
610 $(eval $(call gb_Helper_register_libraries_for_install,PRIVATELIBS_URE,ure, \
611 binaryurp \
612 bootstrap \
613 introspection \
614 invocadapt \
615 invocation \
616 io \
617 $(if $(ENABLE_JAVA),javaloader) \
618 $(if $(ENABLE_JAVA),javavm) \
619 $(if $(ENABLE_JAVA),jvmaccess) \
620 $(if $(ENABLE_JAVA),jvmfwk) \
621 namingservice \
622 proxyfac \
623 reflection \
624 reg \
625 stocservices \
626 store \
627 unoidl \
628 uuresolver \
629 xmlreader \
632 $(eval $(call gb_Helper_register_plugins_for_install,PRIVATELIBS_URE,ure, \
633 $(call gb_CondLibSalTextenc,sal_textenc) \
636 ifneq ($(ENABLE_WASM_STRIP_ACCESSIBILITY),TRUE)
637 $(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_OOO,ooo, \
638 $(if $(filter WNT,$(OS)), \
639 winaccessibility \
642 endif
644 $(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_OOO,ooo, \
645 $(call gb_Helper_optional,AVMEDIA, \
646 $(if $(ENABLE_GSTREAMER_1_0),avmediagst) \
647 $(if $(ENABLE_GTK4),avmediagtk) \
648 $(if $(filter WNT,$(OS)),avmediawin) \
650 cached1 \
651 comphelper \
652 $(call gb_Helper_optional,DBCONNECTIVITY,dbpool2) \
653 $(call gb_Helper_optional,BREAKPAD,crashreport) \
654 deployment \
655 deploymentgui \
656 embobj \
657 $(if $(ENABLE_JAVA),hsqldb) \
658 i18nutil \
659 $(if $(and $(ENABLE_GTK3), $(filter LINUX %BSD SOLARIS,$(OS))), libreofficekitgtk) \
660 $(if $(and $(ENABLE_GTKTILEDVIEWER), $(filter WNT,$(OS))), libreofficekitgtk) \
661 $(if $(ENABLE_JAVA), \
662 $(if $(filter $(OS),MACOSX),,officebean) \
664 emboleobj \
665 package2 \
666 $(call gb_Helper_optional,SCRIPTING,scriptframe) \
667 sdbc2 \
668 sofficeapp \
669 srtrs1 \
670 ucb1 \
671 ucbhelper \
672 $(if $(WITH_WEBDAV),ucpdav1) \
673 ucpfile1 \
674 ucpftp1 \
675 $(call gb_Helper_optional,XMLHELP,ucpchelp1) \
676 ucphier1 \
677 ucppkg1 \
678 $(call gb_CondExeUnopkg,unopkgapp) \
679 xmlsecurity \
680 xsec_xmlsec \
681 xstor \
682 $(if $(filter $(OS),MACOSX), \
683 macab1 \
684 macabdrv1 \
686 $(if $(filter WNT,$(OS)), \
687 fps \
688 inprocserv \
689 UAccCOM \
693 $(eval $(call gb_Helper_register_plugins_for_install,PLAINLIBS_OOO,ooo, \
694 collator_data \
695 dict_ja \
696 dict_zh \
697 index_data \
698 localedata_en \
699 localedata_es \
700 localedata_euro \
701 localedata_others \
702 textconv_dict \
705 ifeq ($(OS),WNT)
706 $(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_OOO,activexbinarytable, \
707 regactivex \
710 $(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_OOO,activex, \
711 so_activex \
714 ifneq ($(BUILD_X64),)
715 $(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_OOO,activexwin64, \
716 so_activex_x64 \
718 endif
720 $(eval $(call gb_Helper_register_executables_for_install,OOO,spsuppfiles, \
721 spsupp_helper \
724 $(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_OOO,spsuppfiles, \
725 $(if $(CXX_X64_BINARY),spsupp_x64) \
726 $(if $(CXX_X86_BINARY),spsupp_x86) \
729 $(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_OOO,ooobinarytable, \
730 $(if $(WINDOWS_SDK_HOME),\
731 instooofiltmsi \
732 inst_msu_msi \
733 qslnkmsi \
734 reg_dlls \
735 reg4allmsdoc \
736 sdqsmsi \
737 sellangmsi \
738 sn_tools \
742 $(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_OOO,winexplorerextbinarytable, \
743 shlxtmsi \
746 $(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_SHLXTHDL,winexplorerext, \
747 ooofilt \
748 propertyhdl \
749 shlxthdl \
752 ifneq ($(BUILD_X64),)
753 $(eval $(call gb_Helper_register_packages_for_install,winexplorerextwin64, \
754 $(if $(filter MSC,$(COM)),msvc_dlls) \
757 $(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_SHLXTHDL,winexplorerextwin64, \
758 ooofilt_x64 \
759 propertyhdl_x64 \
760 shlxthdl_x64 \
762 endif # BUILD_X64
764 endif # WNT
766 $(eval $(call gb_Helper_register_libraries_for_install,RTVERLIBS,ure, \
767 cppuhelper \
768 purpenvhelper \
769 salhelper \
772 $(eval $(call gb_Helper_register_libraries_for_install,UNOVERLIBS,ure, \
773 cppu \
774 sal \
777 $(eval $(call gb_Helper_register_libraries,EXTENSIONLIBS, \
778 active_native \
779 passive_native \
780 crashextension \
783 ifneq ($(ENABLE_JAVA),)
784 $(eval $(call gb_Helper_register_jars_for_install,URE,ure, \
785 java_uno \
786 juh \
787 jurt \
788 libreoffice \
789 ridl \
790 unoloader \
793 $(eval $(call gb_Helper_register_jars_for_install,OOO,ooo, \
794 ScriptFramework \
795 ScriptProviderForJava \
796 XMergeBridge \
797 commonwizards \
798 form \
799 $(if $(filter-out MACOSX,$(OS)),officebean) \
800 query \
801 report \
802 sdbc_hsqldb \
803 smoketest \
804 table \
805 unoil \
806 xmerge \
809 $(eval $(call gb_Helper_register_jars_for_install,OOO,reportbuilder, \
810 reportbuilder \
811 reportbuilderwizard \
814 ifneq ($(ENABLE_SCRIPTING_BEANSHELL),)
815 $(eval $(call gb_Helper_register_jars_for_install,OOO,extensions_bsh, \
816 ScriptProviderForBeanShell \
818 endif
820 ifneq ($(ENABLE_SCRIPTING_JAVASCRIPT),)
821 $(eval $(call gb_Helper_register_jars_for_install,OOO,extensions_rhino, \
822 ScriptProviderForJavaScript \
824 endif
826 ifeq (NUMBERTEXT,$(filter NUMBERTEXT,$(BUILD_TYPE)))
827 $(eval $(call gb_Helper_register_packages_for_install,extensions_numbertext,\
828 numbertext \
830 endif
832 $(eval $(call gb_Helper_register_jars,OXT, \
833 EvolutionarySolver \
834 active_java \
835 mediawiki \
836 nlpsolver \
837 passive_java \
840 $(eval $(call gb_Helper_register_jars,NONE,\
841 ConnectivityTools \
842 HelloWorld \
843 Highlight \
844 MemoryUsage \
845 OOoRunner \
846 TestExtension \
847 test \
848 test-tools \
849 testComponent \
851 endif
853 # 'test_unittest' is only package delivering to workdir.
854 # Other packages could be potentially autoinstalled.
855 $(eval $(call gb_Helper_register_packages, \
856 test_unittest \
857 cli_basetypes_copy \
858 extras_wordbook \
859 instsetoo_native_setup \
860 $(if $(ENABLE_OOENV),instsetoo_native_ooenv) \
861 postprocess_registry \
862 readlicense_oo_readmes \
863 setup_native_misc \
864 sysui_share \
865 vcl_fontunxpsprint \
868 $(eval $(call gb_Helper_register_packages_for_install,impress,\
869 sd_xml \
872 $(eval $(call gb_Helper_register_packages_for_install,calc,\
873 sc_res_xml \
876 $(eval $(call gb_Helper_register_packages_for_install,libreofficekit,\
877 $(if $(filter LINUX %BSD SOLARIS, $(OS)),libreofficekit_selectionhandles) \
878 $(if $(and $(ENABLE_GTKTILEDVIEWER), $(filter WNT,$(OS))), libreofficekit_selectionhandles) \
881 $(eval $(call gb_Helper_register_packages_for_install,ure,\
882 instsetoo_native_setup_ure \
883 $(call gb_CondExeUno,uno_sh) \
884 ure_install \
885 $(if $(ENABLE_JAVA),\
886 jvmfwk_jvmfwk3_ini \
887 jvmfwk_javavendors \
888 jvmfwk_jreproperties \
889 $(if $(filter MACOSX,$(OS)),bridges_jnilib_java_uno) \
893 $(eval $(call gb_Helper_register_packages_for_install,postgresqlsdbc,\
894 $(if $(BUILD_POSTGRESQL_SDBC),connectivity_postgresql-sdbc) \
897 $(eval $(call gb_Helper_register_packages_for_install,sdk,\
898 odk_share_readme \
899 odk_share_readme_generated \
900 $(if $(filter WNT,$(OS)),$(if $(filter-out AARCH64,$(CPUNAME)),odk_cli)) \
901 odk_config \
902 $(if $(filter WNT,$(OS)),odk_config_win) \
903 odk_docs \
904 $(if $(DOXYGEN),odk_doxygen) \
905 odk_examples \
906 odk_headers \
907 odk_headers_generated \
908 odk_html \
909 odk_settings \
910 odk_settings_generated \
911 $(if $(ENABLE_JAVA), \
912 odk_javadoc \
913 odk_uno_loader_classes \
917 ifneq ($(ENABLE_WASM_STRIP_PINGUSER),TRUE)
918 $(eval $(call gb_Helper_register_packages_for_install,ooo,\
919 tipoftheday_images \
921 endif
923 ifneq ($(ENABLE_WASM_STRIP_CANVAS),TRUE)
924 $(eval $(call gb_Helper_register_packages_for_install,ooo,\
925 $(if $(ENABLE_OPENGL_CANVAS),canvas_opengl_shader) \
927 endif
929 $(eval $(call gb_Helper_register_packages_for_install,ooo,\
930 $(if $(SYSTEM_LIBEXTTEXTCAT),,libexttextcat_fingerprint) \
931 officecfg_misc \
932 $(if $(filter $(OS),MACOSX), \
933 extensions_mdibundle \
934 extensions_OOoSpotlightImporter \
936 extras_autocorr \
937 extras_autotextuser \
938 extras_cfgsrvnolang \
939 extras_cfgusr \
940 extras_database \
941 extras_databasebiblio \
942 extras_gallbullets \
943 extras_gallmytheme \
944 extras_gallroot \
945 extras_gallsystem \
946 extras_gallsystemstr \
947 extras_glade \
948 extras_labels \
949 $(if $(filter WNT,$(OS)),extras_newfiles) \
950 extras_palettes \
951 extras_personas \
952 extras_persona_dark \
953 extras_persona_gray \
954 extras_persona_green \
955 extras_persona_pink \
956 extras_persona_sand \
957 extras_persona_white \
958 extras_templates \
959 extras_tplpresnt \
960 extras_tplwizbitmap \
961 extras_tplwizdesktop \
962 extras_tplwizard \
963 framework_dtd \
964 $(if $(filter $(OS),MACOSX),infoplist) \
965 oox_customshapes \
966 oox_generated \
967 package_dtd \
968 sd_web \
969 $(call gb_Helper_optional,DESKTOP,\
970 $(if $(filter-out WNT,$(OS)),$(if $(ENABLE_MACOSX_SANDBOX),,shell_senddoc))) \
971 $(call gb_Helper_optional,DESKTOP,$(if $(filter-out EMSCRIPTEN MACOSX WNT,$(OS)),svx_gengal)) \
972 $(if $(USING_X11),vcl_fontunxppds) \
973 $(if $(filter $(OS),MACOSX),vcl_osxres) \
974 xmloff_dtd \
975 xmlscript_dtd \
976 $(call gb_Helper_optional,XMLHELP,xmlhelp_helpxsl) \
977 $(if $(ENABLE_JAVA),\
978 scripting_java \
979 scripting_java_jars \
980 $(if $(ENABLE_SCRIPTING_BEANSHELL),scripting_ScriptsBeanShell) \
981 $(if $(ENABLE_SCRIPTING_JAVASCRIPT),scripting_ScriptsJavaScript) \
983 $(call gb_Helper_optional,SCRIPTING,scripting_scriptbindinglib) \
984 $(if $(filter $(OS),MACOSX),sysui_osxicons) \
985 wizards_basicshare \
986 wizards_basicsrvaccess2base \
987 wizards_basicsrvdepot \
988 wizards_basicsrveuro \
989 wizards_basicsrvgimmicks \
990 wizards_basicsrvimport \
991 wizards_basicsrvform \
992 wizards_basicsrvscriptforge \
993 wizards_basicsrvsfdatabases \
994 wizards_basicsrvsfdialogs \
995 wizards_basicsrvsfdocuments \
996 wizards_basicsrvsfunittests \
997 wizards_basicsrvsfwidgets \
998 wizards_basicsrvstandard \
999 wizards_basicsrvtemplate \
1000 wizards_basicsrvtools \
1001 wizards_basicsrvtutorials \
1002 wizards_basicusr \
1003 wizards_properties \
1004 wizards_wizardshare \
1005 toolbarmode_images \
1006 vcl_theme_definitions \
1007 $(if $(filter WNT,$(OS)), \
1008 vcl_opengl_denylist \
1010 $(if $(filter SKIA,$(BUILD_TYPE)), \
1011 vcl_skia_denylist ) \
1012 $(if $(DISABLE_PYTHON),,$(if $(filter-out AIX,$(OS)), \
1013 Pyuno/commonwizards \
1014 Pyuno/fax \
1015 Pyuno/letter \
1016 Pyuno/agenda \
1017 Pyuno/mailmerge \
1018 )) \
1019 sfx2_classification \
1020 $(if $(filter OPENCL,$(BUILD_TYPE)),sc_opencl_runtimetest) \
1021 $(if $(ENABLE_HTMLHELP),\
1022 helpcontent2_html_dynamic \
1023 helpcontent2_html_media \
1024 helpcontent2_html_icon-themes \
1025 helpcontent2_html_static \
1027 resource_fonts \
1028 cui \
1031 $(eval $(call gb_Helper_register_packages_for_install,ooo_fonts,\
1032 extras_fonts \
1033 $(if $(USING_X11)$(DISABLE_GUI)$(filter ANDROID EMSCRIPTEN,$(OS)), \
1034 postprocess_fontconfig) \
1035 $(call gb_Helper_optional,MORE_FONTS,\
1036 fonts_alef \
1037 fonts_amiri \
1038 fonts_caladea \
1039 fonts_carlito \
1040 $(if $(MPL_SUBSET),,fonts_culmus) \
1041 fonts_dejavu \
1042 fonts_gentium \
1043 fonts_liberation \
1044 fonts_liberation_narrow \
1045 fonts_libertineg \
1046 fonts_libre_hebrew \
1047 fonts_noto \
1048 fonts_reem \
1049 fonts_sourcesans \
1050 fonts_scheherazade \
1054 $(eval $(call gb_Helper_register_packages_for_install,ooo_images,\
1055 postprocess_images \
1056 $(call gb_Helper_optional,HELP,helpcontent2_helpimages) \
1059 $(eval $(call gb_Helper_register_packages_for_install,ogltrans,\
1060 sd_opengl \
1061 slideshow_opengl_shader \
1064 ifneq ($(ENABLE_POPPLER),)
1065 $(eval $(call gb_Helper_register_packages_for_install,pdfimport, \
1066 sdext_pdfimport_pdf \
1068 endif
1070 $(eval $(call gb_Helper_register_packages_for_install,reportbuilder,\
1071 reportbuilder_templates \
1074 $(eval $(call gb_Helper_register_packages_for_install,xsltfilter,\
1075 filter_docbook \
1076 filter_xhtml \
1077 filter_xslt \
1080 $(eval $(call gb_Helper_register_packages_for_install,brand,\
1081 desktop_branding \
1082 $(if $(CUSTOM_BRAND_DIR),desktop_branding_custom) \
1083 $(if $(filter DESKTOP,$(BUILD_TYPE)),desktop_scripts_install) \
1084 $(if $(and $(filter-out EMSCRIPTEN HAIKU MACOSX WNT,$(OS)),$(filter DESKTOP,$(BUILD_TYPE))),\
1085 $(if $(DISABLE_GUI),, \
1086 desktop_soffice_sh \
1089 readlicense_oo_files \
1090 readlicense_oo_license \
1091 $(call gb_Helper_optional,DESKTOP,setup_native_packinfo) \
1094 ifeq ($(USING_X11), TRUE)
1095 $(eval $(call gb_Helper_register_packages_for_install,base_brand,\
1096 desktop_sbase_sh \
1099 $(eval $(call gb_Helper_register_packages_for_install,calc_brand,\
1100 desktop_scalc_sh \
1103 $(eval $(call gb_Helper_register_packages_for_install,draw_brand,\
1104 desktop_sdraw_sh \
1107 $(eval $(call gb_Helper_register_packages_for_install,impress_brand,\
1108 desktop_simpress_sh \
1111 $(eval $(call gb_Helper_register_packages_for_install,math_brand,\
1112 desktop_smath_sh \
1115 $(eval $(call gb_Helper_register_packages_for_install,writer_brand,\
1116 desktop_swriter_sh \
1118 endif # USING_X11=TRUE
1120 $(eval $(call gb_Helper_register_packages_for_install,onlineupdate,\
1121 $(if $(ENABLE_ONLINE_UPDATE),$(if $(filter LINUX SOLARIS,$(OS)),setup_native_scripts)) \
1124 ifneq ($(DISABLE_PYTHON),TRUE)
1125 $(eval $(call gb_Helper_register_packages_for_install,python, \
1126 pyuno_pythonloader_ini \
1127 pyuno_python_scripts \
1128 $(if $(SYSTEM_PYTHON),,$(if $(filter-out WNT,$(OS)),python_shell)) \
1129 scripting_ScriptsPython \
1132 $(eval $(call gb_Helper_register_packages_for_install,python_scriptprovider, \
1133 scripting_scriptproviderforpython \
1136 ifeq (LIBRELOGO,$(filter LIBRELOGO,$(BUILD_TYPE)))
1137 $(eval $(call gb_Helper_register_packages_for_install,python_librelogo, \
1138 librelogo \
1139 librelogo_properties \
1141 endif # LIBRELOGO
1143 endif # DISABLE_PYTHON
1145 # External executables
1146 $(eval $(call gb_ExternalExecutable_register_executables,\
1147 genbrk \
1148 genccode \
1149 gencmn \
1150 python \
1151 xmllint \
1152 xsltproc \
1155 # Resources
1156 $(eval $(call gb_Helper_register_mos,\
1157 acc \
1158 $(call gb_Helper_optional,AVMEDIA,avmedia) \
1159 $(call gb_Helper_optional,SCRIPTING,basctl) \
1160 chart \
1161 cnr \
1162 cui \
1163 dba \
1164 dkt \
1165 editeng \
1166 flt \
1167 for \
1168 $(call gb_Helper_optional,DESKTOP,fps) \
1169 frm \
1170 fwk \
1171 oox \
1172 pcr \
1173 rpt \
1174 $(call gb_Helper_optional,SCRIPTING,sb) \
1175 sc \
1176 sca \
1177 scc \
1178 sd \
1179 sfx \
1180 shell \
1181 sm \
1182 svl \
1183 svt \
1184 svx \
1185 sw \
1186 uui \
1187 vcl \
1188 wiz \
1189 wpt \
1190 $(if $(ENABLE_NSS)$(ENABLE_OPENSSL),xsc) \
1193 # UI configuration
1194 ifneq ($(ENABLE_WASM_STRIP_DBACCESS),TRUE)
1195 $(eval $(call gb_Helper_register_uiconfigs,\
1196 $(call gb_Helper_optional,DBCONNECTIVITY,dbaccess) \
1198 endif
1200 $(eval $(call gb_Helper_register_uiconfigs,\
1201 cui \
1202 desktop \
1203 editeng \
1204 filter \
1205 formula \
1206 fps \
1207 libreofficekit \
1208 $(call gb_Helper_optional,SCRIPTING,modules/BasicIDE) \
1209 $(call gb_Helper_optional,DBCONNECTIVITY,\
1210 modules/dbapp \
1211 modules/dbbrowser \
1212 modules/dbquery \
1213 modules/dbrelation \
1215 modules/dbreport \
1216 $(call gb_Helper_optional,DBCONNECTIVITY,\
1217 modules/dbtable \
1218 modules/dbtdata \
1220 modules/sabpilot \
1221 $(call gb_Helper_optional,DBCONNECTIVITY,modules/sbibliography) \
1222 modules/scalc \
1223 modules/scanner \
1224 modules/schart \
1225 modules/sdraw \
1226 modules/sglobal \
1227 modules/simpress \
1228 modules/smath \
1229 $(call gb_Helper_optional,DBCONNECTIVITY,modules/spropctrlr) \
1230 modules/StartModule \
1231 modules/sweb \
1232 modules/swform \
1233 modules/swreport \
1234 modules/swriter \
1235 modules/swxform \
1236 sfx \
1237 svt \
1238 svx \
1239 uui \
1240 vcl \
1241 writerperfect \
1242 $(if $(ENABLE_NSS)$(ENABLE_OPENSSL),xmlsec) \
1245 ifeq ($(gb_GBUILDSELFTEST),t)
1246 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,ooo, gbuildselftestdep gbuildselftest))
1247 $(eval $(call gb_Helper_register_executables,NONE, gbuildselftestexe))
1248 endif
1250 # vim: set noet sw=4 ts=4: