Move m4 scripts to m4 dir
[lttng-ust.git] / liblttng-ust / Makefile.am
... / ...
CommitLineData
1AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_builddir)/include
2AM_CFLAGS = -fno-strict-aliasing
3
4noinst_LTLIBRARIES = liblttng-ust-runtime.la liblttng-ust-support.la
5
6lib_LTLIBRARIES = liblttng-ust-tracepoint.la liblttng-ust.la
7
8liblttng_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
15liblttng_ust_tracepoint_la_LIBADD = \
16 -lurcu-bp \
17 -lpthread \
18 $(top_builddir)/snprintf/libustsnprintf.la
19liblttng_ust_tracepoint_la_LDFLAGS = -no-undefined -version-info $(LTTNG_UST_LIBRARY_VERSION)
20liblttng_ust_tracepoint_la_CFLAGS = -DUST_COMPONENT="liblttng_ust_tracepoint" -fno-strict-aliasing
21
22liblttng_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 string-utils.c \
61 string-utils.h
62
63if HAVE_PERF_EVENT
64liblttng_ust_runtime_la_SOURCES += \
65 lttng-context-perf-counters.c \
66 perf_event.h
67endif
68
69liblttng_ust_support_la_SOURCES = \
70 lttng-tracer.h \
71 lttng-tracer-core.h \
72 ust-core.c \
73 getenv.h \
74 getenv.c \
75 lttng-ust-dynamic-type.c \
76 lttng-rb-clients.h \
77 lttng-ring-buffer-client.h \
78 lttng-ring-buffer-client-discard.c \
79 lttng-ring-buffer-client-discard-rt.c \
80 lttng-ring-buffer-client-overwrite.c \
81 lttng-ring-buffer-client-overwrite-rt.c \
82 lttng-ring-buffer-metadata-client.h \
83 lttng-ring-buffer-metadata-client.c \
84 lttng-clock.c lttng-getcpu.c
85
86liblttng_ust_la_SOURCES =
87
88liblttng_ust_la_LDFLAGS = -no-undefined -version-info $(LTTNG_UST_LIBRARY_VERSION)
89
90liblttng_ust_support_la_LIBADD = \
91 $(top_builddir)/libringbuffer/libringbuffer.la
92
93liblttng_ust_la_LIBADD = \
94 -lpthread \
95 -lrt \
96 -lurcu-cds \
97 -ldl \
98 $(top_builddir)/snprintf/libustsnprintf.la \
99 $(top_builddir)/liblttng-ust-comm/liblttng-ust-comm.la \
100 liblttng-ust-tracepoint.la \
101 liblttng-ust-runtime.la liblttng-ust-support.la
102
103liblttng_ust_la_CFLAGS = -DUST_COMPONENT="liblttng_ust" -fno-strict-aliasing
This page took 0.032753 seconds and 4 git commands to generate.