Repository.mk 26.7 KB
Newer Older
1
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
2
#
3
# This file is part of the LibreOffice project.
4
#
5 6 7
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
8
#
9
# This file incorporates work covered by the following license notice:
10
#
11 12 13 14 15 16 17
#   Licensed to the Apache Software Foundation (ASF) under one or more
#   contributor license agreements. See the NOTICE file distributed
#   with this work for additional information regarding copyright
#   ownership. The ASF licenses this file to you under the Apache
#   License, Version 2.0 (the "License"); you may not use this file
#   except in compliance with the License. You may obtain a copy of
#   the License at http://www.apache.org/licenses/LICENSE-2.0 .
18 19
#

20
$(eval $(call gb_Helper_register_executables,NONE, \
21 22 23 24
	HelpIndexer \
	HelpLinker \
	bestreversemap \
	cfgex \
25
	concat-deps \
26
	cpp \
27
	cppunittester \
28
	gbuildtojson \
29 30 31 32
	$(if $(filter MSC,$(COM)), \
		gcc-wrapper \
		g++-wrapper \
	) \
33 34 35 36 37 38
	gencoll_rule \
	genconv_dict \
	gendict \
	genindex_data \
	helpex \
	idxdict \
39
	langsupport \
40
	$(if $(filter iOS,$(OS)),LibreOffice) \
41
	libtest \
42 43 44
	lngconvex \
	localize \
	makedepend \
45
	mbsdiff \
46 47 48 49
	mork_helper \
	osl_process_child \
	pdf2xml \
	pdfunzip \
50
	pdfverify \
51
	pocheck \
52 53 54 55 56
	propex \
	regsvrex \
	saxparser \
	sp2bv \
	svidl \
57
	$(if $(ENABLE_ONLINE_UPDATE_MAR),\
58 59
		test_updater_dialog \
	) \
60 61
	treex \
	ulfex \
62
	unoidl-read \
63
	unoidl-write \
64
	xrmex \
65
	$(if $(filter-out ANDROID iOS WNT,$(OS)), \
Chris Sherlock's avatar
Chris Sherlock committed
66
        svdemo \
67
        fftester \
Chris Sherlock's avatar
Chris Sherlock committed
68
        svptest \
Caolán McNamara's avatar
Caolán McNamara committed
69
        svpclient ) \
70
	$(if $(filter LINUX %BSD SOLARIS,$(OS)), tilebench) \
71
	$(if $(filter LINUX MACOSX SOLARIS WNT %BSD,$(OS)),icontest \
72 73
	    outdevgrind) \
	vcldemo \
74
	tiledrendering \
75
    mtfdemo \
76
    visualbackendtest \
77
	$(if $(and $(ENABLE_GTK3), $(filter LINUX %BSD SOLARIS,$(OS))), gtktiledviewer) \
78
))
79

80
$(eval $(call gb_Helper_register_executables_for_install,SDK,sdk, \
81
	$(if $(filter MSC,$(COM)),climaker) \
82 83 84
	cppumaker \
	idlc \
	javamaker \
85 86
	$(if $(filter UCPP,$(BUILD_TYPE)),ucpp) \
	$(if $(filter ODK,$(BUILD_TYPE)),unoapploader) \
87
	unoidl-check \
88
	$(if $(filter ODK,$(BUILD_TYPE)),uno-skeletonmaker) \
89 90
))

