X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=lib%2FMakefile.am;h=d878e5fa2e1b24d4395f71c384a75318adb30f49;hb=beef86dc741318692ee1affa5a733a0ec4d6fd3d;hp=cb3597d7622b7a99f9a1688d5a3c421b20515c82;hpb=95d36295f18e15c7f68a97fbab3eb1961d21cd70;p=deliverable%2Fbabeltrace.git diff --git a/lib/Makefile.am b/lib/Makefile.am index cb3597d76..d878e5fa2 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am @@ -5,10 +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 + context.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