X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=libust%2FMakefile.am;h=697b4699d1f4e8f9d0aa436e1d16c5c2dfd39d3c;hb=86699c2035dd69428706ade2d6dfb150ada757cb;hp=e38956a9f4bd60f66838286964691cade7e5c4a5;hpb=bf0d695d692163edb23b8fbbbd976387dfef232d;p=ust.git diff --git a/libust/Makefile.am b/libust/Makefile.am index e38956a..697b469 100644 --- a/libust/Makefile.am +++ b/libust/Makefile.am @@ -1,9 +1,12 @@ AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/libustcomm +AM_CFLAGS = -fno-strict-aliasing lib_LTLIBRARIES = libust.la + libust_la_SOURCES = \ marker.c \ tracepoint.c \ + trace_event.c \ channels.c \ channels.h \ marker-control.c \ @@ -16,9 +19,16 @@ libust_la_SOURCES = \ tracercore.h \ serialize.c \ tracectl.c \ - $(top_builddir)/libustcomm/ustcomm.c \ tracerconst.h \ - header-inline.h + header-inline.h \ + type-serializer.c + libust_la_LDFLAGS = -no-undefined -version-info 0:0:0 -libust_la_LIBADD = -lpthread $(top_builddir)/snprintf/libustsnprintf.la -libust_la_CFLAGS = -DUST_COMPONENT="libust" + +libust_la_LIBADD = \ + -lpthread \ + -lrt \ + $(top_builddir)/snprintf/libustsnprintf.la \ + $(top_builddir)/libustcomm/libustcomm.la + +libust_la_CFLAGS = -DUST_COMPONENT="libust" -fno-strict-aliasing