if ENABLE_SYMBOL_TREE_PLUGIN

DISTCLEANFILES =
BUILT_SOURCES =
CLEANFILES =
EXTRA_DIST = $(plugin_DATA)

plugindir = $(libdir)/gnome-builder/plugins
plugin_LTLIBRARIES = libsymbol-tree.la
dist_plugin_DATA = symbol-tree.plugin

libsymbol_tree_la_SOURCES = \
	symbol-tree-builder.c \
	symbol-tree-builder.h \
	symbol-tree-panel.c \
	symbol-tree-panel.h \
	symbol-tree.c \
	symbol-tree.h \
	$(NULL)

nodist_libsymbol_tree_la_SOURCES = \
	symbol-tree-resources.c \
	symbol-tree-resources.h

libsymbol_tree_la_CFLAGS = $(PLUGIN_CFLAGS)
libsymbol_tree_la_LDFLAGS = $(PLUGIN_LDFLAGS)

glib_resources_c = symbol-tree-resources.c
glib_resources_h = symbol-tree-resources.h
glib_resources_xml = symbol-tree.gresource.xml
glib_resources_namespace = symbol_tree
include $(top_srcdir)/build/autotools/Makefile.am.gresources

include $(top_srcdir)/plugins/Makefile.plugin

endif

-include $(top_srcdir)/git.mk