91
$(eval $(call gb_Helper_register_executables_for_install,OOO,brand, \
92 93
	$(if $(ENABLE_ONLINE_UPDATE_MAR),\
		mar \
94 95 96
		$(if $(filter WNT,$(OS)), \
			update_service \
		) \
97
		updater )\
98
	$(call gb_Helper_optional,BREAKPAD,minidump_upload) \
99
	$(call gb_Helper_optional,FUZZERS,wmffuzzer) \
Caolán McNamara's avatar
Caolán McNamara committed
100
	$(call gb_Helper_optional,FUZZERS,jpgfuzzer) \
Caolán McNamara's avatar
Caolán McNamara committed
101
	$(call gb_Helper_optional,FUZZERS,giffuzzer) \
Caolán McNamara's avatar
Caolán McNamara committed
102
	$(call gb_Helper_optional,FUZZERS,xbmfuzzer) \
Caolán McNamara's avatar
Caolán McNamara committed
103
	$(call gb_Helper_optional,FUZZERS,xpmfuzzer) \
Caolán McNamara's avatar
Caolán McNamara committed
104
	$(call gb_Helper_optional,FUZZERS,pngfuzzer) \
Caolán McNamara's avatar
Caolán McNamara committed
105
	$(call gb_Helper_optional,FUZZERS,bmpfuzzer) \
Caolán McNamara's avatar
Caolán McNamara committed
106
	$(call gb_Helper_optional,FUZZERS,svmfuzzer) \
Caolán McNamara's avatar
Caolán McNamara committed
107
	$(call gb_Helper_optional,FUZZERS,pcdfuzzer) \
Caolán McNamara's avatar
Caolán McNamara committed
108
	$(call gb_Helper_optional,FUZZERS,dxffuzzer) \
Caolán McNamara's avatar
Caolán McNamara committed
109
	$(call gb_Helper_optional,FUZZERS,metfuzzer) \
Caolán McNamara's avatar
Caolán McNamara committed
110
	$(call gb_Helper_optional,FUZZERS,ppmfuzzer) \
Caolán McNamara's avatar
Caolán McNamara committed
111
	$(call gb_Helper_optional,FUZZERS,psdfuzzer) \
Caolán McNamara's avatar
Caolán McNamara committed
112
	$(call gb_Helper_optional,FUZZERS,epsfuzzer) \
Caolán McNamara's avatar
Caolán McNamara committed
113
	$(call gb_Helper_optional,FUZZERS,pctfuzzer) \
Caolán McNamara's avatar
Caolán McNamara committed
114
	$(call gb_Helper_optional,FUZZERS,pcxfuzzer) \
Caolán McNamara's avatar
Caolán McNamara committed
115
	$(call gb_Helper_optional,FUZZERS,rasfuzzer) \
Caolán McNamara's avatar
Caolán McNamara committed
116
	$(call gb_Helper_optional,FUZZERS,tgafuzzer) \
Caolán McNamara's avatar
Caolán McNamara committed
117
	$(call gb_Helper_optional,FUZZERS,tiffuzzer) \
Caolán McNamara's avatar
Caolán McNamara committed
118
	$(call gb_Helper_optional,FUZZERS,hwpfuzzer) \
Caolán McNamara's avatar
Caolán McNamara committed
119
	$(call gb_Helper_optional,FUZZERS,602fuzzer) \
Caolán McNamara's avatar
Caolán McNamara committed
120
	$(call gb_Helper_optional,FUZZERS,lwpfuzzer) \
121
	$(call gb_Helper_optional,FUZZERS,olefuzzer) \
Caolán McNamara's avatar
Caolán McNamara committed
122
	$(call gb_Helper_optional,FUZZERS,pptfuzzer) \
Caolán McNamara's avatar
Caolán McNamara committed
123
	$(call gb_Helper_optional,FUZZERS,rtffuzzer) \
Caolán McNamara's avatar
Caolán McNamara committed
124
	$(call gb_Helper_optional,FUZZERS,cgmfuzzer) \
Caolán McNamara's avatar
Caolán McNamara committed
125
	$(call gb_Helper_optional,FUZZERS,ww2fuzzer) \
Caolán McNamara's avatar
Caolán McNamara committed
126
	$(call gb_Helper_optional,FUZZERS,ww6fuzzer) \
Caolán McNamara's avatar
Caolán McNamara committed
127
	$(call gb_Helper_optional,FUZZERS,ww8fuzzer) \
128
	$(call gb_Helper_optional,FUZZERS,qpwfuzzer) \
Caolán McNamara's avatar
Caolán McNamara committed
129
	$(call gb_Helper_optional,FUZZERS,slkfuzzer) \
130
	$(call gb_Helper_optional,FUZZERS,fodtfuzzer) \
Caolán McNamara's avatar
Caolán McNamara committed
131
	$(call gb_Helper_optional,FUZZERS,fodsfuzzer) \
Caolán McNamara's avatar
Caolán McNamara committed
132
	$(call gb_Helper_optional,FUZZERS,fodpfuzzer) \
Caolán McNamara's avatar
Caolán McNamara committed
133
	$(call gb_Helper_optional,FUZZERS,xlsfuzzer) \
Caolán McNamara's avatar
Caolán McNamara committed
134
	$(call gb_Helper_optional,FUZZERS,scrtffuzzer) \
Caolán McNamara's avatar
Caolán McNamara committed
135
	$(call gb_Helper_optional,FUZZERS,wksfuzzer) \
Caolán McNamara's avatar
Caolán McNamara committed
136
	$(call gb_Helper_optional,FUZZERS,diffuzzer) \
Caolán McNamara's avatar
Caolán McNamara committed
137
	$(call gb_Helper_optional,FUZZERS,docxfuzzer) \
Caolán McNamara's avatar
Caolán McNamara committed
138
	$(call gb_Helper_optional,FUZZERS,xlsxfuzzer) \
Caolán McNamara's avatar
Caolán McNamara committed
139
	$(call gb_Helper_optional,FUZZERS,pptxfuzzer) \
Caolán McNamara's avatar
Caolán McNamara committed
140
	$(call gb_Helper_optional,FUZZERS,mmlfuzzer) \
Caolán McNamara's avatar
Caolán McNamara committed
141
	$(call gb_Helper_optional,FUZZERS,mtpfuzzer) \
Caolán McNamara's avatar
Caolán McNamara committed
142
	$(call gb_Helper_optional,FUZZERS,htmlfuzzer) \
Caolán McNamara's avatar
Caolán McNamara committed
143
	$(call gb_Helper_optional,FUZZERS,sftfuzzer) \
144
	$(if $(filter-out ANDROID HAIKU iOS MACOSX WNT,$(OS)),oosplash) \
145 146 147
	soffice_bin \
	$(if $(filter DESKTOP,$(BUILD_TYPE)),unopkg_bin) \
	$(if $(filter WNT,$(OS)), \
148
		soffice \
149 150 151 152 153 154
		unoinfo \
		unopkg \
		unopkg_com \
	) \
))

155 156 157 158 159 160 161 162 163 164 165 166
$(eval $(call gb_Helper_register_executables_for_install,OOO,base_brand, \
	$(if $(filter WNT,$(OS)), \
		sbase \
	) \
))

$(eval $(call gb_Helper_register_executables_for_install,OOO,base, \
	$(if $(filter WNT,$(OS)), \
		odbcconfig \
	) \
))

167 168 169 170 171 172
$(eval $(call gb_Helper_register_executables_for_install,OOO,calc_brand, \
	$(if $(filter WNT,$(OS)), \
		scalc \
	) \
))

173 174 175 176 177 178
$(eval $(call gb_Helper_register_executables_for_install,OOO,draw_brand, \
	$(if $(filter WNT,$(OS)), \
		sdraw \
	) \
))

179 180 181 182 183 184
$(eval $(call gb_Helper_register_executables_for_install,OOO,impress_brand, \
	$(if $(filter WNT,$(OS)), \
		simpress \
	) \
))

185 186 187 188 189 190
$(eval $(call gb_Helper_register_executables_for_install,OOO,math_brand, \
	$(if $(filter WNT,$(OS)), \
		smath \
	) \
))

191 192 193 194 195 196 197
$(eval $(call gb_Helper_register_executables_for_install,OOO,writer_brand, \
	$(if $(filter WNT,$(OS)), \
		sweb \
		swriter \
	) \
))

