gnome-control-center/panels/common/Makefile.am
Rui Matos cfa16a070d Move cc-util into panels/common
We need this in some panels too.
2013-02-19 12:25:54 +01:00

38 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-util.c \
cc-util.h \
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