Add an internal 'libcommon' for utils
[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 dynamic-type.h \
14 elf.h \
15 logging.h \
16 macros.h \
17 patient.h \
18 safe-snprintf.h \
19 ustcomm.h
20
21 noinst_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.
29 noinst_HEADERS += \
30 ust-context-provider.h
31
32 # Used by liblttng-ust-fd
33 noinst_HEADERS += \
34 ust-fd.h
35
36 ### ###
37 ## Convenience libraries ##
38 ### ###
39
40 noinst_LTLIBRARIES = \
41 snprintf/libsnprintf.la \
42 libcommon.la
43
44 # snprintf
45 snprintf_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
60 libcommon_la_SOURCES = \
61 logging.c \
62 logging.h \
63 patient.c
64
65 libcommon_la_LIBADD = \
66 snprintf/libsnprintf.la
67
68 EXTRA_DIST = snprintf/README
This page took 0.032912 seconds and 5 git commands to generate.