198
$(eval $(call gb_Helper_register_executables_for_install,OOO,ooo, \
199
	gengal \
200
	$(if $(filter WNT,$(OS)),,uri-encode) \
201
	$(if $(ENABLE_MACOSX_SANDBOX),, \
202
		$(if $(DISABLE_GUI),, \
Thorsten Behrens's avatar
Thorsten Behrens committed
203 204
			ui-previewer \
		) \
205
	) \
206 207 208
	$(if $(filter WNT,$(OS)), \
		senddoc \
	) \
209 210
))

211 212 213 214 215 216
ifeq ($(OS),WNT)
$(eval $(call gb_Helper_register_executables_for_install,OOO,quickstart, \
	quickstart \
))
endif

217 218 219 220 221 222
$(eval $(call gb_Helper_register_executables_for_install,OOO,python, \
	$(if $(filter WNT,$(OS)), \
		python \
	) \
))

223
ifeq ($(USING_X11), TRUE)
224 225 226 227 228 229 230
$(eval $(call gb_Helper_register_executables_for_install,OOO,gnome, \
	$(if $(ENABLE_GTK),\
		xid-fullscreen-on-all-monitors \
	) \
))
endif

231 232 233 234 235 236
ifneq ($(ENABLE_PDFIMPORT),)
$(eval $(call gb_Helper_register_executables_for_install,OOO,pdfimport, \
	xpdfimport \
))
endif

237
$(eval $(call gb_Helper_register_executables_for_install,UREBIN,ure,\
238
	$(if $(and $(ENABLE_JAVA),$(filter-out HAIKU MACOSX WNT,$(OS)),$(filter DESKTOP,$(BUILD_TYPE))),javaldx) \
239 240 241 242
	$(if $(ENABLE_MACOSX_SANDBOX),, \
		regmerge \
		regview \
	) \
243
	$(if $(filter DESKTOP,$(BUILD_TYPE)),uno) \
David Tardon's avatar
David Tardon committed
244 245
))

246
$(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,base, \
247 248 249
	abp \
	dbp \
	dbu \
250 251
))

252 253
$(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,calc, \
	analysis \
254
	$(call gb_Helper_optional,DBCONNECTIVITY,calc) \
255 256 257 258 259 260
	date \
	pricing \
	sc \
	scd \
	scfilt \
	scui \
261
	wpftcalc \
262
	solver \
263
	$(call gb_Helper_optional,SCRIPTING,vbaobj) \
264 265
))

266
$(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,graphicfilter, \
267 268 269 270
	svgfilter \
	flash \
	wpftdraw \
	graphicfilter \
271 272
))

273
$(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,impress, \
274 275
	animcore \
	PresenterScreen \
276
	PresentationMinimizer \
277
	wpftimpress \
278 279
))

280
$(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,onlineupdate, \
281 282 283 284
	$(if $(ENABLE_ONLINE_UPDATE), \
		updatecheckui \
		updchk \
	) \
285 286
))

287
$(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,gnome, \
288 289 290 291 292
	$(if $(ENABLE_EVOAB2),evoab) \
	$(if $(ENABLE_GTK),vclplug_gtk) \
	$(if $(ENABLE_GTK3),vclplug_gtk3) \
	$(if $(ENABLE_GIO),losessioninstall) \
	$(if $(ENABLE_GIO),ucpgio1) \
293 294
))

295
$(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,kde, \
296
	$(if $(ENABLE_KDE4),kde4be1) \
Milian Wolff's avatar
Milian Wolff committed
297
	$(if $(ENABLE_KDE5),kde5be1) \
298
	$(if $(USING_X11), \
299
		$(if $(ENABLE_KDE4),vclplug_kde4) \
300
		$(if $(ENABLE_KDE5),vclplug_kde5) \
301
        $(if $(ENABLE_QT5),vclplug_qt5) \
302
		$(if $(ENABLE_GTK3_KDE5),vclplug_gtk3_kde5) \
303
	) \
304
))
305 306 307 308 309
ifneq ($(ENABLE_GTK3_KDE5),)
$(eval $(call gb_Helper_register_executables_for_install,OOO,kde, \
	lo_kde5filepicker \
))
endif
310

311 312 313
ifeq ($(OS),HAIKU)
$(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,haiku, \
    $(if $(ENABLE_QT5),vclplug_qt5) \
314
    $(if $(ENABLE_KDE5),vclplug_kde5) \
315 316 317
))
endif

318
$(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,math, \
319 320
	sm \
	smd \
321 322
))

323 324 325 326
$(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,ogltrans, \
	OGLTrans \
))

