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 \ | |
36c52fff | 17 | events.h \ |
9d315d6d MJ |
18 | logging.h \ |
19 | macros.h \ | |
20 | patient.h \ | |
27b98e6c | 21 | procname.h \ |
6bd9392e MJ |
22 | safe-snprintf.h \ |
23 | wait.h | |
9d315d6d MJ |
24 | |
25 | noinst_HEADERS += \ | |
26 | compat/dlfcn.h \ | |
27b98e6c | 27 | compat/errno.h \ |
1be43539 | 28 | compat/mmap.h \ |
27b98e6c | 29 | compat/pthread.h \ |
9d315d6d MJ |
30 | compat/tid.h |
31 | ||
32 | # These headers should be moved to the public headers when tested and | |
33 | # documented. The symbols are still part of the ABI. | |
34 | ||
35 | # Used by the Java jni interface. | |
36 | noinst_HEADERS += \ | |
37 | ust-context-provider.h | |
38 | ||
39 | # Used by liblttng-ust-fd | |
40 | noinst_HEADERS += \ | |
41 | ust-fd.h | |
d8621b3e MJ |
42 | |
43 | ### ### | |
44 | ## Convenience libraries ## | |
45 | ### ### | |
46 | ||
47 | noinst_LTLIBRARIES = \ | |
cdff92e0 | 48 | libcounter.la \ |
58f84478 | 49 | libcompat.la \ |
635ead38 | 50 | libmsgpack.la \ |
e4db8f98 | 51 | libringbuffer.la \ |
635ead38 | 52 | libsnprintf.la \ |
67534785 MJ |
53 | libcommon.la \ |
54 | libustcomm.la | |
d8621b3e | 55 | |
cdff92e0 MJ |
56 | # counter |
57 | libcounter_la_SOURCES = \ | |
58 | counter/counter-api.h \ | |
59 | counter/counter.c \ | |
60 | counter/counter-config.h \ | |
61 | counter/counter.h \ | |
62 | counter/counter-internal.h \ | |
63 | counter/counter-types.h \ | |
64 | counter/shm.c \ | |
65 | counter/shm.h \ | |
66 | counter/shm_internal.h \ | |
67 | counter/shm_types.h \ | |
68 | counter/smp.c \ | |
69 | counter/smp.h | |
70 | ||
71 | libcounter_la_LIBADD = -lrt | |
72 | ||
73 | if ENABLE_NUMA | |
74 | libcounter_la_LIBADD += -lnuma | |
75 | endif | |
76 | ||
77 | libcounter_la_CFLAGS = -DUST_COMPONENT="libcounter" $(AM_CFLAGS) | |
78 | ||
58f84478 MJ |
79 | # compat |
80 | libcompat_la_SOURCES = \ | |
81 | compat/futex.c \ | |
82 | compat/futex.h | |
83 | ||
c3ba99c2 | 84 | # msgpack |
635ead38 | 85 | libmsgpack_la_SOURCES = \ |
c3ba99c2 MJ |
86 | msgpack/msgpack.c \ |
87 | msgpack/msgpack.h | |
88 | ||
635ead38 | 89 | libmsgpack_la_CFLAGS = -DUST_COMPONENT="libmsgpack" $(AM_CFLAGS) |
c3ba99c2 | 90 | |
e4db8f98 MJ |
91 | # ringbuffer |
92 | libringbuffer_la_SOURCES = \ | |
93 | ringbuffer/api.h \ | |
94 | ringbuffer/backend.h \ | |
95 | ringbuffer/backend_internal.h \ | |
96 | ringbuffer/backend_types.h \ | |
97 | ringbuffer/frontend_api.h \ | |
98 | ringbuffer/frontend.h \ | |
99 | ringbuffer/frontend_internal.h \ | |
100 | ringbuffer/frontend_types.h \ | |
e4db8f98 MJ |
101 | ringbuffer/nohz.h \ |
102 | ringbuffer/rb-init.h \ | |
103 | ringbuffer/ring_buffer_backend.c \ | |
104 | ringbuffer/ringbuffer-config.h \ | |
105 | ringbuffer/ring_buffer_frontend.c \ | |
106 | ringbuffer/shm.c \ | |
107 | ringbuffer/shm.h \ | |
108 | ringbuffer/shm_internal.h \ | |
109 | ringbuffer/shm_types.h \ | |
110 | ringbuffer/smp.c \ | |
111 | ringbuffer/smp.h \ | |
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 = \ | |
910dcd72 MJ |
140 | getenv.c \ |
141 | getenv.h \ | |
d8621b3e MJ |
142 | logging.c \ |
143 | logging.h \ | |
144 | patient.c | |
145 | ||
146 | libcommon_la_LIBADD = \ | |
58f84478 | 147 | libcompat.la \ |
635ead38 MJ |
148 | libmsgpack.la \ |
149 | libsnprintf.la | |
d8621b3e | 150 | |
67534785 MJ |
151 | libustcomm_la_SOURCES = \ |
152 | ustcomm.c \ | |
153 | ustcomm.h | |
154 | ||
d8621b3e | 155 | EXTRA_DIST = snprintf/README |