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