327
$(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,ooo, \
328
	acc \
329
	$(call gb_Helper_optional,AVMEDIA,avmedia) \
330
	$(if $(filter MACOSX,$(OS)),\
331
		avmediaMacAVF \
332
	) \
333 334 335 336
	$(call gb_Helper_optional,SCRIPTING, \
		basctl \
		basprov \
	) \
337 338 339 340 341 342 343
	basegfx \
	bib \
	$(if $(ENABLE_CAIRO_CANVAS),cairocanvas) \
	canvasfactory \
	canvastools \
	chartcore \
	chartcontroller \
344
	$(call gb_Helper_optional,OPENCL,clew) \
345
	$(if $(filter $(OS),WNT),,cmdmail) \
346 347 348 349
	cppcanvas \
	configmgr \
	ctl \
	cui \
350 351 352 353
	$(call gb_Helper_optional,DBCONNECTIVITY, \
		dba \
		dbase \
		dbmm \
Tamas Bunth's avatar
Tamas Bunth committed
354 355
		dbaxml \
		dbahsql) \
356
	dbtools \
357 358
	deploymentmisc \
	$(if $(filter-out MACOSX WNT,$(OS)),desktopbe1) \
359
	$(if $(USING_X11),desktop_detector) \
360
	$(call gb_Helper_optional,SCRIPTING,dlgprov) \
361
	$(if $(filter WNT,$(OS)),directx9canvas) \
362
	$(if $(ENABLE_OPENGL_CANVAS),oglcanvas) \
363 364
	drawinglayer \
	editeng \
365
	$(if $(filter WNT,$(OS)),emser) \
366
	evtatt \
367
	expwrap \
368 369 370
	$(call gb_Helper_optional,DBCONNECTIVITY, \
		flat \
		file) \
371
	filterconfig \
372
	fps_office \
373 374 375 376 377
	for \
	forui \
	frm \
	fsstorage \
	fwe \
378
	fwi \
379 380
	fwk \
	fwl \
381
	fwm \
382
	$(if $(filter WNT,$(OS)),gdipluscanvas) \
383 384 385
	guesslang \
	$(if $(filter DESKTOP,$(BUILD_TYPE)),helplinker) \
	i18npool \
386
	i18nsearch \
387
    gie \
388
	hyphen \
389
    icg \
390
	$(if $(ENABLE_JAVA),jdbc) \
391
	ldapbe2 \
392
	$(if $(filter WNT,$(OS)),WinUserInfoBe) \
393
	localebe1 \
394
	log \
395 396
	lng \
	lnth \
397
	$(if $(filter $(OS),MACOSX),macbe1) \
398
	$(if $(MERGELIBS),merged) \
399 400
	migrationoo2 \
	migrationoo3 \
401 402
	mork \
	mozbootstrap \
403
	msfilter \
404
	$(call gb_Helper_optional,SCRIPTING,msforms) \
405
	mtfrenderer \
406
	$(if $(ENABLE_JAVA),mysql_jdbc) \
407
	$(call gb_Helper_optional,DBCONNECTIVITY,mysqlc) \
408
	numbertext \
409 410 411
	odbc \
	odfflatxml \
	offacc \
412
	oox \
413
	$(call gb_Helper_optional,OPENCL,opencl) \
414
	passwordcontainer \
415 416
	pcr \
	pdffilter \
417
	$(call gb_Helper_optional,SCRIPTING,protocolhandler) \
418 419
	sax \
	sb \
420
	$(call gb_Helper_optional,DBCONNECTIVITY,sdbt) \
421 422 423 424 425 426 427
	scn \
	sd \
	sdd \
	sdfilt \
	sdui \
	sfx \
	simplecanvas \
428
	slideshow \
429
	sot \
430
	spell \
431
	$(if $(DISABLE_GUI),,spl) \
432
	storagefd \
433
	$(call gb_Helper_optional,SCRIPTING,stringresource) \
434
	svgio \
435
	emfio \
436 437 438 439 440
	svl \
	svt \
	svx \
	svxcore \
	sw \
441
	syssh \
442
	textconversiondlgs \
443
	textfd \
444 445 446
	tk \
	tl \
	ucpexpand1 \
447
	ucpext \
448
	ucpimage \
449 450
	ucpcmis1 \
	ucptdoc1 \
451 452
	unordf \
	unoxml \
453
	updatefeed \
454 455
	utl \
	uui \
456 457 458 459
	$(call gb_Helper_optional,SCRIPTING, \
		vbaevents \
		vbahelper \
	) \
460 461
	vcl \
	vclcanvas \
462
	writerperfect \
463 464 465 466 467 468 469
	xmlscript \
	xmlfa \
	xmlfd \
	xo \
	xof \
	xsltdlg \
	xsltfilter \
470 471 472
	$(if $(USING_X11), \
		vclplug_gen \
	) \
Matúš Kukan's avatar
Matúš Kukan committed
473 474
	$(if $(filter $(OS),WNT), \
		ado \
475
		oleautobridge \
Matúš Kukan's avatar
Matúš Kukan committed
476
		smplmail \
477
		vclplug_win \
Matúš Kukan's avatar
Matúš Kukan committed
478 479 480
		wininetbe1 \
	) \
	$(if $(filter $(OS),MACOSX), \
481 482 483
		$(if $(ENABLE_MACOSX_SANDBOX),, \
			AppleRemote \
		) \
Matúš Kukan's avatar
Matúš Kukan committed
484
		fps_aqua \
485
		vclplug_osx \
Matúš Kukan's avatar
Matúš Kukan committed
486 487
		MacOSXSpell \
	) \
488 489
))

490
$(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,postgresqlsdbc, \
491 492 493
	$(if $(BUILD_POSTGRESQL_SDBC), \
		postgresql-sdbc \
		postgresql-sdbc-impl) \
494 495
))

496 497 498 499
$(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,firebirdsdbc, \
	$(if $(ENABLE_FIREBIRD_SDBC),firebird_sdbc) \
))

Tor Lillqvist's avatar
Tor Lillqvist committed
500
ifneq ($(ENABLE_PDFIMPORT),)
501 502 503
$(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,pdfimport, \
	pdfimport \
))
Tor Lillqvist's avatar
Tor Lillqvist committed
504
endif
505

506 507 508 509 510 511 512 513 514
$(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,python, \
	pythonloader \
))

$(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_OOO,python, \
	pyuno \
	$(if $(filter-out WNT,$(OS)),pyuno_wrapper) \
))

515 516 517 518 519 520
$(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,reportbuilder, \
	rpt \
	rptui \
	rptxml \
))

521
$(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,writer, \
522
	hwp \
523
	$(if $(ENABLE_LWP),lwpft) \
524 525 526 527
	msword \
	swd \
	swui \
	t602filter \
528
	$(call gb_Helper_optional,SCRIPTING,vbaswobj) \
529 530
	wpftwriter \
	writerfilter \
531
	$(call gb_Helper_optional,DBCONNECTIVITY,writer) \
532
))
533

