build: move common headers to common_libcommon_la_SOURCES
authorSimon Marchi <simon.marchi@efficios.com>
Tue, 7 Nov 2023 16:48:12 +0000 (16:48 +0000)
committerMichael Jeanson <mjeanson@efficios.com>
Tue, 7 Nov 2023 19:31:04 +0000 (14:31 -0500)
Since we have an libcommon convenience library, I think it would make
sense to put all common headers there, instead of in noinst_HEADERS.

Change-Id: I161e5dc234c46599efbaffcea4e759e2df0ffc96
Signed-off-by: Simon Marchi <simon.marchi@efficios.com>
Reviewed-on: https://review.lttng.org/c/babeltrace/+/11291
Tested-by: jenkins <jenkins@lttng.org>
Reviewed-by: Michael Jeanson <mjeanson@efficios.com>
src/Makefile.am

index 78d98f7cd9f93887399da8b884c81ec46110938d..0632a75422f4c90d2218da34e46f93f02cee8601 100644 (file)
@@ -11,13 +11,6 @@ SUBDIRS += bindings/python/bt2
 endif
 
 noinst_HEADERS = \
-       common/align.h \
-       common/list.h \
-       common/macros.h \
-       common/mmap-align.h \
-       common/safe.h \
-       common/version.h \
-       common/version.i \
        cpp-common/bt2/clock-class.hpp \
        cpp-common/bt2/clock-snapshot.hpp \
        cpp-common/bt2/common-iter.hpp \
@@ -120,12 +113,19 @@ autodisc_libautodisc_la_SOURCES = \
        autodisc/autodisc.h
 
 common_libcommon_la_SOURCES = \
+       common/align.h \
        common/assert.c \
        common/assert.h \
        common/common.c \
        common/common.h \
+       common/list.h \
+       common/macros.h \
+       common/mmap-align.h \
+       common/safe.h \
        common/uuid.c \
-       common/uuid.h
+       common/uuid.h \
+       common/version.h \
+       common/version.i
 
 common_libcommon_la_CPPFLAGS = \
        $(AM_CPPFLAGS) \
This page took 0.026312 seconds and 4 git commands to generate.