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