Matúš Kukan's avatar
Matúš Kukan committed
534
# cli_cppuhelper is NONE even though it is actually in URE because it is CliNativeLibrary
535
$(eval $(call gb_Helper_register_libraries,PLAINLIBS_NONE, \
536
	smoketest \
537
	subsequenttest \
538
	test \
539
	test-setupvcl \
540 541
	testtools_cppobj \
	testtools_bridgetest \
542
	testtools_bridgetest-common \
543
	testtools_constructors \
544 545 546
	unobootstrapprotector \
	unoexceptionprotector \
	unotest \
547
	vclbootstrapprotector \
548
	scqahelper \
549
	unowinreg \
550
	wpftqahelper \
Matúš Kukan's avatar
Matúš Kukan committed
551 552 553
	$(if $(filter MSC,$(COM)),cli_cppuhelper) \
	$(if $(filter $(OS),ANDROID),lo-bootstrap) \
	$(if $(filter $(OS),MACOSX),OOoSpotlightImporter) \
554 555
))

556
$(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_URE,ure, \
557
	affine_uno_uno \
558
	$(if $(filter MSC,$(COM)),cli_uno) \
559
	i18nlangtag \
560 561 562 563 564 565 566
	$(if $(ENABLE_JAVA), \
		java_uno \
		jpipe \
		$(if $(filter $(OS),WNT),jpipx) \
	    juh \
		juhx \
	) \
567 568
	log_uno_uno \
	unsafe_uno_uno \
Matúš Kukan's avatar
Matúš Kukan committed
569
	$(if $(filter MSC,$(COM)),$(if $(filter INTEL,$(CPUNAME)),msci,mscx),gcc3)_uno \
570
))
571

572
$(eval $(call gb_Helper_register_libraries_for_install,PRIVATELIBS_URE,ure, \
573 574 575 576 577
	binaryurp \
	bootstrap \
	introspection \
	invocadapt \
	invocation \
578
	io \
579 580
	$(if $(ENABLE_JAVA),javaloader) \
	$(if $(ENABLE_JAVA),javavm) \
581 582
	$(if $(ENABLE_JAVA),jvmaccess) \
	$(if $(ENABLE_JAVA),jvmfwk) \
583 584 585
	namingservice \
	proxyfac \
	reflection \
586 587
	reg \
	sal_textenc \
588
	stocservices \
589 590
	store \
	unoidl \
591
	uuresolver \
592
	xmlreader \
593 594
))

595
$(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_OOO,ooo, \
596
	$(if $(ENABLE_VLC),avmediavlc) \
597
	$(if $(ENABLE_GSTREAMER_1_0),avmediagst) \
598
	$(if $(ENABLE_GSTREAMER_0_10),avmediagst_0_10) \
599
	$(if $(filter WNT,$(OS)),avmediawin) \
600
	cached1 \
601
	collator_data \
602
	comphelper \
603
	$(call gb_Helper_optional,DBCONNECTIVITY,dbpool2) \
604
	$(call gb_Helper_optional,BREAKPAD,crashreport) \
605
	deployment \
606 607 608 609
	deploymentgui \
	dict_ja \
	dict_zh \
	embobj \
610
	$(if $(ENABLE_JAVA),hsqldb) \
611
	i18nutil \
612
	index_data \
613
	$(if $(and $(ENABLE_GTK3), $(filter LINUX %BSD SOLARIS,$(OS))), libreofficekitgtk) \
614 615 616 617
	localedata_en \
	localedata_es \
	localedata_euro \
	localedata_others \
618
	mcnttype \
619 620 621
	$(if $(ENABLE_JAVA), \
		$(if $(filter $(OS),MACOSX),,officebean) \
	) \
622
	emboleobj \
623
	package2 \
624
	$(if $(USING_X11),recentfile) \
625
	$(call gb_Helper_optional,SCRIPTING,scriptframe) \
626
	sdbc2 \
627
	sofficeapp \
628
	srtrs1 \
629
	$(if $(filter $(OS),WNT),sysdtrans) \
630
	textconv_dict \
631
	ucb1 \
632
	ucbhelper \
633
	$(if $(WITH_WEBDAV),ucpdav1) \
634
	ucpfile1 \
635 636 637 638 639 640
	ucpftp1 \
	ucpchelp1 \
	ucphier1 \
	ucppkg1 \
	unopkgapp \
	xmlsecurity \
641
	xsec_xmlsec \
642
	xstor \
643 644 645 646
	$(if $(filter $(OS),MACOSX), \
		macab1 \
		macabdrv1 \
	) \
647 648 649 650 651
	$(if $(filter WNT,$(OS)), \
		dnd \
		dtrans \
		fps \
		ftransl \
652 653 654
		inprocserv \
		UAccCOM \
		winaccessibility \
655
	) \
656
))
657

Matúš Kukan's avatar
Matúš Kukan committed
658
ifeq ($(OS),WNT)
659
$(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_OOO,activexbinarytable, \
660
	regactivex \
661 662
))

663
$(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_OOO,activex, \
664 665
	so_activex \
	spsupp \
666 667 668 669
))

ifneq ($(BUILD_X64),)
$(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_OOO,activexwin64, \
670 671
	so_activex_x64 \
	spsupp_x64 \
672 673 674
))
endif

675 676 677
$(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_OOO,ooobinarytable, \
	$(if $(WINDOWS_SDK_HOME),\
		instooofiltmsi \
678
		inst_msu_msi \
679 680 681 682 683 684 685 686 687 688 689 690
		qslnkmsi \
		reg4allmsdoc \
		sdqsmsi \
		sellangmsi \
		sn_tools \
	) \
))

$(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_OOO,winexplorerextbinarytable, \
	shlxtmsi \
))

691
$(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_SHLXTHDL,winexplorerext, \
692
	ooofilt \
693
	propertyhdl \
694
	shlxthdl \
695 696
))

697 698 699 700 701
ifneq ($(BUILD_X64),)
$(eval $(call gb_Helper_register_packages_for_install,winexplorerextwin64, \
	$(if $(filter MSC,$(COM)),msvc_dlls) \
))

702 703 704
$(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_SHLXTHDL,winexplorerextwin64, \
	ooofilt_x64 \
	propertyhdl_x64 \
705
	shlxthdl_x64 \
706
))
707
endif # BUILD_X64
708

709
endif # WNT
Matúš Kukan's avatar
Matúš Kukan committed
710

