src: implement REUSE with SPDX identifiers
[lttng-ust.git] / src / common / Makefile.am
index ce427655fc82dc003cc3daed3ce33a7a22f0ed97..05d08ade7dab2d5137e2d430f8ef7acdee5f96dd 100644 (file)
@@ -1,3 +1,5 @@
+# SPDX-FileCopyrightText: 2023 EfficiOS, Inc
+#
 # SPDX-License-Identifier: LGPL-2.1-only
 
 AUTOMAKE_OPTIONS = subdir-objects
@@ -12,9 +14,9 @@ noinst_HEADERS = \
        bitmap.h \
        clock.h \
        creds.h \
-       dynamic-type.h \
        err-ptr.h \
        events.h \
+       getcpu.h \
        hash.h \
        jhash.h \
        logging.h \
@@ -24,6 +26,7 @@ noinst_HEADERS = \
        procname.h \
        safe-snprintf.h \
        tracepoint.h \
+       tracer.h \
        wait.h
 
 noinst_HEADERS += \
@@ -50,9 +53,10 @@ noinst_HEADERS += \
 
 noinst_LTLIBRARIES = \
        libcounter.la \
-       libcompat.la \
+       libcounter-clients.la \
        libmsgpack.la \
        libringbuffer.la \
+       libringbuffer-clients.la \
        libsnprintf.la \
        libcommon.la \
        libustcomm.la
@@ -78,10 +82,14 @@ endif
 
 libcounter_la_CFLAGS = -DUST_COMPONENT="libcounter" $(AM_CFLAGS)
 
-# compat
-libcompat_la_SOURCES = \
-       compat/futex.c \
-       compat/futex.h
+# counter-clients
+libcounter_clients_la_SOURCES = \
+       counter-clients/clients.c \
+       counter-clients/clients.h \
+       counter-clients/percpu-32-modular.c \
+       counter-clients/percpu-64-modular.c
+
+libcounter_clients_la_CFLAGS = -DUST_COMPONENT="libcounter-clients" $(AM_CFLAGS)
 
 # msgpack
 libmsgpack_la_SOURCES = \
@@ -120,6 +128,20 @@ endif
 
 libringbuffer_la_CFLAGS = -DUST_COMPONENT="libringbuffer" $(AM_CFLAGS)
 
+# ringbuffer-client
+libringbuffer_clients_la_SOURCES = \
+       ringbuffer-clients/clients.c \
+       ringbuffer-clients/clients.h \
+       ringbuffer-clients/discard.c \
+       ringbuffer-clients/discard-rt.c \
+       ringbuffer-clients/metadata.c \
+       ringbuffer-clients/metadata-template.h \
+       ringbuffer-clients/overwrite.c \
+       ringbuffer-clients/overwrite-rt.c \
+       ringbuffer-clients/template.h
+
+libringbuffer_clients_la_CFLAGS = -DUST_COMPONENT="libringbuffer-clients" $(AM_CFLAGS)
+
 # snprintf
 libsnprintf_la_SOURCES = \
        snprintf/fflush.c \
@@ -137,6 +159,9 @@ libsnprintf_la_SOURCES = \
 
 # Common library
 libcommon_la_SOURCES = \
+       core.c \
+       dynamic-type.c \
+       dynamic-type.h \
        elf.c \
        elf.h \
        events.c \
@@ -153,7 +178,6 @@ libcommon_la_SOURCES = \
        patient.c
 
 libcommon_la_LIBADD = \
-       libcompat.la \
        libmsgpack.la \
        libsnprintf.la
 
@@ -161,4 +185,4 @@ libustcomm_la_SOURCES = \
        ustcomm.c \
        ustcomm.h
 
-EXTRA_DIST = snprintf/README
+EXTRA_DIST = snprintf/README.md
This page took 0.02608 seconds and 4 git commands to generate.