gitg/plugins/history/Makefile.am
Techlive Zheng 5e35e3a67a Revert changes made in commit ed7abdb for building with libgd
After porting to GtkStack, we do not need them any more.
2013-05-30 20:20:08 +02:00

62 lines
1.8 KiB
Makefile

INCLUDES = \
-I$(top_srcdir) \
-I$(srcdir) \
-I$(top_srcdir)/libgd \
$(GITG_PLUGIN_CFLAGS) \
$(WARN_CFLAGS) \
-DDATADIR=\""$(datadir)"\" \
-DLIBDIR=\""$(libdir)"\"
gsettings_SCHEMAS = org.gnome.gitg.history.gschema.xml
@INTLTOOL_XML_NOMERGE_RULE@
@GSETTINGS_RULES@
plugindir = $(GITG_PLUGIN_LIBDIR)
plugin_LTLIBRARIES = libhistory.la
plugin_DATA = history.plugin
AM_VALAFLAGS = $(GITG_PLUGIN_VALAFLAGS)
VALA_SOURCES = \
gitg-history.vala \
gitg-history-navigation.vala \
gitg-history-command-line.vala \
gitg-history-preferences.vala
libhistory_la_LDFLAGS = $(GITG_PLUGIN_LIBTOOL_FLAGS)
libhistory_la_LIBADD = $(GITG_PLUGIN_LIBS)
libhistory_la_CFLAGS = -w
libhistory_la_SOURCES = \
$(VALA_SOURCES) \
gitg-history-resources.c
BUILT_SOURCES = \
gitg-history-resources.c \
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 = \
$(gsettings_SCHEMAS) \
$(VALA_SOURCES:.vala=.c) \
$(BUILT_SOURCES) \
libhistory_la_vala.stamp
install-data-hook:
rm -f $(GITG_PLUGIN_LIBDIR)/libhistory.la
-include $(top_srcdir)/git.mk