Move creds.h to 'src/common/'
[lttng-ust.git] / src / common / Makefile.am
1 # SPDX-License-Identifier: LGPL-2.1-only
2
3 AUTOMAKE_OPTIONS = subdir-objects
4
5 ### ###
6 ### Global private headers ###
7 ### ###
8
9 noinst_HEADERS = \
10 align.h \
11 bitfield.h \
12 bitmap.h \
13 clock.h \
14 creds.h \
15 dynamic-type.h \
16 elf.h \
17 events.h \
18 logging.h \
19 macros.h \
20 patient.h \
21 procname.h \
22 safe-snprintf.h \
23 wait.h
24
25 noinst_HEADERS += \
26 compat/dlfcn.h \
27 compat/errno.h \
28 compat/mmap.h \
29 compat/pthread.h \
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
42
43 ### ###
44 ## Convenience libraries ##
45 ### ###
46
47 noinst_LTLIBRARIES = \
48 libcounter.la \
49 libcompat.la \
50 libmsgpack.la \
51 libringbuffer.la \
52 libsnprintf.la \
53 libcommon.la \
54 libustcomm.la
55
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
79 # compat
80 libcompat_la_SOURCES = \
81 compat/futex.c \
82 compat/futex.h
83
84 # msgpack
85 libmsgpack_la_SOURCES = \
86 msgpack/msgpack.c \
87 msgpack/msgpack.h
88
89 libmsgpack_la_CFLAGS = -DUST_COMPONENT="libmsgpack" $(AM_CFLAGS)
90
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 \
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
123 # snprintf
124 libsnprintf_la_SOURCES = \
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 = \
140 getenv.c \
141 getenv.h \
142 logging.c \
143 logging.h \
144 patient.c
145
146 libcommon_la_LIBADD = \
147 libcompat.la \
148 libmsgpack.la \
149 libsnprintf.la
150
151 libustcomm_la_SOURCES = \
152 ustcomm.c \
153 ustcomm.h
154
155 EXTRA_DIST = snprintf/README
This page took 0.037147 seconds and 5 git commands to generate.