Fix: race between lttng-ust getenv() and application setenv()
[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 perf_event.h
65 endif
66
67 liblttng_ust_support_la_SOURCES = \
68 lttng-tracer.h \
69 lttng-tracer-core.h \
70 ust-core.c \
71 getenv.h \
72 getenv.c \
73 lttng-ust-dynamic-type.c \
74 lttng-rb-clients.h \
75 lttng-ring-buffer-client.h \
76 lttng-ring-buffer-client-discard.c \
77 lttng-ring-buffer-client-discard-rt.c \
78 lttng-ring-buffer-client-overwrite.c \
79 lttng-ring-buffer-client-overwrite-rt.c \
80 lttng-ring-buffer-metadata-client.h \
81 lttng-ring-buffer-metadata-client.c \
82 lttng-clock.c lttng-getcpu.c
83
84 liblttng_ust_la_SOURCES =
85
86 liblttng_ust_la_LDFLAGS = -no-undefined -version-info $(LTTNG_UST_LIBRARY_VERSION)
87
88 liblttng_ust_support_la_LIBADD = \
89 $(top_builddir)/libringbuffer/libringbuffer.la
90
91 liblttng_ust_la_LIBADD = \
92 -lpthread \
93 -lrt \
94 -lurcu-cds \
95 -ldl \
96 $(top_builddir)/snprintf/libustsnprintf.la \
97 $(top_builddir)/liblttng-ust-comm/liblttng-ust-comm.la \
98 liblttng-ust-tracepoint.la \
99 liblttng-ust-runtime.la liblttng-ust-support.la
100
101 liblttng_ust_la_CFLAGS = -DUST_COMPONENT="liblttng_ust" -fno-strict-aliasing
This page took 0.035704 seconds and 5 git commands to generate.