1 # SPDX-License-Identifier: LGPL-2.1-only
3 AUTOMAKE_OPTIONS = subdir-objects
6 ### Global private headers ###
37 # These headers should be moved to the public headers when tested and
38 # documented. The symbols are still part of the ABI.
40 # Used by the Java jni interface.
42 ust-context-provider.h
44 # Used by liblttng-ust-fd
49 ## Convenience libraries ##
52 noinst_LTLIBRARIES = \
54 libcounter-clients.la \
57 libringbuffer-clients.la \
63 libcounter_la_SOURCES = \
64 counter/counter-api.h \
66 counter/counter-config.h \
68 counter/counter-internal.h \
69 counter/counter-types.h \
72 counter/shm_internal.h \
75 libcounter_la_LIBADD = -lrt
78 libcounter_la_LIBADD += -lnuma
81 libcounter_la_CFLAGS = -DUST_COMPONENT="libcounter" $(AM_CFLAGS)
84 libcounter_clients_la_SOURCES = \
85 counter-clients/clients.c \
86 counter-clients/clients.h \
87 counter-clients/percpu-32-modular.c \
88 counter-clients/percpu-64-modular.c
90 libcounter_clients_la_CFLAGS = -DUST_COMPONENT="libcounter-clients" $(AM_CFLAGS)
93 libmsgpack_la_SOURCES = \
97 libmsgpack_la_CFLAGS = -DUST_COMPONENT="libmsgpack" $(AM_CFLAGS)
100 libringbuffer_la_SOURCES = \
102 ringbuffer/backend.h \
103 ringbuffer/backend_internal.h \
104 ringbuffer/backend_types.h \
105 ringbuffer/frontend_api.h \
106 ringbuffer/frontend.h \
107 ringbuffer/frontend_internal.h \
108 ringbuffer/frontend_types.h \
110 ringbuffer/rb-init.h \
111 ringbuffer/ring_buffer_backend.c \
112 ringbuffer/ringbuffer-config.h \
113 ringbuffer/ring_buffer_frontend.c \
116 ringbuffer/shm_internal.h \
117 ringbuffer/shm_types.h \
120 libringbuffer_la_LIBADD = \
124 libringbuffer_la_LIBADD += -lnuma
127 libringbuffer_la_CFLAGS = -DUST_COMPONENT="libringbuffer" $(AM_CFLAGS)
130 libringbuffer_clients_la_SOURCES = \
131 ringbuffer-clients/clients.c \
132 ringbuffer-clients/clients.h \
133 ringbuffer-clients/discard.c \
134 ringbuffer-clients/discard-rt.c \
135 ringbuffer-clients/metadata.c \
136 ringbuffer-clients/metadata-template.h \
137 ringbuffer-clients/overwrite.c \
138 ringbuffer-clients/overwrite-rt.c \
139 ringbuffer-clients/template.h
141 libringbuffer_clients_la_CFLAGS = -DUST_COMPONENT="libringbuffer-clients" $(AM_CFLAGS)
144 libsnprintf_la_SOURCES = \
151 snprintf/mbrtowc_sb.c \
152 snprintf/snprintf.c \
154 snprintf/vfprintf.c \
159 libcommon_la_SOURCES = \
178 libcommon_la_LIBADD = \
182 libustcomm_la_SOURCES = \
186 EXTRA_DIST = snprintf/README