Repository.mk 26.6 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 69
        svptest \
        svpclient \
70
        pixelctl ) \
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 146 147 148
	$(if $(filter-out ANDROID IOS MACOSX WNT,$(OS)),oosplash) \
	soffice_bin \
	$(if $(filter DESKTOP,$(BUILD_TYPE)),unopkg_bin) \
	$(if $(filter WNT,$(OS)), \
149
		soffice \
150 151 152 153 154 155
		unoinfo \
		unopkg \
		unopkg_com \
	) \
))

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

312 313 314 315 316 317
ifeq ($(OS),HAIKU)
$(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,haiku, \
    $(if $(ENABLE_QT5),vclplug_qt5) \
))
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
		$(if $(ENABLE_MACOSX_SANDBOX),,\
333
			$(if $(shell test $(MACOSX_SDK_VERSION) -ge 101200 || echo not),avmediaQuickTime) \
334
		) \
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 \
Thorsten Behrens's avatar
Thorsten Behrens committed
347 348 349
	$(if $(ENABLE_HEADLESS),, \
		chartopengl \
	) \
350
	$(call gb_Helper_optional,OPENCL,clew) \
351
	$(if $(filter $(OS),WNT),,cmdmail) \
352 353 354 355
	cppcanvas \
	configmgr \
	ctl \
	cui \
356 357 358 359
	$(call gb_Helper_optional,DBCONNECTIVITY, \
		dba \
		dbase \
		dbmm \
Tamas Bunth's avatar
Tamas Bunth committed
360 361
		dbaxml \
		dbahsql) \
362
	dbtools \
363 364
	deploymentmisc \
	$(if $(filter-out MACOSX WNT,$(OS)),desktopbe1) \
365
	$(if $(USING_X11),desktop_detector) \
366
	$(call gb_Helper_optional,SCRIPTING,dlgprov) \
367
	$(if $(filter WNT,$(OS)),directx9canvas) \
368
	$(if $(ENABLE_OPENGL_CANVAS),oglcanvas) \
369 370
	drawinglayer \
	editeng \
371
	$(if $(filter WNT,$(OS)),emser) \
372
	evtatt \
373
	expwrap \
374 375 376
	$(call gb_Helper_optional,DBCONNECTIVITY, \
		flat \
		file) \
377
	filterconfig \
378
	fps_office \
379 380 381 382 383
	for \
	forui \
	frm \
	fsstorage \
	fwe \
384
	fwi \
385 386
	fwk \
	fwl \
387
	fwm \
388
	$(if $(filter WNT,$(OS)),gdipluscanvas) \
389 390 391
	guesslang \
	$(if $(filter DESKTOP,$(BUILD_TYPE)),helplinker) \
	i18npool \
392
	i18nsearch \
393
    gie \
394
	hyphen \
395
    icg \
396
	$(if $(ENABLE_JAVA),jdbc) \
397
	ldapbe2 \
398
	$(if $(filter WNT,$(OS)),WinUserInfoBe) \
399
	localebe1 \
400
	log \
401 402
	lng \
	lnth \
403
	$(if $(filter $(OS),MACOSX),macbe1) \
404
	$(if $(MERGELIBS),merged) \
405 406
	migrationoo2 \
	migrationoo3 \
407
	msfilter \
408
	$(call gb_Helper_optional,SCRIPTING,msforms) \
409
	mtfrenderer \
410
	$(call gb_Helper_optional,DBCONNECTIVITY,mysql) \
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 $(ENABLE_HEADLESS),,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
	$(if $(USING_X11), \
466 467
		vclplug_gen \
	) \
468
	writerperfect \
469 470 471 472 473 474 475
	xmlscript \
	xmlfa \
	xmlfd \
	xo \
	xof \
	xsltdlg \
	xsltfilter \
476 477
	mork \
	mozbootstrap \
Matúš Kukan's avatar
Matúš Kukan committed
478 479
	$(if $(filter $(OS),WNT), \
		ado \
480
		oleautobridge \
Matúš Kukan's avatar
Matúš Kukan committed
481 482 483 484
		smplmail \
		wininetbe1 \
	) \
	$(if $(filter $(OS),MACOSX), \
485 486 487
		$(if $(ENABLE_MACOSX_SANDBOX),, \
			AppleRemote \
		) \
Matúš Kukan's avatar
Matúš Kukan committed
488 489 490
		fps_aqua \
		MacOSXSpell \
	) \
