1f35535eea23dc64b535464d84a410c974946948
[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-provider-internal.h \
64 tracepoint-internal.h \
65 ust-events-internal.h \
66 clock.h \
67 compat.h \
68 wait.h \
69 jhash.h \
70 lttng-ust-uuid.h \
71 error.h \
72 tracef.c \
73 lttng-ust-tracef-provider.h \
74 tracelog.c \
75 lttng-ust-tracelog-provider.h \
76 getenv.h \
77 string-utils.c \
78 string-utils.h \
79 event-notifier-notification.c \
80 ns.h \
81 creds.h
82
83 if HAVE_PERF_EVENT
84 liblttng_ust_runtime_la_SOURCES += \
85 lttng-context-perf-counters.c \
86 perf_event.h
87 endif
88
89 liblttng_ust_support_la_SOURCES = \
90 lttng-tracer.h \
91 lttng-tracer-core.h \
92 ust-core.c \
93 getenv.h \
94 getenv.c \
95 lttng-ust-dynamic-type.c \
96 lttng-rb-clients.h \
97 lttng-ring-buffer-client.h \
98 lttng-ring-buffer-client-discard.c \
99 lttng-ring-buffer-client-discard-rt.c \
100 lttng-ring-buffer-client-overwrite.c \
101 lttng-ring-buffer-client-overwrite-rt.c \
102 lttng-ring-buffer-metadata-client.h \
103 lttng-ring-buffer-metadata-client.c \
104 lttng-clock.c lttng-getcpu.c
105
106 liblttng_ust_la_SOURCES =
107
108 liblttng_ust_la_LDFLAGS = -no-undefined -version-info $(LTTNG_UST_LIBRARY_VERSION)
109
110 liblttng_ust_support_la_LIBADD = \
111 $(top_builddir)/libringbuffer/libringbuffer.la
112
113 liblttng_ust_la_LIBADD = \
114 -lrt \
115 $(URCU_CDS_LIBS) \
116 $(top_builddir)/snprintf/libustsnprintf.la \
117 $(top_builddir)/liblttng-ust-comm/liblttng-ust-comm.la \
118 liblttng-ust-tracepoint.la \
119 liblttng-ust-runtime.la liblttng-ust-support.la \
120 $(DL_LIBS)
121
122 liblttng_ust_la_CFLAGS = -DUST_COMPONENT="liblttng_ust" $(AM_CFLAGS)
This page took 0.032188 seconds and 3 git commands to generate.