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