X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=plugins%2Ftext%2FMakefile.am;h=3dc5f3be6ea463446d81e61adbec8423181f9ed9;hb=2c212c058851bd675a5ff33ac0bff981458497be;hp=0abdfb63834b7ebca60769c85ef3e48274aa991e;hpb=ad96d93646ede91f93d3630b7e6d655f0edf1b3b;p=babeltrace.git diff --git a/plugins/text/Makefile.am b/plugins/text/Makefile.am index 0abdfb63..3dc5f3be 100644 --- a/plugins/text/Makefile.am +++ b/plugins/text/Makefile.am @@ -1,20 +1,23 @@ -AM_CFLAGS = $(PACKAGE_CFLAGS) -I$(top_srcdir)/include -I$(top_srcdir)/plugins +AM_CPPFLAGS += -I$(top_srcdir)/plugins -SUBDIRS = . +SUBDIRS = pretty dmesg . plugindir = "$(PLUGINSDIR)" -plugin_LTLIBRARIES = libbabeltrace-plugin-ctf-text.la +plugin_LTLIBRARIES = babeltrace-plugin-text.la -# ctf-text plugin -libbabeltrace_plugin_ctf_text_la_SOURCES = \ - text.c \ - print.c \ - text.h +babeltrace_plugin_text_la_SOURCES = plugin.c +babeltrace_plugin_text_la_LDFLAGS = \ + $(LT_NO_UNDEFINED) \ + -avoid-version -module -libbabeltrace_plugin_ctf_text_la_LDFLAGS = \ - -version-info $(BABELTRACE_LIBRARY_VERSION) +babeltrace_plugin_text_la_LIBADD = \ + pretty/libbabeltrace-plugin-text-pretty-cc.la \ + dmesg/libbabeltrace-plugin-text-dmesg-cc.la -libbabeltrace_plugin_ctf_text_la_LIBADD = \ +if !ENABLE_BUILT_IN_PLUGINS +babeltrace_plugin_text_la_LIBADD += \ $(top_builddir)/lib/libbabeltrace.la \ - $(top_builddir)/formats/ctf/libbabeltrace-ctf.la \ - $(top_builddir)/common/libbabeltrace-common.la + $(top_builddir)/common/libbabeltrace-common.la \ + $(top_builddir)/logging/libbabeltrace-logging.la \ + $(top_builddir)/compat/libcompat.la +endif