Move jhash.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 \
5ef57f0b 13 clock.h \
6abdf6dc 14 creds.h \
9d315d6d
MJ
15 dynamic-type.h \
16 elf.h \
36c52fff 17 events.h \
e58e5ad5 18 jhash.h \
9d315d6d
MJ
19 logging.h \
20 macros.h \
21 patient.h \
27b98e6c 22 procname.h \
6bd9392e
MJ
23 safe-snprintf.h \
24 wait.h
9d315d6d
MJ
25
26noinst_HEADERS += \
27 compat/dlfcn.h \
27b98e6c 28 compat/errno.h \
1be43539 29 compat/mmap.h \
27b98e6c 30 compat/pthread.h \
9d315d6d
MJ
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.
37noinst_HEADERS += \
38 ust-context-provider.h
39
40# Used by liblttng-ust-fd
41noinst_HEADERS += \
42 ust-fd.h
d8621b3e
MJ
43
44### ###
45## Convenience libraries ##
46### ###
47
48noinst_LTLIBRARIES = \
cdff92e0 49 libcounter.la \
58f84478 50 libcompat.la \
635ead38 51 libmsgpack.la \
e4db8f98 52 libringbuffer.la \
635ead38 53 libsnprintf.la \
67534785
MJ
54 libcommon.la \
55 libustcomm.la
d8621b3e 56
cdff92e0
MJ
57# counter
58libcounter_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
72libcounter_la_LIBADD = -lrt
73
74if ENABLE_NUMA
75libcounter_la_LIBADD += -lnuma
76endif
77
78libcounter_la_CFLAGS = -DUST_COMPONENT="libcounter" $(AM_CFLAGS)
79
58f84478
MJ
80# compat
81libcompat_la_SOURCES = \
82 compat/futex.c \
83 compat/futex.h
84
c3ba99c2 85# msgpack
635ead38 86libmsgpack_la_SOURCES = \
c3ba99c2
MJ
87 msgpack/msgpack.c \
88 msgpack/msgpack.h
89
635ead38 90libmsgpack_la_CFLAGS = -DUST_COMPONENT="libmsgpack" $(AM_CFLAGS)
c3ba99c2 91
e4db8f98
MJ
92# ringbuffer
93libringbuffer_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 \
e4db8f98
MJ
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
115libringbuffer_la_LIBADD = \
116 -lrt
117
118if ENABLE_NUMA
119libringbuffer_la_LIBADD += -lnuma
120endif
121
122libringbuffer_la_CFLAGS = -DUST_COMPONENT="libringbuffer" $(AM_CFLAGS)
123
d8621b3e 124# snprintf
635ead38 125libsnprintf_la_SOURCES = \
d8621b3e
MJ
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
140libcommon_la_SOURCES = \
910dcd72
MJ
141 getenv.c \
142 getenv.h \
d8621b3e
MJ
143 logging.c \
144 logging.h \
145 patient.c
146
147libcommon_la_LIBADD = \
58f84478 148 libcompat.la \
635ead38
MJ
149 libmsgpack.la \
150 libsnprintf.la
d8621b3e 151
67534785
MJ
152libustcomm_la_SOURCES = \
153 ustcomm.c \
154 ustcomm.h
155
d8621b3e 156EXTRA_DIST = snprintf/README
This page took 0.037924 seconds and 4 git commands to generate.