711
$(eval $(call gb_Helper_register_libraries_for_install,RTVERLIBS,ure, \
712 713 714
	cppuhelper \
	purpenvhelper \
	salhelper \
715
))
716

717
$(eval $(call gb_Helper_register_libraries_for_install,UNOVERLIBS,ure, \
718 719
	cppu \
	sal \
720
))
721

722
$(eval $(call gb_Helper_register_libraries,EXTENSIONLIBS, \
723
	active_native \
724
	passive_native \
725 726
))

727 728
ifneq ($(ENABLE_JAVA),)
$(eval $(call gb_Helper_register_jars_for_install,URE,ure, \
729 730 731 732 733 734 735
	java_uno \
	juh \
	jurt \
	ridl \
	unoloader \
))

736 737 738 739 740 741 742 743 744
$(eval $(call gb_Helper_register_jars_for_install,OOO,ooo, \
	ScriptFramework \
	ScriptProviderForJava \
	XMergeBridge \
	commonwizards \
	form \
	$(if $(filter-out MACOSX,$(OS)),officebean) \
	query \
	report \
745
	sdbc_hsqldb \
746 747 748 749 750 751
	smoketest \
	table \
	unoil \
	xmerge \
))

752
$(eval $(call gb_Helper_register_jars_for_install,OOO,reportbuilder, \
753 754 755 756
	reportbuilder \
	reportbuilderwizard \
))

757 758 759 760 761 762
ifneq ($(ENABLE_SCRIPTING_BEANSHELL),)
$(eval $(call gb_Helper_register_jars_for_install,OOO,extensions_bsh, \
	ScriptProviderForBeanShell \
))
endif

763 764 765 766 767 768
ifneq ($(ENABLE_SCRIPTING_JAVASCRIPT),)
$(eval $(call gb_Helper_register_jars_for_install,OOO,extensions_rhino, \
	ScriptProviderForJavaScript \
))
endif

769 770 771 772 773 774
ifeq (CT2N,$(filter CT2N,$(BUILD_TYPE)))
$(eval $(call gb_Helper_register_packages_for_install,extensions_ct2n,\
	ct2n \
))
endif

775 776 777 778 779 780
ifeq (NUMBERTEXT,$(filter NUMBERTEXT,$(BUILD_TYPE)))
$(eval $(call gb_Helper_register_packages_for_install,extensions_numbertext,\
	numbertext \
))
endif

781 782
$(eval $(call gb_Helper_register_jars,OXT, \
	EvolutionarySolver \
783
	active_java \
784 785
	mediawiki \
	nlpsolver \
786
	passive_java \
787 788
))

789
$(eval $(call gb_Helper_register_jars,NONE,\
790
	ConnectivityTools \
791 792 793 794 795 796 797
	HelloWorld \
	Highlight \
	MemoryUsage \
	OOoRunner \
	TestExtension \
	test \
	test-tools \
798
	testComponent \
799
))
800
endif
801

802 803 804 805 806 807 808 809 810 811 812
# 'test_unittest' is only package delivering to workdir.
# Other packages could be potentially autoinstalled.
$(eval $(call gb_Helper_register_packages, \
	test_unittest \
	cli_basetypes_copy \
	extras_wordbook \
	instsetoo_native_setup \
	$(if $(ENABLE_OOENV),instsetoo_native_ooenv) \
	postprocess_registry \
	readlicense_oo_readmes \
	setup_native_misc \
813
	sysui_share \
814 815 816
	vcl_fontunxpsprint \
))

817 818 819 820
$(eval $(call gb_Helper_register_packages_for_install,impress,\
	sd_xml \
))

821 822 823 824
$(eval $(call gb_Helper_register_packages_for_install,calc,\
	sc_res_xml \
))

825
$(eval $(call gb_Helper_register_packages_for_install,libreofficekit,\
Stephan Bergmann's avatar
Stephan Bergmann committed
826
	$(if $(filter LINUX %BSD SOLARIS, $(OS)),libreofficekit_selectionhandles) \
827 828
))

829
$(eval $(call gb_Helper_register_packages_for_install,ure,\
830
	instsetoo_native_setup_ure \
831 832
	ure_install \
	$(if $(ENABLE_JAVA),\
833
		jvmfwk_jvmfwk3_ini \
834 835 836 837 838 839
		jvmfwk_javavendors \
		jvmfwk_jreproperties \
		$(if $(filter MACOSX,$(OS)),bridges_jnilib_java_uno) \
	) \
))

840 841 842 843
$(eval $(call gb_Helper_register_packages_for_install,postgresqlsdbc,\
	$(if $(BUILD_POSTGRESQL_SDBC),connectivity_postgresql-sdbc) \
))

844 845 846 847 848 849 850 851 852 853
$(eval $(call gb_Helper_register_packages_for_install,sdk,\
	odk_share_readme \
	odk_share_readme_generated \
	$(if $(filter WNT,$(OS)),odk_cli) \
	odk_config \
	$(if $(filter WNT,$(OS)),odk_config_win) \
	odk_docs \
	$(if $(DOXYGEN),odk_doxygen) \
	odk_examples \
	odk_headers \
854
	odk_headers_generated \
855 856 857 858 859 860 861 862 863 864 865 866
	odk_html \
	odk_settings \
	odk_settings_generated \
	offapi_idl \
	udkapi_idl \
	$(if $(ENABLE_JAVA), \
		odk_javadoc \
		odk_uno_loader_classes \
		odk_unowinreg \
	) \
))