491 492
))

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

499 500 501 502
$(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,firebirdsdbc, \
	$(if $(ENABLE_FIREBIRD_SDBC),firebird_sdbc) \
))

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

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

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

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

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

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

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

598
$(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_OOO,ooo, \
599
	$(if $(ENABLE_VLC),avmediavlc) \
600
	$(if $(ENABLE_GSTREAMER_1_0),avmediagst) \
601
	$(if $(ENABLE_GSTREAMER_0_10),avmediagst_0_10) \
602
	$(if $(filter WNT,$(OS)),avmediawin) \
603
	cached1 \
604
	collator_data \
605
	comphelper \
606
	$(call gb_Helper_optional,DBCONNECTIVITY,dbpool2) \
607
	$(call gb_Helper_optional,BREAKPAD,crashreport) \
608
	deployment \
609 610 611 612
	deploymentgui \
	dict_ja \
	dict_zh \
	embobj \
613
	$(if $(ENABLE_JAVA),hsqldb) \
614
	i18nutil \
615
	index_data \
616
	$(if $(and $(ENABLE_GTK3), $(filter LINUX %BSD SOLARIS,$(OS))), libreofficekitgtk) \
617 618 619 620
	localedata_en \
	localedata_es \
	localedata_euro \
	localedata_others \
621
	mcnttype \
622 623 624
	$(if $(ENABLE_JAVA), \
		$(if $(filter $(OS),MACOSX),,officebean) \
	) \
625
	emboleobj \
626
	package2 \
627
	$(if $(USING_X11),recentfile) \
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 728
	mysqlc \
	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 894 895 896 897 898 899 900 901 902 903 904 905
	$(if $(filter WNT,$(OS)),extras_newfiles) \
	extras_palettes \
	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 \
906
	framework_dtd \
907
	$(if $(filter $(OS),MACOSX),infoplist) \
908 909
	oox_customshapes \
	oox_generated \
910
	package_dtd \
911 912
	sd_web \
	sfx2_emojiconfig \
913 914
	$(call gb_Helper_optional,DESKTOP,\
		$(if $(filter-out WNT,$(OS)),$(if $(ENABLE_MACOSX_SANDBOX),,shell_senddoc))) \
915
	$(call gb_Helper_optional,DESKTOP,$(if $(filter-out MACOSX WNT,$(OS)),svx_gengal)) \
916 917
	$(if $(USING_X11),vcl_fontunxppds) \
	$(if $(filter $(OS),MACOSX),vcl_osxres) \
918 919
	xmloff_dtd \
	xmlscript_dtd \
David Tardon's avatar
David Tardon committed
920
	xmlhelp_helpxsl \
921 922 923 924 925 926 927
	$(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) \
928 929
	$(if $(filter $(OS),MACOSX),sysui_osxicons) \
	wizards_basicshare \
930 931 932 933 934 935
	wizards_basicsrvaccess2base \
	wizards_basicsrvdepot \
	wizards_basicsrveuro \
	wizards_basicsrvgimmicks \
	wizards_basicsrvimport \
	wizards_basicsrvform \
936
	wizards_basicsrvstandard \
937 938 939
	wizards_basicsrvtemplate \
	wizards_basicsrvtools \
	wizards_basicsrvtutorials \
940
	wizards_basicusr \
941 942
	wizards_properties \
	wizards_wizardshare \
Thorsten Behrens's avatar
Thorsten Behrens committed
943 944 945
	$(if $(ENABLE_HEADLESS),, \
		chart2_opengl_shader \
	) \
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 972
	$(if $(USING_X11)$(ENABLE_HEADLESS)$(filter ANDROID,$(OS)), \
		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_scheherazade \
992 993 994
	) \
))

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

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

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

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

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

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

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

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

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

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

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

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

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

# UI configuration
$(eval $(call gb_Helper_register_uiconfigs,\
	cui \
	$(call gb_Helper_optional,DBCONNECTIVITY,dbaccess) \
	desktop \
1135
	editeng \
1136 1137 1138
	filter \
	formula \
	fps \
1139
	libreofficekit \
1140 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
	$(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 \
1174
	$(if $(ENABLE_NSS),xmlsec) \
1175 1176
))

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

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