X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=libust%2FMakefile.am;h=cb00e179dc7d8320b6f19e2d9a16a23839621459;hb=c1ef86f0812ff62354175f4c7136930814b8f850;hp=1bc6110e9780c906990704baeb0cc9a6b01f64e0;hpb=79d4d5458786d6d946e9c44580e3a2cc8000736e;p=lttng-ust.git diff --git a/libust/Makefile.am b/libust/Makefile.am index 1bc6110e..cb00e179 100644 --- a/libust/Makefile.am +++ b/libust/Makefile.am @@ -1,7 +1,37 @@ -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.c $(top_builddir)/share/usterr.h + +libust_la_SOURCES = \ + tracepoint.c \ + ltt-tracer.h \ + ltt-tracer-core.h \ + ltt-ring-buffer-client.h \ + ltt-ring-buffer-client-discard.c \ + ltt-ring-buffer-client-overwrite.c \ + ltt-ring-buffer-metadata-client.h \ + ltt-ring-buffer-metadata-client.c \ + ltt-events.c \ + ltt-probes.c \ + lttng-ust-abi.c \ + lttng-ust-comm.c \ + ust-core.c \ + probes/lttng-probe-ust.c \ + probes/lttng-probe-ust.h \ + lttng-context-vtid.c \ + lttng-context-vpid.c \ + lttng-context-pthread-id.c \ + ltt-context.c + libust_la_LDFLAGS = -no-undefined -version-info 0:0:0 -libust_la_LIBADD = $(URCU_LIBS) -lpthread + +libust_la_LIBADD = \ + -lpthread \ + -lrt \ + -luuid \ + $(top_builddir)/snprintf/libustsnprintf.la \ + $(top_builddir)/libringbuffer/libringbuffer.la \ + $(top_builddir)/liblttng-ust-comm/liblttng-ust-comm.la + +libust_la_CFLAGS = -DUST_COMPONENT="libust" -fno-strict-aliasing