Fix: lttng perf counter deadlock
[lttng-ust.git] / liblttng-ust / Makefile.am
CommitLineData
b6e4919f 1AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_builddir)/include
e1c62734 2AM_CFLAGS += -fno-strict-aliasing
55355fa5 3
c1fca457
MD
4noinst_LTLIBRARIES = liblttng-ust-runtime.la liblttng-ust-support.la
5
8792fbae
MD
6lib_LTLIBRARIES = liblttng-ust-tracepoint.la liblttng-ust.la
7
8liblttng_ust_tracepoint_la_SOURCES = \
9 tracepoint.c \
5517d34d 10 tracepoint-weak-test.c \
8792fbae 11 tracepoint-internal.h \
7dd08bec 12 lttng-tracer-core.h \
8792fbae
MD
13 jhash.h \
14 error.h
9d4d2a63 15
8792fbae 16liblttng_ust_tracepoint_la_LIBADD = \
2723b9e6 17 -lurcu-bp \
01f0e40c 18 -lpthread \
9d4d2a63
MJ
19 $(top_builddir)/snprintf/libustsnprintf.la \
20 $(DL_LIBS)
21
8792fbae 22liblttng_ust_tracepoint_la_LDFLAGS = -no-undefined -version-info $(LTTNG_UST_LIBRARY_VERSION)
e1c62734 23liblttng_ust_tracepoint_la_CFLAGS = -DUST_COMPONENT="liblttng_ust_tracepoint" $(AM_CFLAGS)
c7dc133c 24
c1fca457 25liblttng_ust_runtime_la_SOURCES = \
5e96a467 26 lttng-ust-comm.c \
c1fca457 27 lttng-ust-abi.c \
7dd08bec 28 lttng-probes.c \
53569322 29 lttng-context-provider.c \
3b402b40 30 lttng-context-vtid.c \
c1ef86f0 31 lttng-context-vpid.c \
8173ec7c 32 lttng-context-pthread-id.c \
4847e9bb 33 lttng-context-procname.c \
96f85541 34 lttng-context-ip.c \
c7ea8487 35 lttng-context-cpu-id.c \
7dd08bec
MD
36 lttng-context.c \
37 lttng-events.c \
2d78951a 38 lttng-filter.c \
b9d1a008 39 lttng-filter.h \
97b58163
MD
40 lttng-filter-validator.c \
41 lttng-filter-specialize.c \
42 lttng-filter-interpreter.c \
cd54f6d9 43 filter-bytecode.h \
bf956ec0 44 lttng-hash-helper.h \
8e2aed3f 45 lttng-ust-elf.c \
cf73e0fe
AB
46 lttng-ust-statedump.c \
47 lttng-ust-statedump.h \
48 lttng-ust-statedump-provider.h \
97c7c238
MD
49 ust_lib.c \
50 ust_lib.h \
b728d87e
MD
51 tracepoint-internal.h \
52 clock.h \
f8b4fc8d 53 compat.h \
596c4223 54 wait.h \
8f3f8c99 55 jhash.h \
74d81a6c 56 lttng-ust-uuid.h \
641c659a
MD
57 error.h \
58 tracef.c \
730bf2af 59 lttng-ust-tracef-provider.h \
0cb03c85
MD
60 tracelog.c \
61 lttng-ust-tracelog-provider.h \
e85a0294
PP
62 getenv.h \
63 string-utils.c \
64 string-utils.h
c1fca457 65
d58d1454
MD
66if HAVE_PERF_EVENT
67liblttng_ust_runtime_la_SOURCES += \
77d7fa98
MD
68 lttng-context-perf-counters.c \
69 perf_event.h
d58d1454
MD
70endif
71
c1fca457 72liblttng_ust_support_la_SOURCES = \
7dd08bec
MD
73 lttng-tracer.h \
74 lttng-tracer-core.h \
c1fca457 75 ust-core.c \
6f626d28
MD
76 getenv.h \
77 getenv.c \
53569322 78 lttng-ust-dynamic-type.c \
82b9bde8 79 lttng-rb-clients.h \
7dd08bec
MD
80 lttng-ring-buffer-client.h \
81 lttng-ring-buffer-client-discard.c \
34a91bdb 82 lttng-ring-buffer-client-discard-rt.c \
7dd08bec 83 lttng-ring-buffer-client-overwrite.c \
34a91bdb 84 lttng-ring-buffer-client-overwrite-rt.c \
7dd08bec 85 lttng-ring-buffer-metadata-client.h \
f9364363 86 lttng-ring-buffer-metadata-client.c \
5e1b7b8b 87 lttng-clock.c lttng-getcpu.c
c1fca457
MD
88
89liblttng_ust_la_SOURCES =
15612a0f 90
a334646a 91liblttng_ust_la_LDFLAGS = -no-undefined -version-info $(LTTNG_UST_LIBRARY_VERSION)
c7dc133c 92
c1fca457
MD
93liblttng_ust_support_la_LIBADD = \
94 $(top_builddir)/libringbuffer/libringbuffer.la
95
69400ac4 96liblttng_ust_la_LIBADD = \
c7dc133c 97 -lpthread \
ca4525b5 98 -lrt \
bf956ec0 99 -lurcu-cds \
8d8a24c8 100 $(top_builddir)/snprintf/libustsnprintf.la \
c1fca457 101 $(top_builddir)/liblttng-ust-comm/liblttng-ust-comm.la \
b2684aaa 102 liblttng-ust-tracepoint.la \
9d4d2a63
MJ
103 liblttng-ust-runtime.la liblttng-ust-support.la \
104 $(DL_LIBS)
ab12eb57 105
e1c62734 106liblttng_ust_la_CFLAGS = -DUST_COMPONENT="liblttng_ust" $(AM_CFLAGS)
This page took 0.043923 seconds and 4 git commands to generate.