Move lttng-hash-helper.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 err-ptr.h \
18 events.h \
19 hash.h \
20 jhash.h \
21 logging.h \
22 macros.h \
23 patient.h \
24 procname.h \
25 safe-snprintf.h \
26 wait.h
27
28 noinst_HEADERS += \
29 compat/dlfcn.h \
30 compat/errno.h \
31 compat/mmap.h \
32 compat/pthread.h \
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.
39 noinst_HEADERS += \
40 ust-context-provider.h
41
42 # Used by liblttng-ust-fd
43 noinst_HEADERS += \
44 ust-fd.h
45
46 ### ###
47 ## Convenience libraries ##
48 ### ###
49
50 noinst_LTLIBRARIES = \
51 libcounter.la \
52 libcompat.la \
53 libmsgpack.la \
54 libringbuffer.la \
55 libsnprintf.la \
56 libcommon.la \
57 libustcomm.la
58
59 # counter
60 libcounter_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
74 libcounter_la_LIBADD = -lrt
75
76 if ENABLE_NUMA
77 libcounter_la_LIBADD += -lnuma
78 endif
79
80 libcounter_la_CFLAGS = -DUST_COMPONENT="libcounter" $(AM_CFLAGS)
81
82 # compat
83 libcompat_la_SOURCES = \
84 compat/futex.c \
85 compat/futex.h
86
87 # msgpack
88 libmsgpack_la_SOURCES = \
89 msgpack/msgpack.c \
90 msgpack/msgpack.h
91
92 libmsgpack_la_CFLAGS = -DUST_COMPONENT="libmsgpack" $(AM_CFLAGS)
93
94 # ringbuffer
95 libringbuffer_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 \
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
117 libringbuffer_la_LIBADD = \
118 -lrt
119
120 if ENABLE_NUMA
121 libringbuffer_la_LIBADD += -lnuma
122 endif
123
124 libringbuffer_la_CFLAGS = -DUST_COMPONENT="libringbuffer" $(AM_CFLAGS)
125
126 # snprintf
127 libsnprintf_la_SOURCES = \
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
142 libcommon_la_SOURCES = \
143 getenv.c \
144 getenv.h \
145 logging.c \
146 logging.h \
147 patient.c
148
149 libcommon_la_LIBADD = \
150 libcompat.la \
151 libmsgpack.la \
152 libsnprintf.la
153
154 libustcomm_la_SOURCES = \
155 ustcomm.c \
156 ustcomm.h
157
158 EXTRA_DIST = snprintf/README
This page took 0.033536 seconds and 5 git commands to generate.