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