Split the common part of clock.h
[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 dynamic-type.h \
15 elf.h \
16 logging.h \
17 macros.h \
18 patient.h \
19 procname.h \
20 safe-snprintf.h \
21 wait.h
22
23 noinst_HEADERS += \
24 compat/dlfcn.h \
25 compat/errno.h \
26 compat/mmap.h \
27 compat/pthread.h \
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
40
41 ### ###
42 ## Convenience libraries ##
43 ### ###
44
45 noinst_LTLIBRARIES = \
46 libcounter.la \
47 libmsgpack.la \
48 libringbuffer.la \
49 libsnprintf.la \
50 libcommon.la \
51 libustcomm.la
52
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
76 # msgpack
77 libmsgpack_la_SOURCES = \
78 msgpack/msgpack.c \
79 msgpack/msgpack.h
80
81 libmsgpack_la_CFLAGS = -DUST_COMPONENT="libmsgpack" $(AM_CFLAGS)
82
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 \
93 ringbuffer/getcpu.h \
94 ringbuffer/nohz.h \
95 ringbuffer/rb-init.h \
96 ringbuffer/ring_buffer_backend.c \
97 ringbuffer/ringbuffer-config.h \
98 ringbuffer/ring_buffer_frontend.c \
99 ringbuffer/shm.c \
100 ringbuffer/shm.h \
101 ringbuffer/shm_internal.h \
102 ringbuffer/shm_types.h \
103 ringbuffer/smp.c \
104 ringbuffer/smp.h \
105 ringbuffer/vatomic.h
106
107 libringbuffer_la_LIBADD = \
108 -lrt
109
110 if ENABLE_NUMA
111 libringbuffer_la_LIBADD += -lnuma
112 endif
113
114 libringbuffer_la_CFLAGS = -DUST_COMPONENT="libringbuffer" $(AM_CFLAGS)
115
116 # snprintf
117 libsnprintf_la_SOURCES = \
118 snprintf/fflush.c \
119 snprintf/fileext.h \
120 snprintf/floatio.h \
121 snprintf/fvwrite.c \
122 snprintf/fvwrite.h \
123 snprintf/local.h \
124 snprintf/mbrtowc_sb.c \
125 snprintf/snprintf.c \
126 snprintf/various.h \
127 snprintf/vfprintf.c \
128 snprintf/wcio.h \
129 snprintf/wsetup.c
130
131 # Common library
132 libcommon_la_SOURCES = \
133 logging.c \
134 logging.h \
135 patient.c
136
137 libcommon_la_LIBADD = \
138 libmsgpack.la \
139 libsnprintf.la
140
141 libustcomm_la_SOURCES = \
142 ustcomm.c \
143 ustcomm.h
144
145 EXTRA_DIST = snprintf/README
This page took 0.033483 seconds and 5 git commands to generate.