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 | 15 | dynamic-type.h \ |
9c4fe08d | 16 | err-ptr.h \ |
36c52fff | 17 | events.h \ |
cecabda8 | 18 | hash.h \ |
e58e5ad5 | 19 | jhash.h \ |
9d315d6d MJ |
20 | logging.h \ |
21 | macros.h \ | |
c5e8ef85 | 22 | ns.h \ |
9d315d6d | 23 | patient.h \ |
27b98e6c | 24 | procname.h \ |
6bd9392e | 25 | safe-snprintf.h \ |
8f51c684 | 26 | tracepoint.h \ |
6bd9392e | 27 | wait.h |
9d315d6d MJ |
28 | |
29 | noinst_HEADERS += \ | |
30 | compat/dlfcn.h \ | |
27b98e6c | 31 | compat/errno.h \ |
1be43539 | 32 | compat/mmap.h \ |
27b98e6c | 33 | compat/pthread.h \ |
9d315d6d MJ |
34 | compat/tid.h |
35 | ||
36 | # These headers should be moved to the public headers when tested and | |
37 | # documented. The symbols are still part of the ABI. | |
38 | ||
39 | # Used by the Java jni interface. | |
40 | noinst_HEADERS += \ | |
41 | ust-context-provider.h | |
42 | ||
43 | # Used by liblttng-ust-fd | |
44 | noinst_HEADERS += \ | |
45 | ust-fd.h | |
d8621b3e MJ |
46 | |
47 | ### ### | |
48 | ## Convenience libraries ## | |
49 | ### ### | |
50 | ||
51 | noinst_LTLIBRARIES = \ | |
cdff92e0 | 52 | libcounter.la \ |
58f84478 | 53 | libcompat.la \ |
635ead38 | 54 | libmsgpack.la \ |
e4db8f98 | 55 | libringbuffer.la \ |
635ead38 | 56 | libsnprintf.la \ |
67534785 MJ |
57 | libcommon.la \ |
58 | libustcomm.la | |
d8621b3e | 59 | |
cdff92e0 MJ |
60 | # counter |
61 | libcounter_la_SOURCES = \ | |
62 | counter/counter-api.h \ | |
63 | counter/counter.c \ | |
64 | counter/counter-config.h \ | |
65 | counter/counter.h \ | |
66 | counter/counter-internal.h \ | |
67 | counter/counter-types.h \ | |
68 | counter/shm.c \ | |
69 | counter/shm.h \ | |
70 | counter/shm_internal.h \ | |
74cc1f59 | 71 | counter/shm_types.h |
cdff92e0 MJ |
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 \ | |
e4db8f98 MJ |
112 | ringbuffer/vatomic.h |
113 | ||
114 | libringbuffer_la_LIBADD = \ | |
115 | -lrt | |
116 | ||
117 | if ENABLE_NUMA | |
118 | libringbuffer_la_LIBADD += -lnuma | |
119 | endif | |
120 | ||
121 | libringbuffer_la_CFLAGS = -DUST_COMPONENT="libringbuffer" $(AM_CFLAGS) | |
122 | ||
d8621b3e | 123 | # snprintf |
635ead38 | 124 | libsnprintf_la_SOURCES = \ |
d8621b3e MJ |
125 | snprintf/fflush.c \ |
126 | snprintf/fileext.h \ | |
127 | snprintf/floatio.h \ | |
128 | snprintf/fvwrite.c \ | |
129 | snprintf/fvwrite.h \ | |
130 | snprintf/local.h \ | |
131 | snprintf/mbrtowc_sb.c \ | |
132 | snprintf/snprintf.c \ | |
133 | snprintf/various.h \ | |
134 | snprintf/vfprintf.c \ | |
135 | snprintf/wcio.h \ | |
136 | snprintf/wsetup.c | |
137 | ||
138 | # Common library | |
139 | libcommon_la_SOURCES = \ | |
4667b192 MJ |
140 | elf.c \ |
141 | elf.h \ | |
910dcd72 MJ |
142 | getenv.c \ |
143 | getenv.h \ | |
d8621b3e MJ |
144 | logging.c \ |
145 | logging.h \ | |
74cc1f59 MJ |
146 | smp.c \ |
147 | smp.h \ | |
b8aa6f43 MJ |
148 | strutils.c \ |
149 | strutils.h \ | |
4667b192 MJ |
150 | utils.c \ |
151 | utils.h \ | |
d8621b3e MJ |
152 | patient.c |
153 | ||
154 | libcommon_la_LIBADD = \ | |
58f84478 | 155 | libcompat.la \ |
635ead38 MJ |
156 | libmsgpack.la \ |
157 | libsnprintf.la | |
d8621b3e | 158 | |
67534785 MJ |
159 | libustcomm_la_SOURCES = \ |
160 | ustcomm.c \ | |
161 | ustcomm.h | |
162 | ||
d8621b3e | 163 | EXTRA_DIST = snprintf/README |