Move dynamic-type to libcommon
[lttng-ust.git] / src / common / Makefile.am
CommitLineData
9d315d6d
MJ
1# SPDX-License-Identifier: LGPL-2.1-only
2
d8621b3e
MJ
3AUTOMAKE_OPTIONS = subdir-objects
4
9d315d6d
MJ
5### ###
6### Global private headers ###
7### ###
8
9noinst_HEADERS = \
10 align.h \
11 bitfield.h \
12 bitmap.h \
5ef57f0b 13 clock.h \
6abdf6dc 14 creds.h \
9c4fe08d 15 err-ptr.h \
36c52fff 16 events.h \
cecabda8 17 hash.h \
e58e5ad5 18 jhash.h \
9d315d6d
MJ
19 logging.h \
20 macros.h \
c5e8ef85 21 ns.h \
9d315d6d 22 patient.h \
27b98e6c 23 procname.h \
6bd9392e 24 safe-snprintf.h \
8f51c684 25 tracepoint.h \
6bd9392e 26 wait.h
9d315d6d
MJ
27
28noinst_HEADERS += \
29 compat/dlfcn.h \
27b98e6c 30 compat/errno.h \
1be43539 31 compat/mmap.h \
27b98e6c 32 compat/pthread.h \
9d315d6d
MJ
33 compat/tid.h
34
35# These headers should be moved to the public headers when tested and
36# documented. The symbols are still part of the ABI.
37
38# Used by the Java jni interface.
39noinst_HEADERS += \
40 ust-context-provider.h
41
42# Used by liblttng-ust-fd
43noinst_HEADERS += \
44 ust-fd.h
d8621b3e
MJ
45
46### ###
47## Convenience libraries ##
48### ###
49
50noinst_LTLIBRARIES = \
cdff92e0 51 libcounter.la \
58f84478 52 libcompat.la \
635ead38 53 libmsgpack.la \
e4db8f98 54 libringbuffer.la \
635ead38 55 libsnprintf.la \
67534785
MJ
56 libcommon.la \
57 libustcomm.la
d8621b3e 58
cdff92e0
MJ
59# counter
60libcounter_la_SOURCES = \
61 counter/counter-api.h \
62 counter/counter.c \
63 counter/counter-config.h \
64 counter/counter.h \
65 counter/counter-internal.h \
66 counter/counter-types.h \
67 counter/shm.c \
68 counter/shm.h \
69 counter/shm_internal.h \
74cc1f59 70 counter/shm_types.h
cdff92e0
MJ
71
72libcounter_la_LIBADD = -lrt
73
74if ENABLE_NUMA
75libcounter_la_LIBADD += -lnuma
76endif
77
78libcounter_la_CFLAGS = -DUST_COMPONENT="libcounter" $(AM_CFLAGS)
79
58f84478
MJ
80# compat
81libcompat_la_SOURCES = \
82 compat/futex.c \
83 compat/futex.h
84
c3ba99c2 85# msgpack
635ead38 86libmsgpack_la_SOURCES = \
c3ba99c2
MJ
87 msgpack/msgpack.c \
88 msgpack/msgpack.h
89
635ead38 90libmsgpack_la_CFLAGS = -DUST_COMPONENT="libmsgpack" $(AM_CFLAGS)
c3ba99c2 91
e4db8f98
MJ
92# ringbuffer
93libringbuffer_la_SOURCES = \
94 ringbuffer/api.h \
95 ringbuffer/backend.h \
96 ringbuffer/backend_internal.h \
97 ringbuffer/backend_types.h \
98 ringbuffer/frontend_api.h \
99 ringbuffer/frontend.h \
100 ringbuffer/frontend_internal.h \
101 ringbuffer/frontend_types.h \
e4db8f98
MJ
102 ringbuffer/nohz.h \
103 ringbuffer/rb-init.h \
104 ringbuffer/ring_buffer_backend.c \
105 ringbuffer/ringbuffer-config.h \
106 ringbuffer/ring_buffer_frontend.c \
107 ringbuffer/shm.c \
108 ringbuffer/shm.h \
109 ringbuffer/shm_internal.h \
110 ringbuffer/shm_types.h \
e4db8f98
MJ
111 ringbuffer/vatomic.h
112
113libringbuffer_la_LIBADD = \
114 -lrt
115
116if ENABLE_NUMA
117libringbuffer_la_LIBADD += -lnuma
118endif
119
120libringbuffer_la_CFLAGS = -DUST_COMPONENT="libringbuffer" $(AM_CFLAGS)
121
d8621b3e 122# snprintf
635ead38 123libsnprintf_la_SOURCES = \
d8621b3e
MJ
124 snprintf/fflush.c \
125 snprintf/fileext.h \
126 snprintf/floatio.h \
127 snprintf/fvwrite.c \
128 snprintf/fvwrite.h \
129 snprintf/local.h \
130 snprintf/mbrtowc_sb.c \
131 snprintf/snprintf.c \
132 snprintf/various.h \
133 snprintf/vfprintf.c \
134 snprintf/wcio.h \
135 snprintf/wsetup.c
136
137# Common library
138libcommon_la_SOURCES = \
f78f3df1
MJ
139 dynamic-type.c \
140 dynamic-type.h \
4667b192
MJ
141 elf.c \
142 elf.h \
810185f3 143 events.c \
910dcd72
MJ
144 getenv.c \
145 getenv.h \
d8621b3e
MJ
146 logging.c \
147 logging.h \
74cc1f59
MJ
148 smp.c \
149 smp.h \
b8aa6f43
MJ
150 strutils.c \
151 strutils.h \
4667b192
MJ
152 utils.c \
153 utils.h \
d8621b3e
MJ
154 patient.c
155
156libcommon_la_LIBADD = \
58f84478 157 libcompat.la \
635ead38
MJ
158 libmsgpack.la \
159 libsnprintf.la
d8621b3e 160
67534785
MJ
161libustcomm_la_SOURCES = \
162 ustcomm.c \
163 ustcomm.h
164
d8621b3e 165EXTRA_DIST = snprintf/README
This page took 0.030005 seconds and 4 git commands to generate.