| 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 | msgpack/libmsgpack.la \ |
| 42 | snprintf/libsnprintf.la \ |
| 43 | libcommon.la |
| 44 | |
| 45 | # msgpack |
| 46 | msgpack_libmsgpack_la_SOURCES = \ |
| 47 | msgpack/msgpack.c \ |
| 48 | msgpack/msgpack.h |
| 49 | |
| 50 | msgpack_libmsgpack_la_CFLAGS = -DUST_COMPONENT="libmsgpack" $(AM_CFLAGS) |
| 51 | |
| 52 | # snprintf |
| 53 | snprintf_libsnprintf_la_SOURCES = \ |
| 54 | snprintf/fflush.c \ |
| 55 | snprintf/fileext.h \ |
| 56 | snprintf/floatio.h \ |
| 57 | snprintf/fvwrite.c \ |
| 58 | snprintf/fvwrite.h \ |
| 59 | snprintf/local.h \ |
| 60 | snprintf/mbrtowc_sb.c \ |
| 61 | snprintf/snprintf.c \ |
| 62 | snprintf/various.h \ |
| 63 | snprintf/vfprintf.c \ |
| 64 | snprintf/wcio.h \ |
| 65 | snprintf/wsetup.c |
| 66 | |
| 67 | # Common library |
| 68 | libcommon_la_SOURCES = \ |
| 69 | logging.c \ |
| 70 | logging.h \ |
| 71 | patient.c |
| 72 | |
| 73 | libcommon_la_LIBADD = \ |
| 74 | msgpack/libmsgpack.la \ |
| 75 | snprintf/libsnprintf.la |
| 76 | |
| 77 | EXTRA_DIST = snprintf/README |