Add userspace namespace contexts
[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 lttng-ust-comm.c \
27 lttng-ust-abi.c \
28 lttng-probes.c \
29 lttng-context-provider.c \
30 lttng-context-vtid.c \
31 lttng-context-vpid.c \
32 lttng-context-pthread-id.c \
33 lttng-context-procname.c \
34 lttng-context-ip.c \
35 lttng-context-cpu-id.c \
36 lttng-context-cgroup-ns.c \
37 lttng-context-ipc-ns.c \
38 lttng-context-mnt-ns.c \
39 lttng-context-net-ns.c \
40 lttng-context-pid-ns.c \
41 lttng-context-user-ns.c \
42 lttng-context-uts-ns.c \
43 lttng-context.c \
44 lttng-events.c \
45 lttng-filter.c \
46 lttng-filter.h \
47 lttng-filter-validator.c \
48 lttng-filter-specialize.c \
49 lttng-filter-interpreter.c \
50 filter-bytecode.h \
51 lttng-hash-helper.h \
52 lttng-ust-elf.c \
53 lttng-ust-statedump.c \
54 lttng-ust-statedump.h \
55 lttng-ust-statedump-provider.h \
56 ust_lib.c \
57 ust_lib.h \
58 tracepoint-internal.h \
59 clock.h \
60 compat.h \
61 wait.h \
62 jhash.h \
63 lttng-ust-uuid.h \
64 error.h \
65 tracef.c \
66 lttng-ust-tracef-provider.h \
67 tracelog.c \
68 lttng-ust-tracelog-provider.h \
69 getenv.h \
70 string-utils.c \
71 string-utils.h \
72 ns.h
73
74 if HAVE_PERF_EVENT
75 liblttng_ust_runtime_la_SOURCES += \
76 lttng-context-perf-counters.c \
77 perf_event.h
78 endif
79
80 liblttng_ust_support_la_SOURCES = \
81 lttng-tracer.h \
82 lttng-tracer-core.h \
83 ust-core.c \
84 getenv.h \
85 getenv.c \
86 lttng-ust-dynamic-type.c \
87 lttng-rb-clients.h \
88 lttng-ring-buffer-client.h \
89 lttng-ring-buffer-client-discard.c \
90 lttng-ring-buffer-client-discard-rt.c \
91 lttng-ring-buffer-client-overwrite.c \
92 lttng-ring-buffer-client-overwrite-rt.c \
93 lttng-ring-buffer-metadata-client.h \
94 lttng-ring-buffer-metadata-client.c \
95 lttng-clock.c lttng-getcpu.c
96
97 liblttng_ust_la_SOURCES =
98
99 liblttng_ust_la_LDFLAGS = -no-undefined -version-info $(LTTNG_UST_LIBRARY_VERSION)
100
101 liblttng_ust_support_la_LIBADD = \
102 $(top_builddir)/libringbuffer/libringbuffer.la
103
104 liblttng_ust_la_LIBADD = \
105 -lpthread \
106 -lrt \
107 -lurcu-cds \
108 $(top_builddir)/snprintf/libustsnprintf.la \
109 $(top_builddir)/liblttng-ust-comm/liblttng-ust-comm.la \
110 liblttng-ust-tracepoint.la \
111 liblttng-ust-runtime.la liblttng-ust-support.la \
112 $(DL_LIBS)
113
114 liblttng_ust_la_CFLAGS = -DUST_COMPONENT="liblttng_ust" $(AM_CFLAGS)
This page took 0.031029 seconds and 4 git commands to generate.