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