Commit | Line | Data |
---|---|---|
c283522b | 1 | SUBDIRS = |
1e638f98 FD |
2 | |
3 | babeltrace_plugin_lttng_utils_la_LIBADD = | |
4 | ||
c283522b FD |
5 | if ENABLE_DEBUG_INFO |
6 | SUBDIRS += debug-info | |
1e638f98 FD |
7 | babeltrace_plugin_lttng_utils_la_LIBADD += \ |
8 | debug-info/libdebug-info.la | |
c283522b | 9 | endif |
4f45f9bb | 10 | |
c283522b | 11 | AM_CPPFLAGS += -I$(top_srcdir)/plugins |
4f45f9bb JD |
12 | |
13 | plugindir = "$(PLUGINSDIR)" | |
22e7ae19 | 14 | plugin_LTLIBRARIES = babeltrace-plugin-lttng-utils.la |
4f45f9bb | 15 | |
22e7ae19 | 16 | babeltrace_plugin_lttng_utils_la_SOURCES = \ |
c283522b | 17 | plugin.c |
4f45f9bb | 18 | |
22e7ae19 | 19 | babeltrace_plugin_lttng_utils_la_LDFLAGS = \ |
c5410abe | 20 | $(LT_NO_UNDEFINED) \ |
22e7ae19 | 21 | -avoid-version -module \ |
901e5c12 | 22 | $(ELFUTILS_LIBS) |
4f45f9bb | 23 | |
9ffc0257 | 24 | if !ENABLE_BUILT_IN_PLUGINS |
77ca3096 | 25 | babeltrace_plugin_lttng_utils_la_LIBADD += \ |
a12f3d62 MJ |
26 | $(top_builddir)/lib/libbabeltrace2.la \ |
27 | $(top_builddir)/common/libbabeltrace2-common.la \ | |
28 | $(top_builddir)/logging/libbabeltrace2-logging.la | |
c3ddb532 | 29 | endif |