X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=libust%2FMakefile.am;fp=libust%2FMakefile.am;h=cb5dc1291511d4a34a80439111dc466a58e19fa3;hb=c7dc133cff3db7336bb97fcb57c2dec559942518;hp=e38956a9f4bd60f66838286964691cade7e5c4a5;hpb=a09dac63957396890b1085cac0fee92ecc5db87a;p=ust.git diff --git a/libust/Makefile.am b/libust/Makefile.am index e38956a..cb5dc12 100644 --- a/libust/Makefile.am +++ b/libust/Makefile.am @@ -1,6 +1,7 @@ AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/libustcomm lib_LTLIBRARIES = libust.la + libust_la_SOURCES = \ marker.c \ tracepoint.c \ @@ -16,9 +17,14 @@ libust_la_SOURCES = \ tracercore.h \ serialize.c \ tracectl.c \ - $(top_builddir)/libustcomm/ustcomm.c \ tracerconst.h \ header-inline.h + libust_la_LDFLAGS = -no-undefined -version-info 0:0:0 -libust_la_LIBADD = -lpthread $(top_builddir)/snprintf/libustsnprintf.la + +libust_la_LIBADD = \ + -lpthread \ + $(top_builddir)/snprintf/libustsnprintf.la \ + $(top_builddir)/libustcomm/libustcomm.la + libust_la_CFLAGS = -DUST_COMPONENT="libust"