Add hello-many to gitignore
[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
15liblttng_ust_tracepoint_la_LIBADD = \
2723b9e6 16 -lurcu-bp \
01f0e40c 17 -lpthread \
2723b9e6 18 $(top_builddir)/snprintf/libustsnprintf.la
8792fbae 19liblttng_ust_tracepoint_la_LDFLAGS = -no-undefined -version-info $(LTTNG_UST_LIBRARY_VERSION)
e1c62734 20liblttng_ust_tracepoint_la_CFLAGS = -DUST_COMPONENT="liblttng_ust_tracepoint" $(AM_CFLAGS)
c7dc133c 21
ab12eb57
VL
22if LTTNG_UST_BUILD_WITH_LIBDL
23liblttng_ust_tracepoint_la_LIBADD += -ldl
24endif
25if LTTNG_UST_BUILD_WITH_LIBC_DL
26liblttng_ust_tracepoint_la_LIBADD += -lc
27endif
28
c1fca457 29liblttng_ust_runtime_la_SOURCES = \
5e96a467 30 lttng-ust-comm.c \
c1fca457 31 lttng-ust-abi.c \
7dd08bec 32 lttng-probes.c \
53569322 33 lttng-context-provider.c \
3b402b40 34 lttng-context-vtid.c \
c1ef86f0 35 lttng-context-vpid.c \
8173ec7c 36 lttng-context-pthread-id.c \
4847e9bb 37 lttng-context-procname.c \
96f85541 38 lttng-context-ip.c \
c7ea8487 39 lttng-context-cpu-id.c \
7dd08bec
MD
40 lttng-context.c \
41 lttng-events.c \
2d78951a 42 lttng-filter.c \
b9d1a008 43 lttng-filter.h \
97b58163
MD
44 lttng-filter-validator.c \
45 lttng-filter-specialize.c \
46 lttng-filter-interpreter.c \
cd54f6d9 47 filter-bytecode.h \
bf956ec0 48 lttng-hash-helper.h \
8e2aed3f 49 lttng-ust-elf.c \
cf73e0fe
AB
50 lttng-ust-statedump.c \
51 lttng-ust-statedump.h \
52 lttng-ust-statedump-provider.h \
97c7c238
MD
53 ust_lib.c \
54 ust_lib.h \
b728d87e
MD
55 tracepoint-internal.h \
56 clock.h \
f8b4fc8d 57 compat.h \
596c4223 58 wait.h \
8f3f8c99 59 jhash.h \
74d81a6c 60 lttng-ust-uuid.h \
641c659a
MD
61 error.h \
62 tracef.c \
730bf2af 63 lttng-ust-tracef-provider.h \
0cb03c85
MD
64 tracelog.c \
65 lttng-ust-tracelog-provider.h \
e85a0294
PP
66 getenv.h \
67 string-utils.c \
68 string-utils.h
c1fca457 69
b2292d85
FD
70liblttng_ust_runtime_la_CFLAGS = -DLTTNG_UST_LIBRARY_VERSION_MAJOR=\"$(LTTNG_UST_LIBRARY_VERSION_MAJOR)\"
71
d58d1454
MD
72if HAVE_PERF_EVENT
73liblttng_ust_runtime_la_SOURCES += \
77d7fa98
MD
74 lttng-context-perf-counters.c \
75 perf_event.h
d58d1454
MD
76endif
77
c1fca457 78liblttng_ust_support_la_SOURCES = \
7dd08bec
MD
79 lttng-tracer.h \
80 lttng-tracer-core.h \
c1fca457 81 ust-core.c \
6f626d28
MD
82 getenv.h \
83 getenv.c \
53569322 84 lttng-ust-dynamic-type.c \
82b9bde8 85 lttng-rb-clients.h \
7dd08bec
MD
86 lttng-ring-buffer-client.h \
87 lttng-ring-buffer-client-discard.c \
34a91bdb 88 lttng-ring-buffer-client-discard-rt.c \
7dd08bec 89 lttng-ring-buffer-client-overwrite.c \
34a91bdb 90 lttng-ring-buffer-client-overwrite-rt.c \
7dd08bec 91 lttng-ring-buffer-metadata-client.h \
f9364363 92 lttng-ring-buffer-metadata-client.c \
5e1b7b8b 93 lttng-clock.c lttng-getcpu.c
c1fca457
MD
94
95liblttng_ust_la_SOURCES =
15612a0f 96
a334646a 97liblttng_ust_la_LDFLAGS = -no-undefined -version-info $(LTTNG_UST_LIBRARY_VERSION)
c7dc133c 98
c1fca457
MD
99liblttng_ust_support_la_LIBADD = \
100 $(top_builddir)/libringbuffer/libringbuffer.la
101
69400ac4 102liblttng_ust_la_LIBADD = \
c7dc133c 103 -lpthread \
ca4525b5 104 -lrt \
bf956ec0 105 -lurcu-cds \
8d8a24c8 106 $(top_builddir)/snprintf/libustsnprintf.la \
c1fca457 107 $(top_builddir)/liblttng-ust-comm/liblttng-ust-comm.la \
b2684aaa 108 liblttng-ust-tracepoint.la \
c1fca457 109 liblttng-ust-runtime.la liblttng-ust-support.la
c7dc133c 110
ab12eb57
VL
111if LTTNG_UST_BUILD_WITH_LIBDL
112liblttng_ust_la_LIBADD += -ldl
113endif
114if LTTNG_UST_BUILD_WITH_LIBC_DL
115liblttng_ust_la_LIBADD += -lc
116endif
117
e1c62734 118liblttng_ust_la_CFLAGS = -DUST_COMPONENT="liblttng_ust" $(AM_CFLAGS)
This page took 0.039453 seconds and 4 git commands to generate.