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