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