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