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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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