ca81ba6d4183e93cefa81d2f09dbf9e723ea5134
[lttng-ust.git] / liblttng-ust / Makefile.am
1 AM_CFLAGS += -I$(srcdir) -fno-strict-aliasing
2
3 noinst_LTLIBRARIES = liblttng-ust-runtime.la liblttng-ust-support.la
4
5 lib_LTLIBRARIES = liblttng-ust-common.la liblttng-ust-tracepoint.la liblttng-ust.la
6
7 liblttng_ust_common_la_SOURCES = \
8 lttng-ust-urcu.c \
9 lttng-ust-urcu-pointer.c
10
11 liblttng_ust_common_la_LDFLAGS = -no-undefined -version-info $(LTTNG_UST_LIBRARY_VERSION)
12
13 liblttng_ust_tracepoint_la_SOURCES = \
14 tracepoint.c \
15 tracepoint-weak-test.c \
16 tracepoint-internal.h \
17 lttng-tracer-core.h \
18 jhash.h \
19 error.h
20
21 liblttng_ust_tracepoint_la_LIBADD = \
22 liblttng-ust-common.la \
23 $(top_builddir)/snprintf/libustsnprintf.la \
24 $(DL_LIBS)
25
26 liblttng_ust_tracepoint_la_LDFLAGS = -no-undefined -version-info $(LTTNG_UST_LIBRARY_VERSION)
27 liblttng_ust_tracepoint_la_CFLAGS = -DUST_COMPONENT="liblttng_ust_tracepoint" $(AM_CFLAGS)
28
29 liblttng_ust_runtime_la_SOURCES = \
30 bytecode.h \
31 lttng-ust-comm.c \
32 lttng-ust-abi.c \
33 lttng-probes.c \
34 lttng-bytecode.c \
35 lttng-bytecode.h \
36 lttng-bytecode-validator.c \
37 lttng-bytecode-specialize.c \
38 lttng-bytecode-interpreter.c \
39 lttng-context-provider.c \
40 lttng-context-vtid.c \
41 lttng-context-vpid.c \
42 lttng-context-pthread-id.c \
43 lttng-context-procname.c \
44 lttng-context-ip.c \
45 lttng-context-cpu-id.c \
46 lttng-context-cgroup-ns.c \
47 lttng-context-ipc-ns.c \
48 lttng-context-mnt-ns.c \
49 lttng-context-net-ns.c \
50 lttng-context-pid-ns.c \
51 lttng-context-time-ns.c \
52 lttng-context-user-ns.c \
53 lttng-context-uts-ns.c \
54 lttng-context-vuid.c \
55 lttng-context-veuid.c \
56 lttng-context-vsuid.c \
57 lttng-context-vgid.c \
58 lttng-context-vegid.c \
59 lttng-context-vsgid.c \
60 lttng-context.c \
61 lttng-events.c \
62 lttng-hash-helper.h \
63 lttng-ust-elf.c \
64 lttng-ust-statedump.c \
65 lttng-ust-statedump.h \
66 lttng-ust-statedump-provider.h \
67 ust_lib.c \
68 ust_lib.h \
69 context-internal.h \
70 context-provider-internal.h \
71 tracepoint-internal.h \
72 ust-events-internal.h \
73 clock.h \
74 compat.h \
75 wait.h \
76 jhash.h \
77 lttng-ust-uuid.h \
78 error.h \
79 tracef.c \
80 lttng-ust-tracef-provider.h \
81 tracelog.c \
82 lttng-ust-tracelog-provider.h \
83 getenv.h \
84 string-utils.c \
85 string-utils.h \
86 event-notifier-notification.c \
87 ns.h \
88 creds.h \
89 rculfhash.c \
90 rculfhash.h \
91 rculfhash-internal.h \
92 rculfhash-mm-chunk.c \
93 rculfhash-mm-mmap.c \
94 rculfhash-mm-order.c \
95 compat_futex.c \
96 futex.h
97
98 if HAVE_PERF_EVENT
99 liblttng_ust_runtime_la_SOURCES += \
100 lttng-context-perf-counters.c \
101 perf_event.h
102 endif
103
104 liblttng_ust_support_la_SOURCES = \
105 lttng-tracer.h \
106 lttng-tracer-core.h \
107 ust-core.c \
108 getenv.h \
109 getenv.c \
110 lttng-ust-dynamic-type.c \
111 lttng-rb-clients.h \
112 lttng-ring-buffer-client.h \
113 lttng-ring-buffer-client-discard.c \
114 lttng-ring-buffer-client-discard-rt.c \
115 lttng-ring-buffer-client-overwrite.c \
116 lttng-ring-buffer-client-overwrite-rt.c \
117 lttng-ring-buffer-metadata-client.h \
118 lttng-ring-buffer-metadata-client.c \
119 lttng-counter-client-percpu-32-modular.c \
120 lttng-counter-client-percpu-64-modular.c \
121 lttng-clock.c lttng-getcpu.c
122
123 liblttng_ust_la_SOURCES =
124
125 liblttng_ust_la_LDFLAGS = -no-undefined -version-info $(LTTNG_UST_LIBRARY_VERSION)
126
127 liblttng_ust_support_la_LIBADD = \
128 $(top_builddir)/libringbuffer/libringbuffer.la \
129 $(top_builddir)/libcounter/libcounter.la
130
131 liblttng_ust_la_LIBADD = \
132 -lrt \
133 liblttng-ust-common.la \
134 $(top_builddir)/snprintf/libustsnprintf.la \
135 $(top_builddir)/liblttng-ust-comm/liblttng-ust-comm.la \
136 liblttng-ust-tracepoint.la \
137 liblttng-ust-runtime.la liblttng-ust-support.la \
138 $(top_builddir)/libmsgpack/libmsgpack.la \
139 $(DL_LIBS)
140
141 liblttng_ust_la_CFLAGS = -DUST_COMPONENT="liblttng_ust" $(AM_CFLAGS)
This page took 0.036274 seconds and 3 git commands to generate.