vcl: Create HFNT on WinFontFace when needed
[LibreOffice.git] / Repository.mk
blobf1fe292936e3773bfce0dcb687d7b1a8869d003c
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 $(if $(and $(ENABLE_GTK3), $(filter LINUX %BSD SOLARIS,$(OS))), gtktiledviewer) \
85 $(if $(filter EMSCRIPTEN,$(OS)),wasm-qt5-mandelbrot) \
88 $(eval $(call gb_Helper_register_executables_for_install,SDK,sdk, \
89 $(if $(filter MSC,$(COM)),$(if $(filter-out AARCH64,$(CPUNAME)),climaker)) \
90 cppumaker \
91 javamaker \
92 $(call gb_CondExeSp2bv,sp2bv) \
93 $(if $(filter ODK,$(BUILD_TYPE)),unoapploader) \
94 unoidl-read \
95 unoidl-write \
96 $(if $(filter ODK,$(BUILD_TYPE)),uno-skeletonmaker) \
99 ifneq ($(ENABLE_WASM_STRIP_ACCESSIBILITY),TRUE)
100 $(eval $(call gb_Helper_register_executables_for_install,OOO,brand, \
101 $(if $(filter-out ANDROID HAIKU iOS MACOSX WNT,$(OS)),oosplash) \
103 endif
105 $(eval $(call gb_Helper_register_executables_for_install,OOO,brand, \
106 $(if $(ENABLE_ONLINE_UPDATE_MAR),\
107 mar \
108 $(if $(filter WNT,$(OS)), \
109 update_service \
111 updater )\
112 $(call gb_Helper_optional,BREAKPAD,minidump_upload) \
113 $(call gb_Helper_optional,FUZZERS,wmffuzzer) \
114 $(call gb_Helper_optional,FUZZERS,jpgfuzzer) \
115 $(call gb_Helper_optional,FUZZERS,giffuzzer) \
116 $(call gb_Helper_optional,FUZZERS,xbmfuzzer) \
117 $(call gb_Helper_optional,FUZZERS,xpmfuzzer) \
118 $(call gb_Helper_optional,FUZZERS,pngfuzzer) \
119 $(call gb_Helper_optional,FUZZERS,bmpfuzzer) \
120 $(call gb_Helper_optional,FUZZERS,svmfuzzer) \
121 $(call gb_Helper_optional,FUZZERS,pcdfuzzer) \
122 $(call gb_Helper_optional,FUZZERS,dxffuzzer) \
123 $(call gb_Helper_optional,FUZZERS,metfuzzer) \
124 $(call gb_Helper_optional,FUZZERS,ppmfuzzer) \
125 $(call gb_Helper_optional,FUZZERS,psdfuzzer) \
126 $(call gb_Helper_optional,FUZZERS,epsfuzzer) \
127 $(call gb_Helper_optional,FUZZERS,pctfuzzer) \
128 $(call gb_Helper_optional,FUZZERS,pcxfuzzer) \
129 $(call gb_Helper_optional,FUZZERS,rasfuzzer) \
130 $(call gb_Helper_optional,FUZZERS,tgafuzzer) \
131 $(call gb_Helper_optional,FUZZERS,tiffuzzer) \
132 $(call gb_Helper_optional,FUZZERS,hwpfuzzer) \
133 $(call gb_Helper_optional,FUZZERS,602fuzzer) \
134 $(call gb_Helper_optional,FUZZERS,lwpfuzzer) \
135 $(call gb_Helper_optional,FUZZERS,olefuzzer) \
136 $(call gb_Helper_optional,FUZZERS,pptfuzzer) \
137 $(call gb_Helper_optional,FUZZERS,rtffuzzer) \
138 $(call gb_Helper_optional,FUZZERS,cgmfuzzer) \
139 $(call gb_Helper_optional,FUZZERS,ww2fuzzer) \
140 $(call gb_Helper_optional,FUZZERS,ww6fuzzer) \
141 $(call gb_Helper_optional,FUZZERS,ww8fuzzer) \
142 $(call gb_Helper_optional,FUZZERS,qpwfuzzer) \
143 $(call gb_Helper_optional,FUZZERS,slkfuzzer) \
144 $(call gb_Helper_optional,FUZZERS,fodtfuzzer) \
145 $(call gb_Helper_optional,FUZZERS,fodsfuzzer) \
146 $(call gb_Helper_optional,FUZZERS,fodpfuzzer) \
147 $(call gb_Helper_optional,FUZZERS,xlsfuzzer) \
148 $(call gb_Helper_optional,FUZZERS,scrtffuzzer) \
149 $(call gb_Helper_optional,FUZZERS,wksfuzzer) \
150 $(call gb_Helper_optional,FUZZERS,diffuzzer) \
151 $(call gb_Helper_optional,FUZZERS,docxfuzzer) \
152 $(call gb_Helper_optional,FUZZERS,xlsxfuzzer) \
153 $(call gb_Helper_optional,FUZZERS,pptxfuzzer) \
154 $(call gb_Helper_optional,FUZZERS,mmlfuzzer) \
155 $(call gb_Helper_optional,FUZZERS,mtpfuzzer) \
156 $(call gb_Helper_optional,FUZZERS,htmlfuzzer) \
157 $(call gb_Helper_optional,FUZZERS,sftfuzzer) \
158 $(call gb_Helper_optional,FUZZERS,dbffuzzer) \
159 $(call gb_Helper_optional,FUZZERS,webpfuzzer) \
160 $(call gb_Helper_optional,FUZZERS,lockfuzzer) \
161 soffice_bin \
162 $(call gb_CondExeUnopkg, \
163 unopkg_bin \
164 $(if $(filter WNT,$(OS)), \
165 unopkg \
166 unopkg_com \
169 $(if $(filter WNT,$(OS)), \
170 soffice_exe \
171 soffice_com \
172 soffice_safe \
173 unoinfo \
174 $(if $(filter-out AARCH64,$(CPUNAME)),twain32shim) \
178 $(eval $(call gb_Helper_register_executables_for_install,OOO,base_brand, \
179 $(if $(filter WNT,$(OS)), \
180 sbase \
184 $(eval $(call gb_Helper_register_executables_for_install,OOO,base, \
185 $(if $(filter WNT,$(OS)), \
186 odbcconfig \
190 $(eval $(call gb_Helper_register_executables_for_install,OOO,calc_brand, \
191 $(if $(filter WNT,$(OS)), \
192 scalc \
196 $(eval $(call gb_Helper_register_executables_for_install,OOO,draw_brand, \
197 $(if $(filter WNT,$(OS)), \
198 sdraw \
202 $(eval $(call gb_Helper_register_executables_for_install,OOO,impress_brand, \
203 $(if $(filter WNT,$(OS)), \
204 simpress \
208 $(eval $(call gb_Helper_register_executables_for_install,OOO,math_brand, \
209 $(if $(filter WNT,$(OS)), \
210 smath \
214 $(eval $(call gb_Helper_register_executables_for_install,OOO,writer_brand, \
215 $(if $(filter WNT,$(OS)), \
216 sweb \
217 swriter \
221 $(eval $(call gb_Helper_register_executables_for_install,OOO,ooo, \
222 gengal \
223 $(if $(filter WNT,$(OS)),,uri-encode) \
224 $(if $(filter WNT,$(OS)), \
225 senddoc \
227 $(if $(filter OPENCL,$(BUILD_TYPE)),opencltest) \
230 ifeq ($(OS),WNT)
231 $(eval $(call gb_Helper_register_executables_for_install,OOO,quickstart, \
232 quickstart \
234 endif
236 $(eval $(call gb_Helper_register_executables_for_install,OOO,python, \
237 $(if $(filter WNT,$(OS)), \
238 python \
242 ifneq ($(ENABLE_POPPLER),)
243 $(eval $(call gb_Helper_register_executables_for_install,OOO,pdfimport, \
244 xpdfimport \
246 endif
248 $(eval $(call gb_Helper_register_executables_for_install,UREBIN,ure,\
249 $(if $(and $(ENABLE_JAVA),$(filter-out HAIKU MACOSX WNT,$(OS)),$(filter DESKTOP,$(BUILD_TYPE))),javaldx) \
250 $(call gb_CondExeRegistryTools, \
251 regview \
253 $(call gb_CondExeUno,uno) \
256 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,base, \
257 abp \
258 dbp \
259 dbu \
262 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,calc, \
263 analysis \
264 $(call gb_Helper_optional,DBCONNECTIVITY,calc) \
265 date \
266 pricing \
267 sc \
268 scd \
269 scfilt \
270 wpftcalc \
271 solver \
272 $(call gb_Helper_optional,SCRIPTING,vbaobj) \
275 $(eval $(call gb_Helper_register_plugins_for_install,OOOLIBS,calc, \
276 scui \
279 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,graphicfilter, \
280 svgfilter \
281 wpftdraw \
282 graphicfilter \
285 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,impress, \
286 animcore \
287 PresenterScreen \
288 PresentationMinimizer \
289 wpftimpress \
292 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,onlineupdate, \
293 $(if $(ENABLE_ONLINE_UPDATE), \
294 updatecheckui \
295 updchk \
299 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,gnome, \
300 $(if $(ENABLE_EVOAB2),evoab) \
301 $(if $(ENABLE_GIO),losessioninstall) \
302 $(if $(ENABLE_GIO),ucpgio1) \
305 $(eval $(call gb_Helper_register_plugins_for_install,OOOLIBS,gnome, \
306 $(if $(ENABLE_GTK3),vclplug_gtk3) \
307 $(if $(ENABLE_GTK4),vclplug_gtk4) \
310 gb_haiku_or_kde := $(if $(filter HAIKU,$(OS)),haiku,kde)
312 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,kde, \
313 $(if $(ENABLE_KF5),kf5be1) \
316 $(eval $(call gb_Helper_register_plugins_for_install,OOOLIBS,$(gb_haiku_or_kde), \
317 $(if $(ENABLE_KF5),vclplug_kf5) \
318 $(if $(ENABLE_QT5),vclplug_qt5) \
319 $(if $(ENABLE_QT6),vclplug_qt6) \
320 $(if $(ENABLE_GTK3_KDE5),vclplug_gtk3_kde5) \
323 $(eval $(call gb_Helper_register_executables_for_install,OOO,$(gb_haiku_or_kde), \
324 $(if $(ENABLE_GTK3_KDE5),lo_kde5filepicker) \
327 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,math, \
328 sm \
329 smd \
332 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,ogltrans, \
333 OGLTrans \
336 ifneq ($(ENABLE_WASM_STRIP_CANVAS),TRUE)
337 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,ooo, \
338 canvastools \
339 $(if $(ENABLE_CAIRO_CANVAS),cairocanvas) \
340 canvasfactory \
341 cppcanvas \
342 $(if $(filter WNT,$(OS)),directx9canvas) \
343 $(if $(ENABLE_OPENGL_CANVAS),oglcanvas) \
344 $(if $(filter WNT,$(OS)),gdipluscanvas) \
345 simplecanvas \
346 vclcanvas \
348 endif
350 ifneq ($(ENABLE_WASM_STRIP_GUESSLANG),TRUE)
351 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,ooo, \
352 guesslang \
354 endif
356 ifneq ($(ENABLE_WASM_STRIP_HUNSPELL),TRUE)
357 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,ooo, \
358 hyphen \
359 lnth \
360 spell \
361 $(if $(filter iOS MACOSX,$(OS)), \
362 MacOSXSpell \
365 endif
367 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,ooo, \
368 avmedia \
369 LanguageTool \
370 $(call gb_Helper_optional,AVMEDIA, \
371 $(if $(filter MACOSX,$(OS)),\
372 avmediaMacAVF \
375 $(call gb_Helper_optional,SCRIPTING, \
376 basctl \
377 basprov \
379 basegfx \
380 bib \
381 chartcore \
382 chartcontroller \
383 $(call gb_Helper_optional,OPENCL,clew) \
384 $(if $(filter $(OS),WNT),,cmdmail) \
385 configmgr \
386 ctl \
387 dba \
388 dbahsql \
389 $(call gb_Helper_optional,DBCONNECTIVITY, \
390 dbase \
391 dbaxml) \
392 dbtools \
393 deploymentmisc \
394 $(if $(filter-out MACOSX WNT,$(OS)),desktopbe1) \
395 $(call gb_Helper_optional,SCRIPTING,dlgprov) \
396 drawinglayercore \
397 drawinglayer \
398 editeng \
399 $(if $(filter WNT,$(OS)),emser) \
400 evtatt \
401 expwrap \
402 $(call gb_Helper_optional,DBCONNECTIVITY, \
403 flat \
404 file) \
405 filterconfig \
406 fps_office \
407 for \
408 forui \
409 frm \
410 fsstorage \
411 fwk \
412 $(call gb_Helper_optionals_or,HELPTOOLS XMLHELP,helplinker) \
413 i18npool \
414 i18nsearch \
415 $(if $(ENABLE_JAVA),jdbc) \
416 $(if $(filter WNT,$(OS)),jumplist) \
417 $(if $(ENABLE_LDAP),ldapbe2) \
418 $(if $(filter WNT,$(OS)),WinUserInfoBe) \
419 localebe1 \
420 log \
421 lng \
422 $(if $(filter $(OS),MACOSX),macbe1) \
423 $(if $(MERGELIBS),merged) \
424 migrationoo2 \
425 migrationoo3 \
426 mozbootstrap \
427 msfilter \
428 $(call gb_Helper_optional,SCRIPTING,msforms) \
429 mtfrenderer \
430 $(call gb_Helper_optional,DBCONNECTIVITY,mysql_jdbc) \
431 $(call gb_Helper_optional,MARIADBC,$(call gb_Helper_optional,DBCONNECTIVITY,mysqlc)) \
432 numbertext \
433 odbc \
434 odfflatxml \
435 offacc \
436 oox \
437 $(call gb_Helper_optional,OPENCL,opencl) \
438 passwordcontainer \
439 pcr \
440 pdffilter \
441 $(call gb_Helper_optional,SCRIPTING,protocolhandler) \
442 sax \
443 sb \
444 $(call gb_Helper_optional,DBCONNECTIVITY,sdbt) \
445 scn \
446 sd \
447 sdd \
448 sdfilt \
449 sfx \
450 slideshow \
451 sot \
452 $(if $(or $(DISABLE_GUI),$(ENABLE_WASM_STRIP_SPLASH)),,spl) \
453 storagefd \
454 $(call gb_Helper_optional,SCRIPTING,stringresource) \
455 svgio \
456 emfio \
457 svl \
458 svt \
459 svx \
460 svxcore \
461 sw \
462 syssh \
463 textconversiondlgs \
464 textfd \
465 tk \
466 tl \
467 ucpexpand1 \
468 ucpext \
469 ucpimage \
470 $(if $(ENABLE_LIBCMIS),ucpcmis1) \
471 ucptdoc1 \
472 unordf \
473 unoxml \
474 updatefeed \
475 utl \
476 uui \
477 $(call gb_Helper_optional,SCRIPTING, \
478 vbaevents \
479 vbahelper \
481 vcl \
482 writerperfect \
483 xmlscript \
484 xmlfa \
485 xmlfd \
486 xo \
487 xof \
488 xsltdlg \
489 xsltfilter \
490 $(if $(filter $(OS),WNT), \
491 ado \
492 oleautobridge \
493 smplmail \
494 wininetbe1 \
496 $(if $(filter $(OS),MACOSX), \
497 $(if $(ENABLE_MACOSX_SANDBOX),, \
498 AppleRemote \
500 fps_aqua \
504 $(eval $(call gb_Helper_register_plugins_for_install,OOOLIBS,ooo, \
505 acc \
506 $(if $(ENABLE_CUSTOMTARGET_COMPONENTS),components) \
507 cui \
508 $(if $(USING_X11),desktop_detector) \
509 icg \
510 sdui \
511 $(if $(ENABLE_GEN),vclplug_gen) \
512 $(if $(filter $(OS),WNT),vclplug_win) \
513 $(if $(filter $(OS),MACOSX),vclplug_osx) \
516 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,postgresqlsdbc, \
517 $(if $(BUILD_POSTGRESQL_SDBC), \
518 postgresql-sdbc \
519 postgresql-sdbc-impl) \
522 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,firebirdsdbc, \
523 $(if $(ENABLE_FIREBIRD_SDBC),firebird_sdbc) \
526 ifneq ($(ENABLE_PDFIMPORT),)
527 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,pdfimport, \
528 pdfimport \
530 endif
532 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,python, \
533 pythonloader \
536 $(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_OOO,python, \
537 pyuno \
538 $(if $(filter-out WNT,$(OS)),pyuno_wrapper) \
541 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,reportbuilder, \
542 rpt \
543 rptui \
544 rptxml \
547 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,writer, \
548 hwp \
549 $(if $(ENABLE_LWP),lwpft) \
550 msword \
551 swd \
552 t602filter \
553 $(call gb_Helper_optional,SCRIPTING,vbaswobj) \
554 wpftwriter \
555 writerfilter \
556 $(call gb_Helper_optional,DBCONNECTIVITY,writer) \
559 $(eval $(call gb_Helper_register_plugins_for_install,OOOLIBS,writer, \
560 swui \
563 # cli_cppuhelper is NONE even though it is actually in URE because it is CliNativeLibrary
564 $(eval $(call gb_Helper_register_libraries,PLAINLIBS_NONE, \
565 smoketest \
566 subsequenttest \
567 test \
568 test-setupvcl \
569 testtools_cppobj \
570 testtools_bridgetest \
571 testtools_bridgetest-common \
572 testtools_constructors \
573 unobootstrapprotector \
574 unoexceptionprotector \
575 unotest \
576 vclbootstrapprotector \
577 scqahelper \
578 swqahelper \
579 wpftqahelper \
580 precompiled_system \
581 $(if $(filter MSC,$(COM)),cli_cppuhelper) \
582 $(if $(filter $(OS),ANDROID),lo-bootstrap) \
583 $(if $(filter $(OS),MACOSX),OOoSpotlightImporter) \
586 $(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_URE,ure, \
587 affine_uno_uno \
588 $(if $(filter MSC,$(COM)),$(if $(filter-out AARCH64,$(CPUNAME)),cli_uno)) \
589 i18nlangtag \
590 $(if $(ENABLE_JAVA), \
591 java_uno \
592 jpipe \
593 $(if $(filter $(OS),WNT),jpipx) \
594 juh \
595 juhx \
597 log_uno_uno \
598 unsafe_uno_uno \
601 $(eval $(call gb_Helper_register_plugins_for_install,PLAINLIBS_URE,ure, \
602 $(if $(filter MSC,$(COM)), \
603 $(if $(filter INTEL,$(CPUNAME)),msci_uno) \
604 $(if $(filter X86_64,$(CPUNAME)),mscx_uno) \
605 $(if $(filter AARCH64,$(CPUNAME)),msca_uno) \
606 , gcc3_uno) \
609 $(eval $(call gb_Helper_register_libraries_for_install,PRIVATELIBS_URE,ure, \
610 binaryurp \
611 bootstrap \
612 introspection \
613 invocadapt \
614 invocation \
615 io \
616 $(if $(ENABLE_JAVA),javaloader) \
617 $(if $(ENABLE_JAVA),javavm) \
618 $(if $(ENABLE_JAVA),jvmaccess) \
619 $(if $(ENABLE_JAVA),jvmfwk) \
620 namingservice \
621 proxyfac \
622 reflection \
623 reg \
624 stocservices \
625 store \
626 unoidl \
627 uuresolver \
628 xmlreader \
631 $(eval $(call gb_Helper_register_plugins_for_install,PRIVATELIBS_URE,ure, \
632 $(call gb_CondLibSalTextenc,sal_textenc) \
635 ifneq ($(ENABLE_WASM_STRIP_ACCESSIBILITY),TRUE)
636 $(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_OOO,ooo, \
637 $(if $(filter WNT,$(OS)), \
638 winaccessibility \
641 endif
643 $(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_OOO,ooo, \
644 $(call gb_Helper_optional,AVMEDIA, \
645 $(if $(ENABLE_GSTREAMER_1_0),avmediagst) \
646 $(if $(ENABLE_GTK4),avmediagtk) \
647 $(if $(filter WNT,$(OS)),avmediawin) \
649 cached1 \
650 comphelper \
651 $(call gb_Helper_optional,DBCONNECTIVITY,dbpool2) \
652 $(call gb_Helper_optional,BREAKPAD,crashreport) \
653 deployment \
654 deploymentgui \
655 embobj \
656 $(if $(ENABLE_JAVA),hsqldb) \
657 i18nutil \
658 $(if $(and $(ENABLE_GTK3), $(filter LINUX %BSD SOLARIS,$(OS))), libreofficekitgtk) \
659 $(if $(ENABLE_JAVA), \
660 $(if $(filter $(OS),MACOSX),,officebean) \
662 emboleobj \
663 package2 \
664 $(call gb_Helper_optional,SCRIPTING,scriptframe) \
665 sdbc2 \
666 sofficeapp \
667 srtrs1 \
668 ucb1 \
669 ucbhelper \
670 $(if $(WITH_WEBDAV),ucpdav1) \
671 ucpfile1 \
672 ucpftp1 \
673 $(call gb_Helper_optional,XMLHELP,ucpchelp1) \
674 ucphier1 \
675 ucppkg1 \
676 $(call gb_CondExeUnopkg,unopkgapp) \
677 xmlsecurity \
678 xsec_xmlsec \
679 xstor \
680 $(if $(filter $(OS),MACOSX), \
681 macab1 \
682 macabdrv1 \
684 $(if $(filter WNT,$(OS)), \
685 fps \
686 inprocserv \
687 UAccCOM \
691 $(eval $(call gb_Helper_register_plugins_for_install,PLAINLIBS_OOO,ooo, \
692 collator_data \
693 dict_ja \
694 dict_zh \
695 index_data \
696 localedata_en \
697 localedata_es \
698 localedata_euro \
699 localedata_others \
700 textconv_dict \
703 ifeq ($(OS),WNT)
704 $(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_OOO,activexbinarytable, \
705 regactivex \
708 $(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_OOO,activex, \
709 so_activex \
712 ifneq ($(BUILD_X64),)
713 $(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_OOO,activexwin64, \
714 so_activex_x64 \
716 endif
718 $(eval $(call gb_Helper_register_executables_for_install,OOO,spsuppfiles, \
719 spsupp_helper \
722 $(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_OOO,spsuppfiles, \
723 $(if $(CXX_X64_BINARY),spsupp_x64) \
724 $(if $(CXX_X86_BINARY),spsupp_x86) \
727 $(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_OOO,ooobinarytable, \
728 $(if $(WINDOWS_SDK_HOME),\
729 instooofiltmsi \
730 inst_msu_msi \
731 qslnkmsi \
732 reg_dlls \
733 reg4allmsdoc \
734 sdqsmsi \
735 sellangmsi \
736 sn_tools \
740 $(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_OOO,winexplorerextbinarytable, \
741 shlxtmsi \
744 $(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_SHLXTHDL,winexplorerext, \
745 ooofilt \
746 propertyhdl \
747 shlxthdl \
750 ifneq ($(BUILD_X64),)
751 $(eval $(call gb_Helper_register_packages_for_install,winexplorerextwin64, \
752 $(if $(filter MSC,$(COM)),msvc_dlls) \
755 $(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_SHLXTHDL,winexplorerextwin64, \
756 ooofilt_x64 \
757 propertyhdl_x64 \
758 shlxthdl_x64 \
760 endif # BUILD_X64
762 endif # WNT
764 $(eval $(call gb_Helper_register_libraries_for_install,RTVERLIBS,ure, \
765 cppuhelper \
766 purpenvhelper \
767 salhelper \
770 $(eval $(call gb_Helper_register_libraries_for_install,UNOVERLIBS,ure, \
771 cppu \
772 sal \
775 $(eval $(call gb_Helper_register_libraries,EXTENSIONLIBS, \
776 active_native \
777 passive_native \
778 crashextension \
781 ifneq ($(ENABLE_JAVA),)
782 $(eval $(call gb_Helper_register_jars_for_install,URE,ure, \
783 java_uno \
784 juh \
785 jurt \
786 libreoffice \
787 ridl \
788 unoloader \
791 $(eval $(call gb_Helper_register_jars_for_install,OOO,ooo, \
792 ScriptFramework \
793 ScriptProviderForJava \
794 XMergeBridge \
795 commonwizards \
796 form \
797 $(if $(filter-out MACOSX,$(OS)),officebean) \
798 query \
799 report \
800 sdbc_hsqldb \
801 smoketest \
802 table \
803 unoil \
804 xmerge \
807 $(eval $(call gb_Helper_register_jars_for_install,OOO,reportbuilder, \
808 reportbuilder \
809 reportbuilderwizard \
812 ifneq ($(ENABLE_SCRIPTING_BEANSHELL),)
813 $(eval $(call gb_Helper_register_jars_for_install,OOO,extensions_bsh, \
814 ScriptProviderForBeanShell \
816 endif
818 ifneq ($(ENABLE_SCRIPTING_JAVASCRIPT),)
819 $(eval $(call gb_Helper_register_jars_for_install,OOO,extensions_rhino, \
820 ScriptProviderForJavaScript \
822 endif
824 ifeq (NUMBERTEXT,$(filter NUMBERTEXT,$(BUILD_TYPE)))
825 $(eval $(call gb_Helper_register_packages_for_install,extensions_numbertext,\
826 numbertext \
828 endif
830 $(eval $(call gb_Helper_register_jars,OXT, \
831 EvolutionarySolver \
832 active_java \
833 mediawiki \
834 nlpsolver \
835 passive_java \
838 $(eval $(call gb_Helper_register_jars,NONE,\
839 ConnectivityTools \
840 HelloWorld \
841 Highlight \
842 MemoryUsage \
843 OOoRunner \
844 TestExtension \
845 test \
846 test-tools \
847 testComponent \
849 endif
851 # 'test_unittest' is only package delivering to workdir.
852 # Other packages could be potentially autoinstalled.
853 $(eval $(call gb_Helper_register_packages, \
854 test_unittest \
855 cli_basetypes_copy \
856 extras_wordbook \
857 instsetoo_native_setup \
858 $(if $(ENABLE_OOENV),instsetoo_native_ooenv) \
859 postprocess_registry \
860 readlicense_oo_readmes \
861 setup_native_misc \
862 sysui_share \
863 vcl_fontunxpsprint \
866 $(eval $(call gb_Helper_register_packages_for_install,impress,\
867 sd_xml \
870 $(eval $(call gb_Helper_register_packages_for_install,calc,\
871 sc_res_xml \
874 $(eval $(call gb_Helper_register_packages_for_install,libreofficekit,\
875 $(if $(filter LINUX %BSD SOLARIS, $(OS)),libreofficekit_selectionhandles) \
878 $(eval $(call gb_Helper_register_packages_for_install,ure,\
879 instsetoo_native_setup_ure \
880 $(call gb_CondExeUno,uno_sh) \
881 ure_install \
882 $(if $(ENABLE_JAVA),\
883 jvmfwk_jvmfwk3_ini \
884 jvmfwk_javavendors \
885 jvmfwk_jreproperties \
886 $(if $(filter MACOSX,$(OS)),bridges_jnilib_java_uno) \
890 $(eval $(call gb_Helper_register_packages_for_install,postgresqlsdbc,\
891 $(if $(BUILD_POSTGRESQL_SDBC),connectivity_postgresql-sdbc) \
894 $(eval $(call gb_Helper_register_packages_for_install,sdk,\
895 odk_share_readme \
896 odk_share_readme_generated \
897 $(if $(filter WNT,$(OS)),$(if $(filter-out AARCH64,$(CPUNAME)),odk_cli)) \
898 odk_config \
899 $(if $(filter WNT,$(OS)),odk_config_win) \
900 odk_docs \
901 $(if $(DOXYGEN),odk_doxygen) \
902 odk_examples \
903 odk_headers \
904 odk_headers_generated \
905 odk_html \
906 odk_settings \
907 odk_settings_generated \
908 $(if $(ENABLE_JAVA), \
909 odk_javadoc \
910 odk_uno_loader_classes \
914 ifneq ($(ENABLE_WASM_STRIP_PINGUSER),TRUE)
915 $(eval $(call gb_Helper_register_packages_for_install,ooo,\
916 tipoftheday_images \
918 endif
920 ifneq ($(ENABLE_WASM_STRIP_CANVAS),TRUE)
921 $(eval $(call gb_Helper_register_packages_for_install,ooo,\
922 $(if $(ENABLE_OPENGL_CANVAS),canvas_opengl_shader) \
924 endif
926 $(eval $(call gb_Helper_register_packages_for_install,ooo,\
927 $(if $(SYSTEM_LIBEXTTEXTCAT),,libexttextcat_fingerprint) \
928 officecfg_misc \
929 $(if $(filter $(OS),MACOSX), \
930 extensions_mdibundle \
931 extensions_OOoSpotlightImporter \
933 extras_autocorr \
934 extras_autotextuser \
935 extras_cfgsrvnolang \
936 extras_cfgusr \
937 extras_database \
938 extras_databasebiblio \
939 extras_gallbullets \
940 extras_gallmytheme \
941 extras_gallroot \
942 extras_gallsystem \
943 extras_gallsystemstr \
944 extras_glade \
945 extras_labels \
946 $(if $(filter WNT,$(OS)),extras_newfiles) \
947 extras_palettes \
948 extras_personas \
949 extras_persona_dark \
950 extras_persona_gray \
951 extras_persona_green \
952 extras_persona_pink \
953 extras_persona_sand \
954 extras_persona_white \
955 extras_tplofficorr \
956 extras_tploffimisc \
957 extras_tplpresnt \
958 extras_tpl_styles \
959 extras_tpldraw \
960 extras_tplpersonal \
961 extras_tplwizbitmap \
962 extras_tplwizdesktop \
963 extras_tplwizletter \
964 extras_tplwizfax \
965 extras_tplwizagenda \
966 extras_tplwizreport \
967 extras_tplwizstyles \
968 framework_dtd \
969 $(if $(filter $(OS),MACOSX),infoplist) \
970 oox_customshapes \
971 oox_generated \
972 package_dtd \
973 sd_web \
974 sfx2_emojiconfig \
975 $(call gb_Helper_optional,DESKTOP,\
976 $(if $(filter-out WNT,$(OS)),$(if $(ENABLE_MACOSX_SANDBOX),,shell_senddoc))) \
977 $(call gb_Helper_optional,DESKTOP,$(if $(filter-out EMSCRIPTEN MACOSX WNT,$(OS)),svx_gengal)) \
978 $(if $(USING_X11),vcl_fontunxppds) \
979 $(if $(filter $(OS),MACOSX),vcl_osxres) \
980 xmloff_dtd \
981 xmlscript_dtd \
982 $(call gb_Helper_optional,XMLHELP,xmlhelp_helpxsl) \
983 $(if $(ENABLE_JAVA),\
984 scripting_java \
985 scripting_java_jars \
986 $(if $(ENABLE_SCRIPTING_BEANSHELL),scripting_ScriptsBeanShell) \
987 $(if $(ENABLE_SCRIPTING_JAVASCRIPT),scripting_ScriptsJavaScript) \
989 $(call gb_Helper_optional,SCRIPTING,scripting_scriptbindinglib) \
990 $(if $(filter $(OS),MACOSX),sysui_osxicons) \
991 wizards_basicshare \
992 wizards_basicsrvaccess2base \
993 wizards_basicsrvdepot \
994 wizards_basicsrveuro \
995 wizards_basicsrvgimmicks \
996 wizards_basicsrvimport \
997 wizards_basicsrvform \
998 wizards_basicsrvscriptforge \
999 wizards_basicsrvsfdatabases \
1000 wizards_basicsrvsfdialogs \
1001 wizards_basicsrvsfdocuments \
1002 wizards_basicsrvsfunittests \
1003 wizards_basicsrvsfwidgets \
1004 wizards_basicsrvstandard \
1005 wizards_basicsrvtemplate \
1006 wizards_basicsrvtools \
1007 wizards_basicsrvtutorials \
1008 wizards_basicusr \
1009 wizards_properties \
1010 wizards_wizardshare \
1011 toolbarmode_images \
1012 vcl_theme_definitions \
1013 $(if $(filter WNT,$(OS)), \
1014 vcl_opengl_denylist \
1016 $(if $(filter SKIA,$(BUILD_TYPE)), \
1017 vcl_skia_denylist ) \
1018 $(if $(DISABLE_PYTHON),,$(if $(filter-out AIX,$(OS)), \
1019 Pyuno/commonwizards \
1020 Pyuno/fax \
1021 Pyuno/letter \
1022 Pyuno/agenda \
1023 Pyuno/mailmerge \
1024 )) \
1025 sfx2_classification \
1026 $(if $(filter OPENCL,$(BUILD_TYPE)),sc_opencl_runtimetest) \
1027 $(if $(ENABLE_HTMLHELP),\
1028 helpcontent2_html_dynamic \
1029 helpcontent2_html_media \
1030 helpcontent2_html_icon-themes \
1031 helpcontent2_html_static \
1033 resource_fonts \
1034 cui \
1037 $(eval $(call gb_Helper_register_packages_for_install,ooo_fonts,\
1038 extras_fonts \
1039 $(if $(USING_X11)$(DISABLE_GUI)$(filter ANDROID EMSCRIPTEN,$(OS)), \
1040 postprocess_fontconfig) \
1041 $(call gb_Helper_optional,MORE_FONTS,\
1042 fonts_alef \
1043 fonts_amiri \
1044 fonts_caladea \
1045 fonts_carlito \
1046 $(if $(MPL_SUBSET),,fonts_culmus) \
1047 fonts_dejavu \
1048 fonts_emojione_color \
1049 fonts_gentium \
1050 $(if $(MPL_SUBSET),,fonts_kacst) \
1051 fonts_liberation \
1052 fonts_liberation_narrow \
1053 fonts_libertineg \
1054 fonts_libre_hebrew \
1055 fonts_noto \
1056 fonts_reem \
1057 fonts_sourcecode \
1058 fonts_sourcesans \
1059 fonts_sourceserif \
1060 fonts_scheherazade \
1064 $(eval $(call gb_Helper_register_packages_for_install,ooo_images,\
1065 postprocess_images \
1066 $(call gb_Helper_optional,HELP,helpcontent2_helpimages) \
1069 $(eval $(call gb_Helper_register_packages_for_install,ogltrans,\
1070 sd_opengl \
1071 slideshow_opengl_shader \
1074 ifneq ($(ENABLE_POPPLER),)
1075 $(eval $(call gb_Helper_register_packages_for_install,pdfimport, \
1076 sdext_pdfimport_pdf \
1078 endif
1080 $(eval $(call gb_Helper_register_packages_for_install,reportbuilder,\
1081 reportbuilder_templates \
1084 $(eval $(call gb_Helper_register_packages_for_install,xsltfilter,\
1085 filter_docbook \
1086 filter_xhtml \
1087 filter_xslt \
1090 $(eval $(call gb_Helper_register_packages_for_install,brand,\
1091 desktop_branding \
1092 $(if $(CUSTOM_BRAND_DIR),desktop_branding_custom) \
1093 $(if $(filter DESKTOP,$(BUILD_TYPE)),desktop_scripts_install) \
1094 $(if $(and $(filter-out EMSCRIPTEN HAIKU MACOSX WNT,$(OS)),$(filter DESKTOP,$(BUILD_TYPE))),\
1095 $(if $(DISABLE_GUI),, \
1096 desktop_soffice_sh \
1099 readlicense_oo_files \
1100 readlicense_oo_license \
1101 $(call gb_Helper_optional,DESKTOP,setup_native_packinfo) \
1104 ifeq ($(USING_X11), TRUE)
1105 $(eval $(call gb_Helper_register_packages_for_install,base_brand,\
1106 desktop_sbase_sh \
1109 $(eval $(call gb_Helper_register_packages_for_install,calc_brand,\
1110 desktop_scalc_sh \
1113 $(eval $(call gb_Helper_register_packages_for_install,draw_brand,\
1114 desktop_sdraw_sh \
1117 $(eval $(call gb_Helper_register_packages_for_install,impress_brand,\
1118 desktop_simpress_sh \
1121 $(eval $(call gb_Helper_register_packages_for_install,math_brand,\
1122 desktop_smath_sh \
1125 $(eval $(call gb_Helper_register_packages_for_install,writer_brand,\
1126 desktop_swriter_sh \
1128 endif # USING_X11=TRUE
1130 $(eval $(call gb_Helper_register_packages_for_install,onlineupdate,\
1131 $(if $(ENABLE_ONLINE_UPDATE),$(if $(filter LINUX SOLARIS,$(OS)),setup_native_scripts)) \
1134 ifneq ($(DISABLE_PYTHON),TRUE)
1135 $(eval $(call gb_Helper_register_packages_for_install,python, \
1136 pyuno_pythonloader_ini \
1137 pyuno_python_scripts \
1138 $(if $(SYSTEM_PYTHON),,$(if $(filter-out WNT,$(OS)),python_shell)) \
1139 scripting_ScriptsPython \
1142 $(eval $(call gb_Helper_register_packages_for_install,python_scriptprovider, \
1143 scripting_scriptproviderforpython \
1146 ifeq (LIBRELOGO,$(filter LIBRELOGO,$(BUILD_TYPE)))
1147 $(eval $(call gb_Helper_register_packages_for_install,python_librelogo, \
1148 librelogo \
1149 librelogo_properties \
1151 endif # LIBRELOGO
1153 endif # DISABLE_PYTHON
1155 # External executables
1156 $(eval $(call gb_ExternalExecutable_register_executables,\
1157 genbrk \
1158 genccode \
1159 gencmn \
1160 python \
1161 xmllint \
1162 xsltproc \
1165 # Resources
1166 $(eval $(call gb_Helper_register_mos,\
1167 acc \
1168 $(call gb_Helper_optional,AVMEDIA,avmedia) \
1169 $(call gb_Helper_optional,SCRIPTING,basctl) \
1170 chart \
1171 cnr \
1172 cui \
1173 dba \
1174 dkt \
1175 editeng \
1176 flt \
1177 for \
1178 $(call gb_Helper_optional,DESKTOP,fps) \
1179 frm \
1180 fwk \
1181 oox \
1182 pcr \
1183 rpt \
1184 $(call gb_Helper_optional,SCRIPTING,sb) \
1185 sc \
1186 sca \
1187 scc \
1188 sd \
1189 sfx \
1190 shell \
1191 sm \
1192 svl \
1193 svt \
1194 svx \
1195 sw \
1196 uui \
1197 vcl \
1198 wiz \
1199 wpt \
1200 $(if $(ENABLE_NSS)$(ENABLE_OPENSSL),xsc) \
1203 # UI configuration
1204 ifneq ($(ENABLE_WASM_STRIP_DBACCESS),TRUE)
1205 $(eval $(call gb_Helper_register_uiconfigs,\
1206 $(call gb_Helper_optional,DBCONNECTIVITY,dbaccess) \
1208 endif
1210 $(eval $(call gb_Helper_register_uiconfigs,\
1211 cui \
1212 desktop \
1213 editeng \
1214 filter \
1215 formula \
1216 fps \
1217 libreofficekit \
1218 $(call gb_Helper_optional,SCRIPTING,modules/BasicIDE) \
1219 $(call gb_Helper_optional,DBCONNECTIVITY,\
1220 modules/dbapp \
1221 modules/dbbrowser \
1222 modules/dbquery \
1223 modules/dbrelation \
1225 modules/dbreport \
1226 $(call gb_Helper_optional,DBCONNECTIVITY,\
1227 modules/dbtable \
1228 modules/dbtdata \
1230 modules/sabpilot \
1231 $(call gb_Helper_optional,DBCONNECTIVITY,modules/sbibliography) \
1232 modules/scalc \
1233 modules/scanner \
1234 modules/schart \
1235 modules/sdraw \
1236 modules/sglobal \
1237 modules/simpress \
1238 modules/smath \
1239 $(call gb_Helper_optional,DBCONNECTIVITY,modules/spropctrlr) \
1240 modules/StartModule \
1241 modules/sweb \
1242 modules/swform \
1243 modules/swreport \
1244 modules/swriter \
1245 modules/swxform \
1246 sfx \
1247 svt \
1248 svx \
1249 uui \
1250 vcl \
1251 writerperfect \
1252 $(if $(ENABLE_NSS)$(ENABLE_OPENSSL),xmlsec) \
1255 ifeq ($(gb_GBUILDSELFTEST),t)
1256 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,ooo, gbuildselftestdep gbuildselftest))
1257 $(eval $(call gb_Helper_register_executables,NONE, gbuildselftestexe))
1258 endif
1260 # vim: set noet sw=4 ts=4: