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

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

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

158 159 160 161 162 163 164 165 166 167 168 169
$(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 \
	) \
))

170 171 172 173 174 175
$(eval $(call gb_Helper_register_executables_for_install,OOO,calc_brand, \
	$(if $(filter WNT,$(OS)), \
		scalc \
	) \
))

176 177 178 179 180 181
$(eval $(call gb_Helper_register_executables_for_install,OOO,draw_brand, \
	$(if $(filter WNT,$(OS)), \
		sdraw \
	) \
))

182 183 184 185 186 187
$(eval $(call gb_Helper_register_executables_for_install,OOO,impress_brand, \
	$(if $(filter WNT,$(OS)), \
		simpress \
	) \
))

188 189 190 191 192 193
$(eval $(call gb_Helper_register_executables_for_install,OOO,math_brand, \
	$(if $(filter WNT,$(OS)), \
		smath \
	) \
))

194 195 196 197 198 199 200
$(eval $(call gb_Helper_register_executables_for_install,OOO,writer_brand, \
	$(if $(filter WNT,$(OS)), \
		sweb \
		swriter \
	) \
))

201
$(eval $(call gb_Helper_register_executables_for_install,OOO,ooo, \
202
	gengal \
203
	$(if $(filter WNT,$(OS)),,uri-encode) \
204
	$(if $(ENABLE_MACOSX_SANDBOX),, \
205
		$(if $(DISABLE_GUI),, \
Thorsten Behrens's avatar
Thorsten Behrens committed
206 207
			ui-previewer \
		) \
208
	) \
209 210
	$(if $(filter WNT,$(OS)), \
		senddoc \
211
		spsupp_helper \
212
	) \
213
	$(if $(filter OPENCL,$(BUILD_TYPE)),opencltest) \
214 215
))

216 217 218 219 220 221
ifeq ($(OS),WNT)
$(eval $(call gb_Helper_register_executables_for_install,OOO,quickstart, \
	quickstart \
))
endif

222 223 224 225 226 227
$(eval $(call gb_Helper_register_executables_for_install,OOO,python, \
	$(if $(filter WNT,$(OS)), \
		python \
	) \
))

228
ifeq ($(USING_X11), TRUE)
229 230 231 232 233 234 235
$(eval $(call gb_Helper_register_executables_for_install,OOO,gnome, \
	$(if $(ENABLE_GTK),\
		xid-fullscreen-on-all-monitors \
	) \
))
endif

236
ifneq ($(ENABLE_POPPLER),)
237 238 239 240 241
$(eval $(call gb_Helper_register_executables_for_install,OOO,pdfimport, \
	xpdfimport \
))
endif

242
$(eval $(call gb_Helper_register_executables_for_install,UREBIN,ure,\
243
	$(if $(and $(ENABLE_JAVA),$(filter-out HAIKU MACOSX WNT,$(OS)),$(filter DESKTOP,$(BUILD_TYPE))),javaldx) \
244 245 246 247
	$(if $(ENABLE_MACOSX_SANDBOX),, \
		regmerge \
		regview \
	) \
248
	$(if $(filter DESKTOP,$(BUILD_TYPE)),uno) \
David Tardon's avatar
David Tardon committed
249 250
))

251
$(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,base, \
252 253 254
	abp \
	dbp \
	dbu \
255 256
))

257 258
$(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,calc, \
	analysis \
259
	$(call gb_Helper_optional,DBCONNECTIVITY,calc) \
260 261 262 263 264 265
	date \
	pricing \
	sc \
	scd \
	scfilt \
	scui \
266
	wpftcalc \
267
	solver \
268
	$(call gb_Helper_optional,SCRIPTING,vbaobj) \
269 270
))

271
$(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,graphicfilter, \
272 273 274 275
	svgfilter \
	flash \
	wpftdraw \
	graphicfilter \
276 277
))

278
$(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,impress, \
279 280
	animcore \
	PresenterScreen \
281
	PresentationMinimizer \
282
	wpftimpress \
283 284
))

285
$(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,onlineupdate, \
286 287 288 289
	$(if $(ENABLE_ONLINE_UPDATE), \
		updatecheckui \
		updchk \
	) \
290 291
))

292
$(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,gnome, \
293 294 295 296 297
	$(if $(ENABLE_EVOAB2),evoab) \
	$(if $(ENABLE_GTK),vclplug_gtk) \
	$(if $(ENABLE_GTK3),vclplug_gtk3) \
	$(if $(ENABLE_GIO),losessioninstall) \
	$(if $(ENABLE_GIO),ucpgio1) \
298 299
))

300
$(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,kde, \
Milian Wolff's avatar
Milian Wolff committed
301
	$(if $(ENABLE_KDE5),kde5be1) \
302
	$(if $(USING_X11), \
303
        $(if $(ENABLE_KDE5),vclplug_kde5) \
304
        $(if $(ENABLE_QT5),vclplug_qt5) \
305
        $(if $(ENABLE_GTK3_KDE5),vclplug_gtk3_kde5) \
306
	) \
307
))
308 309
ifneq ($(ENABLE_GTK3_KDE5),)
$(eval $(call gb_Helper_register_executables_for_install,OOO,kde, \
310
       lo_kde5filepicker \
311 312
))
endif
313

314 315 316
ifeq ($(OS),HAIKU)
$(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,haiku, \
    $(if $(ENABLE_QT5),vclplug_qt5) \
317
    $(if $(ENABLE_KDE5),vclplug_kde5) \
318 319 320
))
endif

321
$(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,math, \
322 323
	sm \
	smd \
324 325
))

326 327 328 329
$(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,ogltrans, \
	OGLTrans \
))

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

495
$(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,postgresqlsdbc, \
496 497 498
	$(if $(BUILD_POSTGRESQL_SDBC), \
		postgresql-sdbc \
		postgresql-sdbc-impl) \
499 500
))

501 502 503 504
$(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,firebirdsdbc, \
	$(if $(ENABLE_FIREBIRD_SDBC),firebird_sdbc) \
))

Tor Lillqvist's avatar
Tor Lillqvist committed
505
ifneq ($(ENABLE_PDFIMPORT),)
506 507 508
$(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,pdfimport, \
	pdfimport \
))
Tor Lillqvist's avatar
Tor Lillqvist committed
509
endif
510

511 512 513 514 515 516 517 518 519
$(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) \
))

520 521 522 523 524 525
$(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,reportbuilder, \
	rpt \
	rptui \
	rptxml \
))

526
$(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,writer, \
527
	hwp \
528
	$(if $(ENABLE_LWP),lwpft) \
529 530 531 532
	msword \
	swd \
	swui \
	t602filter \
533
	$(call gb_Helper_optional,SCRIPTING,vbaswobj) \
534 535
	wpftwriter \
	writerfilter \
536
	$(call gb_Helper_optional,DBCONNECTIVITY,writer) \
537
))
538

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

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

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

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

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

666
$(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_OOO,activex, \
667 668
	so_activex \
	spsupp \
669 670 671 672
))

ifneq ($(BUILD_X64),)
$(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_OOO,activexwin64, \
673 674
	so_activex_x64 \
	spsupp_x64 \
675 676 677
))
endif

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

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

694
$(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_SHLXTHDL,winexplorerext, \
695
	ooofilt \
696
	propertyhdl \
697
	shlxthdl \
698 699
))

700 701 702 703 704
ifneq ($(BUILD_X64),)
$(eval $(call gb_Helper_register_packages_for_install,winexplorerextwin64, \
	$(if $(filter MSC,$(COM)),msvc_dlls) \
))

705 706 707
$(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_SHLXTHDL,winexplorerextwin64, \
	ooofilt_x64 \
	propertyhdl_x64 \
708
	shlxthdl_x64 \
709
))
710
endif # BUILD_X64
711

712
endif # WNT
Matúš Kukan's avatar
Matúš Kukan committed
713

714
$(eval $(call gb_Helper_register_libraries_for_install,RTVERLIBS,ure, \
715 716 717
	cppuhelper \
	purpenvhelper \
	salhelper \
718
))
719

720
$(eval $(call gb_Helper_register_libraries_for_install,UNOVERLIBS,ure, \
721 722
	cppu \
	sal \
723
))
724

725
$(eval $(call gb_Helper_register_libraries,EXTENSIONLIBS, \
726
	active_native \
727
	passive_native \
728 729
))

730 731
ifneq ($(ENABLE_JAVA),)
$(eval $(call gb_Helper_register_jars_for_install,URE,ure, \
732 733 734 735 736 737 738
	java_uno \
	juh \
	jurt \
	ridl \
	unoloader \
))

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

755
$(eval $(call gb_Helper_register_jars_for_install,OOO,reportbuilder, \
756 757 758 759
	reportbuilder \
	reportbuilderwizard \
))

760 761 762 763 764 765
ifneq ($(ENABLE_SCRIPTING_BEANSHELL),)
$(eval $(call gb_Helper_register_jars_for_install,OOO,extensions_bsh, \
	ScriptProviderForBeanShell \
))
endif

766 767 768 769 770 771
ifneq ($(ENABLE_SCRIPTING_JAVASCRIPT),)
$(eval $(call gb_Helper_register_jars_for_install,OOO,extensions_rhino, \
	ScriptProviderForJavaScript \
))
endif

772 773 774 775 776 777
ifeq (CT2N,$(filter CT2N,$(BUILD_TYPE)))
$(eval $(call gb_Helper_register_packages_for_install,extensions_ct2n,\
	ct2n \
))
endif

778 779 780 781 782 783
ifeq (NUMBERTEXT,$(filter NUMBERTEXT,$(BUILD_TYPE)))
$(eval $(call gb_Helper_register_packages_for_install,extensions_numbertext,\
	numbertext \
))
endif

784 785
$(eval $(call gb_Helper_register_jars,OXT, \
	EvolutionarySolver \
786
	active_java \
787 788
	mediawiki \
	nlpsolver \
789
	passive_java \
790 791
))

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

805 806 807 808 809 810 811 812 813 814 815
# '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 \
816
	sysui_share \
817 818 819
	vcl_fontunxpsprint \
))

820 821 822 823
$(eval $(call gb_Helper_register_packages_for_install,impress,\
	sd_xml \
))

824 825 826 827
$(eval $(call gb_Helper_register_packages_for_install,calc,\
	sc_res_xml \
))

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

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

843 844 845 846
$(eval $(call gb_Helper_register_packages_for_install,postgresqlsdbc,\
	$(if $(BUILD_POSTGRESQL_SDBC),connectivity_postgresql-sdbc) \
))

847 848 849 850 851 852 853 854 855 856
$(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 \
857
	odk_headers_generated \
858 859 860 861 862 863 864 865 866 867 868 869
	odk_html \
	odk_settings \
	odk_settings_generated \
	offapi_idl \
	udkapi_idl \
	$(if $(ENABLE_JAVA), \
		odk_javadoc \
		odk_uno_loader_classes \
		odk_unowinreg \
	) \
))

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

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

1000 1001 1002 1003 1004
$(eval $(call gb_Helper_register_packages_for_install,ooo_images,\
	postprocess_images \
	$(call gb_Helper_optional,HELP,helpcontent2_helpimages) \
))

1005
$(eval $(call gb_Helper_register_packages_for_install,ogltrans,\
1006
	sd_opengl \
1007
	slideshow_opengl_shader \
1008 1009
))

1010
ifneq ($(ENABLE_POPPLER),)
1011 1012 1013 1014 1015
$(eval $(call gb_Helper_register_packages_for_install,pdfimport, \
	sdext_pdfimport_pdf \
))
endif

1016
$(eval $(call gb_Helper_register_packages_for_install,reportbuilder,\
1017
	reportbuilder_templates \
1018 1019
))

1020 1021 1022 1023 1024 1025
$(eval $(call gb_Helper_register_packages_for_install,xsltfilter,\
	filter_docbook \
	filter_xhtml \
	filter_xslt \
))

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

1040
ifeq ($(USING_X11), TRUE)
1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063
$(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 \
))
1064
endif # USING_X11=TRUE
1065

1066 1067 1068 1069
$(eval $(call gb_Helper_register_packages_for_install,onlineupdate,\
	$(if $(ENABLE_ONLINE_UPDATE),$(if $(filter LINUX SOLARIS,$(OS)),setup_native_scripts)) \
))

1070 1071 1072
ifneq ($(DISABLE_PYTHON),TRUE)
$(eval $(call gb_Helper_register_packages_for_install,python, \
    pyuno_pythonloader_ini \
1073 1074 1075
	pyuno_python_scripts \
	$(if $(SYSTEM_PYTHON),,$(if $(filter-out WNT,$(OS)),python_shell)) \
	scripting_ScriptsPython \
1076
))
1077

1078
$(eval $(call gb_Helper_register_packages_for_install,python_scriptprovider, \
1079
    scripting_scriptproviderforpython \
1080
))
1081 1082 1083 1084 1085 1086

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

1088 1089
# External executables
$(eval $(call gb_ExternalExecutable_register_executables,\
1090 1091 1092
	genbrk \
	genccode \
	gencmn \
1093
	python \
1094
	ucpp \
1095 1096 1097 1098
	xmllint \
	xsltproc \
))

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

# UI configuration
$(eval $(call gb_Helper_register_uiconfigs,\
	cui \
	$(call gb_Helper_optional,DBCONNECTIVITY,dbaccess) \
	desktop \
1141
	editeng \
1142 1143 1144
	filter \
	formula \
	fps \
1145
	libreofficekit \
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 1175 1176 1177 1178 1179
	$(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 \
1180
	$(if $(ENABLE_NSS),xmlsec) \
1181 1182
))

1183
ifeq ($(gb_GBUILDSELFTEST),t)
1184 1185
$(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,ooo, gbuildselftestdep gbuildselftest))
$(eval $(call gb_Helper_register_executables,NONE, gbuildselftestexe))
1186 1187
endif

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