1# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
2#
3# This file is part of the LibreOffice project.
4#
5# This Source Code Form is subject to the terms of the Mozilla Public
6# License, v. 2.0. If a copy of the MPL was not distributed with this
7# file, You can obtain one at http://mozilla.org/MPL/2.0/.
8#
9
10$(eval $(call gb_Module_Module,extras))
11
12$(eval $(call gb_Module_add_targets,extras,\
13	CustomTarget_autocorr \
14	CustomTarget_autotextuser \
15	CustomTarget_glade \
16	CustomTarget_tplofficorr \
17	CustomTarget_tploffimisc \
18	CustomTarget_tplpersonal \
19	CustomTarget_tplpresnt \
20	CustomTarget_tpl_styles \
21	Package_autocorr \
22	Package_autotextuser \
23	Package_cfgsrvnolang \
24	Package_cfgusr \
25	Package_database \
26	Package_databasebiblio \
27	Package_fonts \
28	Package_gallbullets \
29	Package_gallhtmlexpo \
30	Package_gallmytheme \
31	Package_gallroot \
32	Package_gallsystem \
33	Package_gallwwwgraf \
34	Package_glade \
35	Package_labels \
36	$(if $(filter WNT,$(OS)),Package_newfiles) \
37	Package_palettes \
38	Package_tplofficorr \
39	Package_tploffimisc \
40	Package_tplpersonal \
41	Package_tplpresnt \
42	Package_tpl_styles \
43	Package_tplwizagenda \
44	Package_tplwizbitmap \
45	Package_tplwizdesktop \
46	Package_tplwizfax \
47	Package_tplwizletter \
48	Package_tplwizreport \
49	Package_tplwizstyles \
50	Package_wordbook \
51))
52
53$(eval $(call gb_Module_add_l10n_targets,extras,\
54	CustomTarget_autotextshare \
55	AllLangPackage_autotextshare \
56))
57
58ifneq ($(WITH_GALLERY_BUILD),)
59$(eval $(call gb_Module_add_targets,extras,\
60	Gallery_arrows \
61	Gallery_backgrounds \
62	Gallery_computers \
63	Gallery_diagrams \
64	Gallery_education \
65	Gallery_environment \
66	Gallery_finance \
67	Gallery_people \
68	Gallery_symbols \
69	Gallery_sound \
70	Gallery_txtshapes \
71	Gallery_transportation \
72))
73endif
74
75$(eval $(call gb_Module_add_targets,extras,\
76	Personas \
77))
78
79$(eval $(call gb_Module_add_targets,extras,\
80	CustomTarget_opensymbol \
81))
82
83# For configurations that use fontconfig (cf. inclusion of
84# vcl/unx/generic/fontmanager/fontconfig.cxx in Library_vcl), add
85# instdir/share/fonts/truetype/fc_local.conf when it shall
86# contain content from at least one of external/more_fonts/fc_local.snippet
87# (conditional on MORE_FONTS in BUILD_TYPE) and
88# extras/source/truetype/symbol/fc_local.snippet (unconditional):
89ifneq ($(USING_X11)$(DISABLE_GUI)$(filter ANDROID,$(OS)),)
90$(eval $(call gb_Module_add_targets,extras, \
91    CustomTarget_fontconfig \
92    Package_fontconfig \
93))
94endif
95
96# vim: set noet sw=4 ts=4:
97