fix: unix socket peercred on FreeBSD
[lttng-ust.git] / liblttng-ust / Makefile.am
CommitLineData
fb54defd 1AM_CFLAGS += -I$(srcdir) -fno-strict-aliasing
55355fa5 2
c1fca457
MD
3noinst_LTLIBRARIES = liblttng-ust-runtime.la liblttng-ust-support.la
4
3f38c6a3
MJ
5lib_LTLIBRARIES = liblttng-ust-common.la liblttng-ust-tracepoint.la liblttng-ust.la
6
7liblttng_ust_common_la_SOURCES = \
8 lttng-ust-urcu.c \
9 lttng-ust-urcu-pointer.c
10
11liblttng_ust_common_la_LDFLAGS = -no-undefined -version-info $(LTTNG_UST_LIBRARY_VERSION)
8792fbae
MD
12
13liblttng_ust_tracepoint_la_SOURCES = \
14 tracepoint.c \
5517d34d 15 tracepoint-weak-test.c \
8792fbae 16 tracepoint-internal.h \
7dd08bec 17 lttng-tracer-core.h \
8792fbae 18 jhash.h \
3f38c6a3 19 error.h
9d4d2a63 20
8792fbae 21liblttng_ust_tracepoint_la_LIBADD = \
3f38c6a3 22 liblttng-ust-common.la \
9d4d2a63
MJ
23 $(top_builddir)/snprintf/libustsnprintf.la \
24 $(DL_LIBS)
25
8792fbae 26liblttng_ust_tracepoint_la_LDFLAGS = -no-undefined -version-info $(LTTNG_UST_LIBRARY_VERSION)
e1c62734 27liblttng_ust_tracepoint_la_CFLAGS = -DUST_COMPONENT="liblttng_ust_tracepoint" $(AM_CFLAGS)
c7dc133c 28
c1fca457 29liblttng_ust_runtime_la_SOURCES = \
04aa13f8 30 bytecode.h \
5e96a467 31 lttng-ust-comm.c \
c1fca457 32 lttng-ust-abi.c \
7dd08bec 33 lttng-probes.c \
04aa13f8
FD
34 lttng-bytecode.c \
35 lttng-bytecode.h \
36 lttng-bytecode-validator.c \
37 lttng-bytecode-specialize.c \
38 lttng-bytecode-interpreter.c \
53569322 39 lttng-context-provider.c \
3b402b40 40 lttng-context-vtid.c \
c1ef86f0 41 lttng-context-vpid.c \
8173ec7c 42 lttng-context-pthread-id.c \
4847e9bb 43 lttng-context-procname.c \
96f85541 44 lttng-context-ip.c \
c7ea8487 45 lttng-context-cpu-id.c \
735bef47
MJ
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 \
cefef7a7 51 lttng-context-time-ns.c \
735bef47
MJ
52 lttng-context-user-ns.c \
53 lttng-context-uts-ns.c \
fca2f191
MJ
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 \
7dd08bec
MD
60 lttng-context.c \
61 lttng-events.c \
bf956ec0 62 lttng-hash-helper.h \
8e2aed3f 63 lttng-ust-elf.c \
cf73e0fe
AB
64 lttng-ust-statedump.c \
65 lttng-ust-statedump.h \
66 lttng-ust-statedump-provider.h \
97c7c238
MD
67 ust_lib.c \
68 ust_lib.h \
51f804ec 69 context-internal.h \
d8d2416d 70 context-provider-internal.h \
b728d87e 71 tracepoint-internal.h \
d871c65b 72 ust-events-internal.h \
b728d87e 73 clock.h \
f8b4fc8d 74 compat.h \
596c4223 75 wait.h \
8f3f8c99 76 jhash.h \
74d81a6c 77 lttng-ust-uuid.h \
641c659a
MD
78 error.h \
79 tracef.c \
730bf2af 80 lttng-ust-tracef-provider.h \
0cb03c85
MD
81 tracelog.c \
82 lttng-ust-tracelog-provider.h \
e85a0294
PP
83 getenv.h \
84 string-utils.c \
735bef47 85 string-utils.h \
d8d2416d 86 event-notifier-notification.c \
fca2f191 87 ns.h \
10544ee8
MD
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
c1fca457 97
d58d1454
MD
98if HAVE_PERF_EVENT
99liblttng_ust_runtime_la_SOURCES += \
77d7fa98
MD
100 lttng-context-perf-counters.c \
101 perf_event.h
d58d1454
MD
102endif
103
c1fca457 104liblttng_ust_support_la_SOURCES = \
7dd08bec
MD
105 lttng-tracer.h \
106 lttng-tracer-core.h \
c1fca457 107 ust-core.c \
6f626d28
MD
108 getenv.h \
109 getenv.c \
53569322 110 lttng-ust-dynamic-type.c \
82b9bde8 111 lttng-rb-clients.h \
7dd08bec
MD
112 lttng-ring-buffer-client.h \
113 lttng-ring-buffer-client-discard.c \
34a91bdb 114 lttng-ring-buffer-client-discard-rt.c \
7dd08bec 115 lttng-ring-buffer-client-overwrite.c \
34a91bdb 116 lttng-ring-buffer-client-overwrite-rt.c \
7dd08bec 117 lttng-ring-buffer-metadata-client.h \
f9364363 118 lttng-ring-buffer-metadata-client.c \
ebabbf58
MD
119 lttng-counter-client-percpu-32-modular.c \
120 lttng-counter-client-percpu-64-modular.c \
5e1b7b8b 121 lttng-clock.c lttng-getcpu.c
c1fca457
MD
122
123liblttng_ust_la_SOURCES =
15612a0f 124
a334646a 125liblttng_ust_la_LDFLAGS = -no-undefined -version-info $(LTTNG_UST_LIBRARY_VERSION)
c7dc133c 126
c1fca457 127liblttng_ust_support_la_LIBADD = \
ebabbf58
MD
128 $(top_builddir)/libringbuffer/libringbuffer.la \
129 $(top_builddir)/libcounter/libcounter.la
c1fca457 130
69400ac4 131liblttng_ust_la_LIBADD = \
ca4525b5 132 -lrt \
3f38c6a3 133 liblttng-ust-common.la \
8d8a24c8 134 $(top_builddir)/snprintf/libustsnprintf.la \
c1fca457 135 $(top_builddir)/liblttng-ust-comm/liblttng-ust-comm.la \
b2684aaa 136 liblttng-ust-tracepoint.la \
9d4d2a63 137 liblttng-ust-runtime.la liblttng-ust-support.la \
b9f82a28 138 $(top_builddir)/libmsgpack/libmsgpack.la \
9d4d2a63 139 $(DL_LIBS)
ab12eb57 140
e1c62734 141liblttng_ust_la_CFLAGS = -DUST_COMPONENT="liblttng_ust" $(AM_CFLAGS)
This page took 0.042172 seconds and 4 git commands to generate.