X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=lib%2FMakefile.am;h=d878e5fa2e1b24d4395f71c384a75318adb30f49;hb=ed02dbd550e1e068ae06b1ec5969fe1c49aec357;hp=26f024b447b4e50925389ccd99079cea4d4bd01e;hpb=842c2b97eab577484edae763770dfd1440490818;p=babeltrace.git diff --git a/lib/Makefile.am b/lib/Makefile.am index 26f024b4..d878e5fa 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am @@ -5,11 +5,26 @@ AM_CFLAGS = $(PACKAGE_CFLAGS) -I$(top_srcdir)/include lib_LTLIBRARIES = libbabeltrace.la libbabeltrace_la_SOURCES = babeltrace.c \ - callbacks.c \ iterator.c \ context.c \ - trace-handle.c + trace-handle.c \ + trace-collection.c \ + registry.c + +libbabeltrace_la_LDFLAGS = -version-info $(BABELTRACE_LIBRARY_VERSION) + +if ENABLE_DEBUGINFO +noinst_LTLIBRARIES = libdebuginfo.la + +libdebuginfo_la_SOURCES = debuginfo.c \ + so-info.c \ + dwarf.c \ + crc32.c \ + utils.c +libdebuginfo_la_LDFLAGS = -lelf -ldw +endif libbabeltrace_la_LIBADD = \ + prio_heap/libprio_heap.la \ $(top_builddir)/types/libbabeltrace_types.la \ - prio_heap/libprio_heap.la + $(top_builddir)/compat/libcompat.la