AM_CFLAGS = $(PACKAGE_CFLAGS) -I$(top_srcdir)/include -I$(builddir) SUBDIRS = types metadata writer ir . lib_LTLIBRARIES = libbabeltrace-ctf.la libbabeltrace_ctf_la_SOURCES = \ ctf.c \ events.c \ iterator.c \ callbacks.c \ events-private.h # Request that the linker keeps all static libraries objects. libbabeltrace_ctf_la_LDFLAGS = \ $(LD_NO_AS_NEEDED) -version-info $(BABELTRACE_LIBRARY_VERSION) libbabeltrace_ctf_la_LIBADD = \ $(top_builddir)/lib/libbabeltrace.la \ types/libctf-types.la \ metadata/libctf-parser.la \ metadata/libctf-ast.la \ writer/libctf-writer.la \ ir/libctf-ir.la if ENABLE_DEBUG_INFO libbabeltrace_ctf_la_LIBADD += $(top_builddir)/lib/libdebug-info.la endif