X-Git-Url: http://git.lttng.org/?p=ust.git;a=blobdiff_plain;f=libust%2FMakefile.am;h=44addf0d92f1536acf00cd7f167315f662caa71f;hp=1f18f8b90adc396f614ff8f442a89e3ba8b0d3eb;hb=HEAD;hpb=2028e7fd97170e430b55b8c0e1a6ca1edca7680c diff --git a/libust/Makefile.am b/libust/Makefile.am index 1f18f8b..44addf0 100644 --- a/libust/Makefile.am +++ b/libust/Makefile.am @@ -1,8 +1,34 @@ -INCLUDES = -I$(top_builddir)/share -I$(top_builddir)/libustcomm \ - $(KCOMPAT_CFLAGS) $(URCU_CFLAGS) +AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/libustcomm +AM_CFLAGS = -fno-strict-aliasing lib_LTLIBRARIES = libust.la -libust_la_SOURCES = marker.c marker.h tracepoint.c tracepoint.h immediate.h channels.c channels.h marker-control.c marker-control.h relay.c relay.h tracer.c tracer.h tracercore.c tracercore.h serialize.c tracectl.c $(top_builddir)/libustcomm/ustcomm.c $(top_builddir)/share/usterr.h localerr.h + +libust_la_SOURCES = \ + marker.c \ + tracepoint.c \ + trace_event.c \ + channels.c \ + channels.h \ + marker-control.c \ + marker-control.h \ + buffers.c \ + buffers.h \ + tracer.c \ + tracer.h \ + tracercore.c \ + tracercore.h \ + serialize.c \ + tracectl.c \ + tracerconst.h \ + type-serializer.h \ + type-serializer.c + libust_la_LDFLAGS = -no-undefined -version-info 0:0:0 -libust_la_LIBADD = $(URCU_LIBS) -lpthread -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