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