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