Add an internal 'libcommon' for utils
[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 \
13 dynamic-type.h \
14 elf.h \
15 logging.h \
16 macros.h \
17 patient.h \
18 safe-snprintf.h \
19 ustcomm.h
20
21noinst_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.
29noinst_HEADERS += \
30 ust-context-provider.h
31
32# Used by liblttng-ust-fd
33noinst_HEADERS += \
34 ust-fd.h
d8621b3e
MJ
35
36### ###
37## Convenience libraries ##
38### ###
39
40noinst_LTLIBRARIES = \
41 snprintf/libsnprintf.la \
42 libcommon.la
43
44# snprintf
45snprintf_libsnprintf_la_SOURCES = \
46 snprintf/fflush.c \
47 snprintf/fileext.h \
48 snprintf/floatio.h \
49 snprintf/fvwrite.c \
50 snprintf/fvwrite.h \
51 snprintf/local.h \
52 snprintf/mbrtowc_sb.c \
53 snprintf/snprintf.c \
54 snprintf/various.h \
55 snprintf/vfprintf.c \
56 snprintf/wcio.h \
57 snprintf/wsetup.c
58
59# Common library
60libcommon_la_SOURCES = \
61 logging.c \
62 logging.h \
63 patient.c
64
65libcommon_la_LIBADD = \
66 snprintf/libsnprintf.la
67
68EXTRA_DIST = snprintf/README
This page took 0.02595 seconds and 4 git commands to generate.