gnome-control-center/panels/common/Makefile.am

39 lines
1.1 KiB
Text
Raw Normal View History

# This is used in PANEL_CFLAGS
2011-01-24 18:23:35 +00:00
cappletname = common
noinst_LTLIBRARIES = liblanguage.la
2011-01-24 18:16:57 +00:00
AM_CPPFLAGS = \
$(PANEL_CFLAGS) \
$(LIBLANGUAGE_CFLAGS)
BUILT_SOURCES = \
cc-common-resources.c \
cc-common-resources.h
2011-01-24 18:16:57 +00:00
liblanguage_la_SOURCES = \
$(BUILT_SOURCES) \
cc-util.c \
cc-util.h \
2011-01-24 18:16:57 +00:00
cc-common-language.c \
cc-common-language.h \
cc-language-chooser.c \
cc-language-chooser.h
2011-01-24 18:16:57 +00:00
liblanguage_la_LIBADD = \
$(LIBLANGUAGE_LIBS)
2011-01-24 18:16:57 +00:00
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)
2011-01-24 18:16:57 +00:00
-include $(top_srcdir)/git.mk