X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=converter%2FMakefile.am;h=a0eafaa05ab00fb3b1d8f41f5886e0070db50656;hb=ad6a19bd28bc5c31c4a03468ee5eb80a81c6443f;hp=b7e126458b3c43d5ef09c5d6a71f136c207ef659;hpb=3b37d46561d6c6edba3b729f48a0f72699dcdc20;p=babeltrace.git diff --git a/converter/Makefile.am b/converter/Makefile.am index b7e12645..a0eafaa0 100644 --- a/converter/Makefile.am +++ b/converter/Makefile.am @@ -4,7 +4,9 @@ AM_LDFLAGS = -lpopt bin_PROGRAMS = babeltrace babeltrace-log babeltrace_SOURCES = \ - babeltrace.c + babeltrace.c \ + babeltrace-cfg.c \ + babeltrace-cfg.h # -Wl,--no-as-needed is needed for recent gold linker who seems to think # it knows better and considers libraries with constructors having @@ -23,6 +25,10 @@ if ENABLE_DEBUG_INFO babeltrace_LDADD += $(top_builddir)/lib/libdebug-info.la endif +if BUILT_IN_PLUGINS +babeltrace_LDFLAGS += -Wl,--whole-archive,$(top_builddir)/plugins/ctf/.libs/libbabeltrace-plugin-ctf.a,$(top_builddir)/plugins/text/.libs/libbabeltrace-plugin-ctf-text.a,$(top_builddir)/plugins/muxer/.libs/libbabeltrace-plugin-muxer.a,--no-whole-archive +endif + babeltrace_log_SOURCES = babeltrace-log.c babeltrace_log_LDADD = \