867
$(eval $(call gb_Helper_register_packages_for_install,ooo,\
868 869
	$(if $(SYSTEM_LIBEXTTEXTCAT),,libexttextcat_fingerprint) \
	officecfg_misc \
870 871 872 873
	$(if $(filter $(OS),MACOSX), \
		extensions_mdibundle \
		extensions_OOoSpotlightImporter \
	) \
874 875 876 877 878 879 880 881 882 883 884 885
	extras_autocorr \
	extras_autotextuser \
	extras_cfgsrvnolang \
	extras_cfgusr \
	extras_database \
	extras_databasebiblio \
	extras_gallbullets \
	extras_gallhtmlexpo \
	extras_gallmytheme \
	extras_gallroot \
	extras_gallsystem \
	extras_gallwwwgraf \
886 887
	extras_glade \
	extras_labels \
888 889
	$(if $(filter WNT,$(OS)),extras_newfiles) \
	extras_palettes \
890 891 892 893 894 895 896
	extras_personas \
	extras_persona_dark \
	extras_persona_gray \
	extras_persona_green \
	extras_persona_pink \
	extras_persona_sand \
	extras_persona_white \
897 898 899 900 901 902 903 904 905 906 907 908
	extras_tplofficorr \
	extras_tploffimisc \
	extras_tplpresnt \
	extras_tpl_styles \
	extras_tplpersonal \
	extras_tplwizbitmap \
	extras_tplwizdesktop \
	extras_tplwizletter \
	extras_tplwizfax \
	extras_tplwizagenda \
	extras_tplwizreport \
	extras_tplwizstyles \
909
	framework_dtd \
910
	$(if $(filter $(OS),MACOSX),infoplist) \
911 912
	oox_customshapes \
	oox_generated \
913
	package_dtd \
914 915
	sd_web \
	sfx2_emojiconfig \
916 917
	$(call gb_Helper_optional,DESKTOP,\
		$(if $(filter-out WNT,$(OS)),$(if $(ENABLE_MACOSX_SANDBOX),,shell_senddoc))) \
918
	$(call gb_Helper_optional,DESKTOP,$(if $(filter-out MACOSX WNT,$(OS)),svx_gengal)) \
919 920
	$(if $(USING_X11),vcl_fontunxppds) \
	$(if $(filter $(OS),MACOSX),vcl_osxres) \
921 922
	xmloff_dtd \
	xmlscript_dtd \
David Tardon's avatar
David Tardon committed
923
	xmlhelp_helpxsl \
924 925 926 927 928 929 930
	$(if $(ENABLE_JAVA),\
		scripting_java \
		scripting_java_jars \
		$(if $(ENABLE_SCRIPTING_BEANSHELL),scripting_ScriptsBeanShell) \
		$(if $(ENABLE_SCRIPTING_JAVASCRIPT),scripting_ScriptsJavaScript) \
	) \
	$(if $(DISABLE_SCRIPTING),,scripting_scriptbindinglib) \
931 932
	$(if $(filter $(OS),MACOSX),sysui_osxicons) \
	wizards_basicshare \
933 934 935 936 937 938
	wizards_basicsrvaccess2base \
	wizards_basicsrvdepot \
	wizards_basicsrveuro \
	wizards_basicsrvgimmicks \
	wizards_basicsrvimport \
	wizards_basicsrvform \
939
	wizards_basicsrvstandard \
940 941 942
	wizards_basicsrvtemplate \
	wizards_basicsrvtools \
	wizards_basicsrvtutorials \
943
	wizards_basicusr \
944 945
	wizards_properties \
	wizards_wizardshare \
946
	vcl_opengl_shader \
947 948 949
	$(if $(filter WNT,$(OS)), \
		vcl_opengl_blacklist \
	) \
950
	$(if $(ENABLE_OPENGL_CANVAS),canvas_opengl_shader) \
951 952 953 954 955 956 957
	$(if $(DISABLE_PYTHON),,$(if $(filter-out AIX,$(OS)), \
		Pyuno/commonwizards \
		Pyuno/fax \
		Pyuno/letter \
		Pyuno/agenda \
		Pyuno/mailmerge \
	)) \
958
	sfx2_classification \
959
    $(if $(filter OPENCL,$(BUILD_TYPE)),sc_opencl_runtimetest) \
960
    $(if $(and $(filter WNT,$(OS)), $(filter X86_64,$(CPUNAME))),twain_dsm) \
961
	$(if $(ENABLE_HTMLHELP),\
962
		helpcontent2_html_dynamic \
963
		helpcontent2_html_media \
964
		helpcontent2_html_icon-themes \
965 966
		helpcontent2_html_static \
	) \
967 968
))

969 970
$(eval $(call gb_Helper_register_packages_for_install,ooo_fonts,\
	extras_fonts \
971
	$(if $(USING_X11)$(DISABLE_GUI)$(filter ANDROID,$(OS)), \
972
		postprocess_fontconfig) \
973
	$(call gb_Helper_optional,MORE_FONTS,\
974
		fonts_alef \
975
		fonts_amiri \
976 977
		fonts_caladea \
		fonts_carlito \
978
		fonts_culmus \
979 980 981
		fonts_dejavu \
		fonts_emojione_color \
		fonts_gentium \
982
		fonts_kacst \
983 984 985
		fonts_liberation \
		fonts_liberation_narrow \
		fonts_libertineg \
986
		fonts_libre_hebrew \
987
		fonts_noto \
988
		fonts_reem \
989 990
		fonts_sourcecode \
		fonts_sourcesans \
991
		fonts_sourceserif \
992
		fonts_scheherazade \
993 994 995
	) \
))

996 997 998 999 1000
$(eval $(call gb_Helper_register_packages_for_install,ooo_images,\
	postprocess_images \
	$(call gb_Helper_optional,HELP,helpcontent2_helpimages) \
))

1001
$(eval $(call gb_Helper_register_packages_for_install,ogltrans,\
1002
	sd_opengl \
1003
	slideshow_opengl_shader \
1004 1005
))

1006 1007 1008 1009 1010 1011
ifneq ($(ENABLE_PDFIMPORT),)
$(eval $(call gb_Helper_register_packages_for_install,pdfimport, \
	sdext_pdfimport_pdf \
))
endif

1012
$(eval $(call gb_Helper_register_packages_for_install,reportbuilder,\
1013
	reportbuilder_templates \
1014 1015
))

