Split ust-events-internal.h between common and liblttng-ust
[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 events.h \
17 logging.h \
18 macros.h \
19 patient.h \
20 procname.h \
21 safe-snprintf.h \
22 wait.h
23
24 noinst_HEADERS += \
25 compat/dlfcn.h \
26 compat/errno.h \
27 compat/mmap.h \
28 compat/pthread.h \
29 compat/tid.h
30
31 # These headers should be moved to the public headers when tested and
32 # documented. The symbols are still part of the ABI.
33
34 # Used by the Java jni interface.
35 noinst_HEADERS += \
36 ust-context-provider.h
37
38 # Used by liblttng-ust-fd
39 noinst_HEADERS += \
40 ust-fd.h
41
42 ### ###
43 ## Convenience libraries ##
44 ### ###
45
46 noinst_LTLIBRARIES = \
47 libcounter.la \
48 libmsgpack.la \
49 libringbuffer.la \
50 libsnprintf.la \
51 libcommon.la \
52 libustcomm.la
53
54 # counter
55 libcounter_la_SOURCES = \
56 counter/counter-api.h \
57 counter/counter.c \
58 counter/counter-config.h \
59 counter/counter.h \
60 counter/counter-internal.h \
61 counter/counter-types.h \
62 counter/shm.c \
63 counter/shm.h \
64 counter/shm_internal.h \
65 counter/shm_types.h \
66 counter/smp.c \
67 counter/smp.h
68
69 libcounter_la_LIBADD = -lrt
70
71 if ENABLE_NUMA
72 libcounter_la_LIBADD += -lnuma
73 endif
74
75 libcounter_la_CFLAGS = -DUST_COMPONENT="libcounter" $(AM_CFLAGS)
76
77 # msgpack
78 libmsgpack_la_SOURCES = \
79 msgpack/msgpack.c \
80 msgpack/msgpack.h
81
82 libmsgpack_la_CFLAGS = -DUST_COMPONENT="libmsgpack" $(AM_CFLAGS)
83
84 # ringbuffer
85 libringbuffer_la_SOURCES = \
86 ringbuffer/api.h \
87 ringbuffer/backend.h \
88 ringbuffer/backend_internal.h \
89 ringbuffer/backend_types.h \
90 ringbuffer/frontend_api.h \
91 ringbuffer/frontend.h \
92 ringbuffer/frontend_internal.h \
93 ringbuffer/frontend_types.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 getenv.c \
134 getenv.h \
135 logging.c \
136 logging.h \
137 patient.c
138
139 libcommon_la_LIBADD = \
140 libmsgpack.la \
141 libsnprintf.la
142
143 libustcomm_la_SOURCES = \
144 ustcomm.c \
145 ustcomm.h
146
147 EXTRA_DIST = snprintf/README
This page took 0.039421 seconds and 5 git commands to generate.