gitg/plugins/history/Makefile.am

60 lines
1.7 KiB
Text
Raw Normal View History

2012-04-14 11:46:39 +00:00
INCLUDES = \
-I$(top_srcdir) \
-I$(srcdir) \
$(GITG_PLUGIN_CFLAGS) \
$(WARN_CFLAGS) \
-DDATADIR=\""$(datadir)"\" \
-DLIBDIR=\""$(libdir)"\"
2012-07-18 15:36:24 +00:00
gsettings_SCHEMAS = org.gnome.gitg.history.gschema.xml
@INTLTOOL_XML_NOMERGE_RULE@
@GSETTINGS_RULES@
2012-04-14 11:46:39 +00:00
plugindir = $(GITG_PLUGIN_LIBDIR)
plugin_LTLIBRARIES = libhistory.la
plugin_DATA = history.plugin
VALAFLAGS = $(GITG_PLUGIN_VALAFLAGS)
VALA_SOURCES = \
2012-04-15 12:58:01 +00:00
gitg-history.vala \
gitg-history-navigation.vala \
2012-07-18 15:36:24 +00:00
gitg-history-command-line.vala \
gitg-history-preferences.vala
2012-04-14 11:46:39 +00:00
libhistory_la_LDFLAGS = $(GITG_PLUGIN_LIBTOOL_FLAGS)
libhistory_la_LIBADD = $(GITG_PLUGIN_LIBS)
libhistory_la_CFLAGS = -w
2012-04-15 12:58:01 +00:00
libhistory_la_SOURCES = \
2012-04-14 11:46:39 +00:00
$(VALA_SOURCES) \
gitg-history-resources.c
2012-04-15 12:58:01 +00:00
BUILT_SOURCES = \
gitg-history-resources.c \
2012-04-14 11:46:39 +00:00
gitg-history-resources.h
gitg-history-resources.c: resources/resources.xml $(shell $(GLIB_COMPILE_RESOURCES) --generate-dependencies --sourcedir $(srcdir)/resources resources/resources.xml)
$(GLIB_COMPILE_RESOURCES) --generate-source \
--sourcedir $(srcdir)/resources \
--target "$@" "$<"
gitg-history-resources.h: resources/resources.xml $(shell $(GLIB_COMPILE_RESOURCES) --generate-dependencies --sourcedir $(srcdir)/resources resources/resources.xml)
$(GLIB_COMPILE_RESOURCES) --generate-header \
--sourcedir $(srcdir)/resources \
--target "$@" "$<"
EXTRA_DIST = $(plugin_DATA) \
resources/resources.xml \
$(shell $(GLIB_COMPILE_RESOURCES) --generate-dependencies --sourcedir $(srcdir)/resources resources/resources.xml)
CLEANFILES = \
$(VALA_SOURCES:.vala=.c) \
2012-07-06 16:49:19 +00:00
$(BUILT_SOURCES) \
libhistory_la_vala.stamp
2012-04-14 11:46:39 +00:00
install-data-hook:
rm -f $(GITG_PLUGIN_LIBDIR)/libhistory.la
-include $(top_srcdir)/git.mk