1016 1017 1018 1019 1020 1021
$(eval $(call gb_Helper_register_packages_for_install,xsltfilter,\
	filter_docbook \
	filter_xhtml \
	filter_xslt \
))

1022 1023 1024
$(eval $(call gb_Helper_register_packages_for_install,brand,\
	desktop_branding \
	$(if $(CUSTOM_BRAND_DIR),desktop_branding_custom) \
1025
	$(if $(filter DESKTOP,$(BUILD_TYPE)),desktop_scripts_install) \
1026
	$(if $(and $(filter-out MACOSX HAIKU WNT,$(OS)),$(filter DESKTOP,$(BUILD_TYPE))),\
1027
		$(if $(DISABLE_GUI),, \
Thorsten Behrens's avatar
Thorsten Behrens committed
1028 1029 1030
			desktop_soffice_sh \
		) \
	) \
1031 1032
	readlicense_oo_files \
	$(if $(filter WNT,$(OS)),readlicense_oo_license) \
1033
	$(call gb_Helper_optional,DESKTOP,setup_native_packinfo) \
1034 1035
))

1036
ifeq ($(USING_X11), TRUE)
1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059
$(eval $(call gb_Helper_register_packages_for_install,base_brand,\
	desktop_sbase_sh \
))

$(eval $(call gb_Helper_register_packages_for_install,calc_brand,\
	desktop_scalc_sh \
))

$(eval $(call gb_Helper_register_packages_for_install,draw_brand,\
	desktop_sdraw_sh \
))

$(eval $(call gb_Helper_register_packages_for_install,impress_brand,\
	desktop_simpress_sh \
))

$(eval $(call gb_Helper_register_packages_for_install,math_brand,\
	desktop_smath_sh \
))

$(eval $(call gb_Helper_register_packages_for_install,writer_brand,\
	desktop_swriter_sh \
))
1060
endif # USING_X11=TRUE
1061

1062 1063 1064 1065
$(eval $(call gb_Helper_register_packages_for_install,onlineupdate,\
	$(if $(ENABLE_ONLINE_UPDATE),$(if $(filter LINUX SOLARIS,$(OS)),setup_native_scripts)) \
))

1066 1067 1068
ifneq ($(DISABLE_PYTHON),TRUE)
$(eval $(call gb_Helper_register_packages_for_install,python, \
    pyuno_pythonloader_ini \
1069 1070 1071
	pyuno_python_scripts \
	$(if $(SYSTEM_PYTHON),,$(if $(filter-out WNT,$(OS)),python_shell)) \
	scripting_ScriptsPython \
1072
))
1073

1074
$(eval $(call gb_Helper_register_packages_for_install,python_scriptprovider, \
1075
    scripting_scriptproviderforpython \
1076
))
1077 1078 1079 1080 1081 1082

$(eval $(call gb_Helper_register_packages_for_install,python_librelogo, \
	librelogo \
	librelogo_properties \
))
endif # DISABLE_PYTHON
1083

1084 1085
# External executables
$(eval $(call gb_ExternalExecutable_register_executables,\
1086 1087 1088
	genbrk \
	genccode \
	gencmn \
1089
	python \
1090
	ucpp \
1091 1092 1093 1094
	xmllint \
	xsltproc \
))

1095
# Resources
1096
$(eval $(call gb_Helper_register_mos,\
1097 1098 1099
	acc \
	avmedia \
	$(call gb_Helper_optional,SCRIPTING,basctl) \
1100
	chart \
1101 1102
	cnr \
	cui \
1103
	$(call gb_Helper_optional,DBCONNECTIVITY,dba) \
1104 1105
	dkt \
	editeng \
1106
	flt \
1107
	for \
1108
	$(call gb_Helper_optional,DESKTOP,fps) \
1109
	frm \
1110 1111
	fwk \
	pcr \
1112 1113 1114
	rpt \
	$(call gb_Helper_optional,SCRIPTING,sb) \
	sc \
1115
	sca \
1116
	scc \
1117 1118 1119 1120 1121 1122 1123 1124 1125
	sd \
	sfx \
	sm \
	svl \
	svt \
	svx \
	sw \
	uui \
	vcl \
1126 1127 1128
	wiz \
	wpt \
	$(if $(ENABLE_NSS),xsc) \
1129 1130 1131 1132 1133 1134 1135
))

# UI configuration
$(eval $(call gb_Helper_register_uiconfigs,\
	cui \
	$(call gb_Helper_optional,DBCONNECTIVITY,dbaccess) \
	desktop \
1136
	editeng \
1137 1138 1139
	filter \
	formula \
	fps \
1140
	libreofficekit \
1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174
	$(call gb_Helper_optional,SCRIPTING,modules/BasicIDE) \
	$(call gb_Helper_optional,DBCONNECTIVITY,\
		modules/dbapp \
		modules/dbbrowser \
		modules/dbquery \
		modules/dbrelation \
	) \
	modules/dbreport \
	$(call gb_Helper_optional,DBCONNECTIVITY,\
		modules/dbtable \
		modules/dbtdata \
	) \
	modules/sabpilot \
	$(call gb_Helper_optional,DBCONNECTIVITY,modules/sbibliography) \
	modules/scalc \
	modules/scanner \
	modules/schart \
	modules/sdraw \
	modules/sglobal \
	modules/simpress \
	modules/smath \
	$(call gb_Helper_optional,DBCONNECTIVITY,modules/spropctrlr) \
	modules/StartModule \
	modules/sweb \
	modules/swform \
	modules/swreport \
	modules/swriter \
	modules/swxform \
	sfx \
	svt \
	svx \
	uui \
	vcl \
	writerperfect \
1175
	$(if $(ENABLE_NSS),xmlsec) \
1176 1177
))

1178
ifeq ($(gb_GBUILDSELFTEST),t)
1179 1180
$(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,ooo, gbuildselftestdep gbuildselftest))
$(eval $(call gb_Helper_register_executables,NONE, gbuildselftestexe))
1181 1182
endif

1183
# vim: set noet sw=4 ts=4: