X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=libust%2FMakefile.am;h=960ef2a303f963903679dd6a4f37e32f3499428f;hb=a6352fd40a2090fd883a6c369144bf405c9e9ec4;hp=e3d454194d48da2f6d70f81e112e206dac0ffa57;hpb=63fe14e5d4e408cff3d8746c5b0dc3eb08448d8e;p=lttng-ust.git diff --git a/libust/Makefile.am b/libust/Makefile.am index e3d45419..960ef2a3 100644 --- a/libust/Makefile.am +++ b/libust/Makefile.am @@ -1,7 +1,23 @@ -INCLUDES = -I$(top_builddir)/share -I$(top_builddir)/libustcomm \ - $(KCOMPAT_CFLAGS) $(URCU_CFLAGS) +AM_CPPFLAGS = -I$(top_srcdir)/include +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 = \ + tracepoint.c \ + trace_event.c \ + tracer.h \ + tracercore.c \ + tracercore.h \ + tracerconst.h + +#removed: buffers.c buffers.h + libust_la_LDFLAGS = -no-undefined -version-info 0:0:0 -libust_la_LIBADD = $(URCU_LIBS) -lpthread + +libust_la_LIBADD = \ + -lpthread \ + -lrt \ + $(top_builddir)/snprintf/libustsnprintf.la + +libust_la_CFLAGS = -DUST_COMPONENT="libust" -fno-strict-aliasing