Fix: remove invalid free
[lttng-ust.git] / liblttng-ust / Makefile.am
1 AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_builddir)/include
2 AM_CFLAGS = -fno-strict-aliasing
3
4 noinst_LTLIBRARIES = liblttng-ust-runtime.la liblttng-ust-support.la
5
6 lib_LTLIBRARIES = liblttng-ust-tracepoint.la liblttng-ust.la
7
8 liblttng_ust_tracepoint_la_SOURCES = \
9 tracepoint.c \
10 tracepoint-weak-test.c \
11 tracepoint-internal.h \
12 lttng-tracer-core.h \
13 jhash.h \
14 error.h
15 liblttng_ust_tracepoint_la_LIBADD = \
16 -lurcu-bp \
17 -lpthread \
18 $(top_builddir)/snprintf/libustsnprintf.la
19 liblttng_ust_tracepoint_la_LDFLAGS = -no-undefined -version-info $(LTTNG_UST_LIBRARY_VERSION)
20 liblttng_ust_tracepoint_la_CFLAGS = -DUST_COMPONENT="liblttng_ust_tracepoint" -fno-strict-aliasing
21
22 liblttng_ust_runtime_la_SOURCES = \
23 lttng-ust-comm.c \
24 lttng-ust-abi.c \
25 lttng-probes.c \
26 lttng-context-provider.c \
27 lttng-context-vtid.c \
28 lttng-context-vpid.c \
29 lttng-context-pthread-id.c \
30 lttng-context-procname.c \
31 lttng-context-ip.c \
32 lttng-context-cpu-id.c \
33 lttng-context.c \
34 lttng-events.c \
35 lttng-filter.c \
36 lttng-filter.h \
37 lttng-filter-validator.c \
38 lttng-filter-specialize.c \
39 lttng-filter-interpreter.c \
40 filter-bytecode.h \
41 lttng-hash-helper.h \
42 lttng-ust-elf.c \
43 lttng-ust-statedump.c \
44 lttng-ust-statedump.h \
45 lttng-ust-statedump-provider.h \
46 ust_lib.c \
47 ust_lib.h \
48 tracepoint-internal.h \
49 clock.h \
50 compat.h \
51 wait.h \
52 jhash.h \
53 lttng-ust-uuid.h \
54 error.h \
55 tracef.c \
56 lttng-ust-tracef-provider.h \
57 tracelog.c \
58 lttng-ust-tracelog-provider.h \
59 getenv.h
60
61 if HAVE_PERF_EVENT
62 liblttng_ust_runtime_la_SOURCES += \
63 lttng-context-perf-counters.c
64 endif
65
66 liblttng_ust_support_la_SOURCES = \
67 lttng-tracer.h \
68 lttng-tracer-core.h \
69 ust-core.c \
70 lttng-ust-dynamic-type.c \
71 lttng-rb-clients.h \
72 lttng-ring-buffer-client.h \
73 lttng-ring-buffer-client-discard.c \
74 lttng-ring-buffer-client-discard-rt.c \
75 lttng-ring-buffer-client-overwrite.c \
76 lttng-ring-buffer-client-overwrite-rt.c \
77 lttng-ring-buffer-metadata-client.h \
78 lttng-ring-buffer-metadata-client.c \
79 lttng-clock.c lttng-getcpu.c
80
81 liblttng_ust_la_SOURCES =
82
83 liblttng_ust_la_LDFLAGS = -no-undefined -version-info $(LTTNG_UST_LIBRARY_VERSION)
84
85 liblttng_ust_support_la_LIBADD = \
86 $(top_builddir)/libringbuffer/libringbuffer.la
87
88 liblttng_ust_la_LIBADD = \
89 -lpthread \
90 -lrt \
91 -lurcu-cds \
92 -ldl \
93 $(top_builddir)/snprintf/libustsnprintf.la \
94 $(top_builddir)/liblttng-ust-comm/liblttng-ust-comm.la \
95 liblttng-ust-tracepoint.la \
96 liblttng-ust-runtime.la liblttng-ust-support.la
97
98 liblttng_ust_la_CFLAGS = -DUST_COMPONENT="liblttng_ust" -fno-strict-aliasing
This page took 0.032953 seconds and 5 git commands to generate.