This makes loading faster, with less I/O, avoids unnecessary code duplication (around 1k lines shaved), and ensures that all the panels link and work appropriately. By the same token, it will stop external panels from being created, and loaded. https://bugzilla.gnome.org/show_bug.cgi?id=690036
42 lines
980 B
Makefile
42 lines
980 B
Makefile
# This is used in PANEL_CFLAGS
|
|
cappletname = common
|
|
|
|
noinst_LTLIBRARIES = liblanguage.la
|
|
noinst_PROGRAMS = list-languages
|
|
|
|
AM_CPPFLAGS = \
|
|
$(PANEL_CFLAGS) \
|
|
$(LIBLANGUAGE_CFLAGS) \
|
|
-DDATADIR=\""$(datadir)"\" \
|
|
-DUIDIR=\""$(pkgdatadir)/ui"\" \
|
|
-DLIBLOCALEDIR=\""$(prefix)/lib/locale"\" \
|
|
-DGNOMELOCALEDIR=\""$(datadir)/locale"\" \
|
|
-DUM_PIXMAP_DIR=\""$(pkgdatadir)/pixmaps"\"
|
|
|
|
liblanguage_la_SOURCES = \
|
|
gdm-languages.h \
|
|
gdm-languages.c \
|
|
locarchive.h \
|
|
cc-common-language.c \
|
|
cc-common-language.h \
|
|
cc-language-chooser.c \
|
|
cc-language-chooser.h
|
|
|
|
liblanguage_la_LIBADD = \
|
|
$(LIBLANGUAGE_LIBS)
|
|
|
|
list_languages_SOURCES = list-languages.c
|
|
list_languages_LDADD = liblanguage.la
|
|
list_languages_CFLAGS = $(LIBLANGUAGE_CFLAGS)
|
|
|
|
uidir = $(pkgdatadir)/ui
|
|
|
|
dist_ui_DATA = \
|
|
language-chooser.ui
|
|
|
|
rulesdir = $(datadir)/polkit-1/rules.d/
|
|
rules_DATA = gnome-control-center.rules
|
|
|
|
EXTRA_DIST = $(rules_DATA)
|
|
|
|
-include $(top_srcdir)/git.mk
|