That code is useful for other core desktop modules. https://bugzilla.gnome.org/show_bug.cgi?id=692414
36 lines
1.1 KiB
Makefile
36 lines
1.1 KiB
Makefile
# This is used in PANEL_CFLAGS
|
|
cappletname = common
|
|
|
|
noinst_LTLIBRARIES = liblanguage.la
|
|
|
|
AM_CPPFLAGS = \
|
|
$(PANEL_CFLAGS) \
|
|
$(LIBLANGUAGE_CFLAGS)
|
|
|
|
BUILT_SOURCES = \
|
|
cc-common-resources.c \
|
|
cc-common-resources.h
|
|
|
|
liblanguage_la_SOURCES = \
|
|
$(BUILT_SOURCES) \
|
|
cc-common-language.c \
|
|
cc-common-language.h \
|
|
cc-language-chooser.c \
|
|
cc-language-chooser.h
|
|
|
|
liblanguage_la_LIBADD = \
|
|
$(LIBLANGUAGE_LIBS)
|
|
|
|
resource_files = $(shell glib-compile-resources --sourcedir=$(srcdir) --generate-dependencies $(srcdir)/common.gresource.xml)
|
|
cc-common-resources.c: common.gresource.xml $(resource_files)
|
|
$(AM_V_GEN) glib-compile-resources --target=$@ --sourcedir=$(srcdir) --generate-source --c-name cc_common $<
|
|
cc-common-resources.h: common.gresource.xml $(resource_files)
|
|
$(AM_V_GEN) glib-compile-resources --target=$@ --sourcedir=$(srcdir) --generate-header --c-name cc_common $<
|
|
|
|
rulesdir = $(datadir)/polkit-1/rules.d/
|
|
rules_DATA = gnome-control-center.rules
|
|
|
|
EXTRA_DIST = $(rules_DATA) $(resource_files) common.gresource.xml
|
|
CLEANFILES = $(BUILT_SOURCES)
|
|
|
|
-include $(top_srcdir)/git.mk
|