Move wait.h to 'src/common/'
[lttng-ust.git] / src / common / Makefile.am
1 # SPDX-License-Identifier: LGPL-2.1-only
2
3 AUTOMAKE_OPTIONS = subdir-objects
4
5 ### ###
6 ### Global private headers ###
7 ### ###
8
9 noinst_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 \
18 procname.h \
19 safe-snprintf.h \
20 wait.h
21
22 noinst_HEADERS += \
23 compat/dlfcn.h \
24 compat/errno.h \
25 compat/mmap.h \
26 compat/pthread.h \
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.
33 noinst_HEADERS += \
34 ust-context-provider.h
35
36 # Used by liblttng-ust-fd
37 noinst_HEADERS += \
38 ust-fd.h
39
40 ### ###
41 ## Convenience libraries ##
42 ### ###
43
44 noinst_LTLIBRARIES = \
45 libcounter.la \
46 libmsgpack.la \
47 libringbuffer.la \
48 libsnprintf.la \
49 libcommon.la \
50 libustcomm.la
51
52 # counter
53 libcounter_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
67 libcounter_la_LIBADD = -lrt
68
69 if ENABLE_NUMA
70 libcounter_la_LIBADD += -lnuma
71 endif
72
73 libcounter_la_CFLAGS = -DUST_COMPONENT="libcounter" $(AM_CFLAGS)
74
75 # msgpack
76 libmsgpack_la_SOURCES = \
77 msgpack/msgpack.c \
78 msgpack/msgpack.h
79
80 libmsgpack_la_CFLAGS = -DUST_COMPONENT="libmsgpack" $(AM_CFLAGS)
81
82 # ringbuffer
83 libringbuffer_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 \
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
106 libringbuffer_la_LIBADD = \
107 -lrt
108
109 if ENABLE_NUMA
110 libringbuffer_la_LIBADD += -lnuma
111 endif
112
113 libringbuffer_la_CFLAGS = -DUST_COMPONENT="libringbuffer" $(AM_CFLAGS)
114
115 # snprintf
116 libsnprintf_la_SOURCES = \
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
131 libcommon_la_SOURCES = \
132 logging.c \
133 logging.h \
134 patient.c
135
136 libcommon_la_LIBADD = \
137 libmsgpack.la \
138 libsnprintf.la
139
140 libustcomm_la_SOURCES = \
141 ustcomm.c \
142 ustcomm.h
143
144 EXTRA_DIST = snprintf/README
This page took 0.035445 seconds and 5 git commands to generate.