X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=lib%2FMakefile.am;h=1587af8972e1ccf9ab9360be0dfa3d3efcd4f922;hb=1036949d6618b78b67f254dd73f10be158f49cb8;hp=fa591aef6b82b7d9020ab93a699b4509cbb5bebe;hpb=5c5facc70af60670ec8f53b9d90d13722a8477f4;p=deliverable%2Fbabeltrace.git diff --git a/lib/Makefile.am b/lib/Makefile.am index fa591aef6..1587af897 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am @@ -5,14 +5,27 @@ 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-collection.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 +libdebuginfo_la_LIBADD = libbabeltrace.la +endif libbabeltrace_la_LIBADD = \ + prio_heap/libprio_heap.la \ $(top_builddir)/types/libbabeltrace_types.la \ - $(top_builddir)/formats/libbabeltrace_registry.la \ - $(top_builddir)/formats/ctf/libctf.la \ - prio_heap/libprio_heap.la + $(top_builddir)/compat/libcompat.la