Make futex compat internal to liblttng-ust
[lttng-ust.git] / src / common / Makefile.am
... / ...
CommitLineData
1# SPDX-License-Identifier: LGPL-2.1-only
2
3AUTOMAKE_OPTIONS = subdir-objects
4
5### ###
6### Global private headers ###
7### ###
8
9noinst_HEADERS = \
10 align.h \
11 bitfield.h \
12 bitmap.h \
13 clock.h \
14 creds.h \
15 err-ptr.h \
16 events.h \
17 hash.h \
18 jhash.h \
19 logging.h \
20 macros.h \
21 ns.h \
22 patient.h \
23 procname.h \
24 safe-snprintf.h \
25 tracepoint.h \
26 wait.h
27
28noinst_HEADERS += \
29 compat/dlfcn.h \
30 compat/errno.h \
31 compat/mmap.h \
32 compat/pthread.h \
33 compat/tid.h
34
35# These headers should be moved to the public headers when tested and
36# documented. The symbols are still part of the ABI.
37
38# Used by the Java jni interface.
39noinst_HEADERS += \
40 ust-context-provider.h
41
42# Used by liblttng-ust-fd
43noinst_HEADERS += \
44 ust-fd.h
45
46### ###
47## Convenience libraries ##
48### ###
49
50noinst_LTLIBRARIES = \
51 libcounter.la \
52 libmsgpack.la \
53 libringbuffer.la \
54 libsnprintf.la \
55 libcommon.la \
56 libustcomm.la
57
58# counter
59libcounter_la_SOURCES = \
60 counter/counter-api.h \
61 counter/counter.c \
62 counter/counter-config.h \
63 counter/counter.h \
64 counter/counter-internal.h \
65 counter/counter-types.h \
66 counter/shm.c \
67 counter/shm.h \
68 counter/shm_internal.h \
69 counter/shm_types.h
70
71libcounter_la_LIBADD = -lrt
72
73if ENABLE_NUMA
74libcounter_la_LIBADD += -lnuma
75endif
76
77libcounter_la_CFLAGS = -DUST_COMPONENT="libcounter" $(AM_CFLAGS)
78
79# msgpack
80libmsgpack_la_SOURCES = \
81 msgpack/msgpack.c \
82 msgpack/msgpack.h
83
84libmsgpack_la_CFLAGS = -DUST_COMPONENT="libmsgpack" $(AM_CFLAGS)
85
86# ringbuffer
87libringbuffer_la_SOURCES = \
88 ringbuffer/api.h \
89 ringbuffer/backend.h \
90 ringbuffer/backend_internal.h \
91 ringbuffer/backend_types.h \
92 ringbuffer/frontend_api.h \
93 ringbuffer/frontend.h \
94 ringbuffer/frontend_internal.h \
95 ringbuffer/frontend_types.h \
96 ringbuffer/nohz.h \
97 ringbuffer/rb-init.h \
98 ringbuffer/ring_buffer_backend.c \
99 ringbuffer/ringbuffer-config.h \
100 ringbuffer/ring_buffer_frontend.c \
101 ringbuffer/shm.c \
102 ringbuffer/shm.h \
103 ringbuffer/shm_internal.h \
104 ringbuffer/shm_types.h \
105 ringbuffer/vatomic.h
106
107libringbuffer_la_LIBADD = \
108 -lrt
109
110if ENABLE_NUMA
111libringbuffer_la_LIBADD += -lnuma
112endif
113
114libringbuffer_la_CFLAGS = -DUST_COMPONENT="libringbuffer" $(AM_CFLAGS)
115
116# snprintf
117libsnprintf_la_SOURCES = \
118 snprintf/fflush.c \
119 snprintf/fileext.h \
120 snprintf/floatio.h \
121 snprintf/fvwrite.c \
122 snprintf/fvwrite.h \
123 snprintf/local.h \
124 snprintf/mbrtowc_sb.c \
125 snprintf/snprintf.c \
126 snprintf/various.h \
127 snprintf/vfprintf.c \
128 snprintf/wcio.h \
129 snprintf/wsetup.c
130
131# Common library
132libcommon_la_SOURCES = \
133 dynamic-type.c \
134 dynamic-type.h \
135 elf.c \
136 elf.h \
137 events.c \
138 getenv.c \
139 getenv.h \
140 logging.c \
141 logging.h \
142 smp.c \
143 smp.h \
144 strutils.c \
145 strutils.h \
146 utils.c \
147 utils.h \
148 patient.c
149
150libcommon_la_LIBADD = \
151 libmsgpack.la \
152 libsnprintf.la
153
154libustcomm_la_SOURCES = \
155 ustcomm.c \
156 ustcomm.h
157
158EXTRA_DIST = snprintf/README
This page took 0.023313 seconds and 4 git commands to generate.