2012-04-14 11:46:39 +00:00
|
|
|
INCLUDES = \
|
|
|
|
-I$(top_srcdir) \
|
|
|
|
-I$(srcdir) \
|
|
|
|
$(GITG_PLUGIN_CFLAGS) \
|
|
|
|
$(WARN_CFLAGS) \
|
|
|
|
-DDATADIR=\""$(datadir)"\" \
|
|
|
|
-DLIBDIR=\""$(libdir)"\"
|
|
|
|
|
|
|
|
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 \
|
2012-07-18 09:03:45 +00:00
|
|
|
gitg-history-navigation.vala \
|
|
|
|
gitg-history-command-line.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
|