From 27fca74922b6551fdd8f0b9f9786925e96c411d4 Mon Sep 17 00:00:00 2001 From: Michael Jeanson Date: Wed, 24 Jul 2024 13:24:00 -0400 Subject: [PATCH] Add SPDX copyright header to all Makefiles Change-Id: I5c26c6a6cd899e71d3a97da3b3d18b99b96f8244 Signed-off-by: Michael Jeanson Reviewed-on: https://review.lttng.org/c/babeltrace/+/13013 Tested-by: jenkins Reviewed-by: Philippe Proulx CI-Build: Simon Marchi --- Makefile.am | 3 +++ bootstrap | 3 +++ doc/Makefile.am | 2 ++ doc/api/libbabeltrace2/Makefile.am | 2 ++ doc/bindings/python/Makefile.am | 2 ++ doc/man/Makefile.am | 2 ++ include/Makefile.am | 2 ++ src/Makefile.am | 3 ++- src/bindings/python/bt2/Makefile.am | 3 ++- src/cli/Makefile.am | 3 ++- tests/Makefile.am | 2 ++ tests/bitfield/Makefile.am | 2 ++ tests/ctf-writer/Makefile.am | 2 ++ tests/lib/Makefile.am | 2 ++ tests/param-validation/Makefile.am | 2 ++ tests/plugins/Makefile.am | 2 ++ tests/plugins/flt.lttng-utils.debug-info/Makefile.am | 2 ++ tests/plugins/flt.utils.muxer/Makefile.am | 2 ++ tests/plugins/flt.utils.muxer/succeed/Makefile.am | 2 ++ tests/plugins/flt.utils.trimmer/Makefile.am | 2 ++ tests/plugins/sink.ctf.fs/Makefile.am | 2 ++ tests/plugins/sink.ctf.fs/succeed/Makefile.am | 2 ++ tests/plugins/sink.text.pretty/Makefile.am | 4 ++++ tests/plugins/src.ctf.fs/Makefile.am | 2 ++ tests/plugins/src.ctf.fs/succeed/Makefile.am | 2 ++ tests/utils/Makefile.am | 3 ++- tests/utils/tap/Makefile.am | 3 ++- 27 files changed, 58 insertions(+), 5 deletions(-) diff --git a/Makefile.am b/Makefile.am index 54bbc10d..51c6fcc2 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,3 +1,5 @@ +# SPDX-FileCopyrightText: 2024 EfficiOS Inc. +# # SPDX-License-Identifier: MIT ACLOCAL_AMFLAGS = -I m4 @@ -17,6 +19,7 @@ dist_doc_DATA = \ dist_noinst_DATA = CodingStyle EXTRA_DIST = \ + .reuse/dep5 \ LICENSES/BSD-2-Clause.txt \ LICENSES/BSD-4-Clause.txt \ LICENSES/BSL-1.0.txt \ diff --git a/bootstrap b/bootstrap index 452813a4..22c8babb 100755 --- a/bootstrap +++ b/bootstrap @@ -1,4 +1,7 @@ #!/bin/sh + +# SPDX-FileCopyrightText: 2024 EfficiOS Inc. +# # SPDX-License-Identifier: MIT set -x diff --git a/doc/Makefile.am b/doc/Makefile.am index 160cd5a9..ebb99a93 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -1,3 +1,5 @@ +# SPDX-FileCopyrightText: 2024 EfficiOS Inc. +# # SPDX-License-Identifier: MIT SUBDIRS = man diff --git a/doc/api/libbabeltrace2/Makefile.am b/doc/api/libbabeltrace2/Makefile.am index c8ae04f6..3d6db280 100644 --- a/doc/api/libbabeltrace2/Makefile.am +++ b/doc/api/libbabeltrace2/Makefile.am @@ -1,3 +1,5 @@ +# SPDX-FileCopyrightText: 2024 EfficiOS Inc. +# # SPDX-License-Identifier: MIT API_DOC_INSTALL_DIR = "$(DESTDIR)$(docdir)/api" diff --git a/doc/bindings/python/Makefile.am b/doc/bindings/python/Makefile.am index a5521967..4760104e 100644 --- a/doc/bindings/python/Makefile.am +++ b/doc/bindings/python/Makefile.am @@ -1,3 +1,5 @@ +# SPDX-FileCopyrightText: 2024 EfficiOS Inc. +# # SPDX-License-Identifier: MIT SPHINX_SOURCE_DIR = $(srcdir)/source diff --git a/doc/man/Makefile.am b/doc/man/Makefile.am index 989d92ba..b0b8127e 100644 --- a/doc/man/Makefile.am +++ b/doc/man/Makefile.am @@ -1,3 +1,5 @@ +# SPDX-FileCopyrightText: 2024 EfficiOS Inc. +# # SPDX-License-Identifier: MIT # Man pages are only built if they are enabled at configure time. diff --git a/include/Makefile.am b/include/Makefile.am index 1b996433..ed0f82f4 100644 --- a/include/Makefile.am +++ b/include/Makefile.am @@ -1,3 +1,5 @@ +# SPDX-FileCopyrightText: 2024 EfficiOS Inc. +# # SPDX-License-Identifier: MIT # Core API diff --git a/src/Makefile.am b/src/Makefile.am index 8bd81ddd..0528e56a 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1,4 +1,5 @@ -# SPDX-FileCopyrightText: 2019-2023 EfficiOS, Inc. +# SPDX-FileCopyrightText: 2019-2024 EfficiOS, Inc. +# # SPDX-License-Identifier: MIT # Build the current dir containing the library and plugins before the cli and diff --git a/src/bindings/python/bt2/Makefile.am b/src/bindings/python/bt2/Makefile.am index 77b3bec5..af203041 100644 --- a/src/bindings/python/bt2/Makefile.am +++ b/src/bindings/python/bt2/Makefile.am @@ -1,4 +1,5 @@ -# SPDX-FileCopyrightText: 2019-2023 EfficiOS, Inc. +# SPDX-FileCopyrightText: 2019-2024 EfficiOS, Inc. +# # SPDX-License-Identifier: MIT # Since the shared object used by the python bindings is not built with diff --git a/src/cli/Makefile.am b/src/cli/Makefile.am index 45254878..c43c13be 100644 --- a/src/cli/Makefile.am +++ b/src/cli/Makefile.am @@ -1,4 +1,5 @@ -# SPDX-FileCopyrightText: 2019-2023 EfficiOS, Inc. +# SPDX-FileCopyrightText: 2019-2024 EfficiOS, Inc. +# # SPDX-License-Identifier: MIT include $(top_srcdir)/src/Makefile.common.inc diff --git a/tests/Makefile.am b/tests/Makefile.am index 0b63ad9d..95e0caeb 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -1,3 +1,5 @@ +# SPDX-FileCopyrightText: 2024 EfficiOS Inc. +# # SPDX-License-Identifier: MIT include $(top_srcdir)/src/Makefile.common.inc diff --git a/tests/bitfield/Makefile.am b/tests/bitfield/Makefile.am index f9f3d9e5..a1ae9d3a 100644 --- a/tests/bitfield/Makefile.am +++ b/tests/bitfield/Makefile.am @@ -1,3 +1,5 @@ +# SPDX-FileCopyrightText: 2024 EfficiOS Inc. +# # SPDX-License-Identifier: MIT AM_CPPFLAGS += -I$(top_srcdir)/tests/utils diff --git a/tests/ctf-writer/Makefile.am b/tests/ctf-writer/Makefile.am index 4bd97d26..75f0229c 100644 --- a/tests/ctf-writer/Makefile.am +++ b/tests/ctf-writer/Makefile.am @@ -1,3 +1,5 @@ +# SPDX-FileCopyrightText: 2024 EfficiOS Inc. +# # SPDX-License-Identifier: MIT AM_CPPFLAGS += -I$(top_srcdir)/tests/utils diff --git a/tests/lib/Makefile.am b/tests/lib/Makefile.am index f58d4f41..fe63bf5c 100644 --- a/tests/lib/Makefile.am +++ b/tests/lib/Makefile.am @@ -1,3 +1,5 @@ +# SPDX-FileCopyrightText: 2024 EfficiOS Inc. +# # SPDX-License-Identifier: MIT include $(top_srcdir)/src/Makefile.common.inc diff --git a/tests/param-validation/Makefile.am b/tests/param-validation/Makefile.am index 14cf3d63..8f3cd7b1 100644 --- a/tests/param-validation/Makefile.am +++ b/tests/param-validation/Makefile.am @@ -1,3 +1,5 @@ +# SPDX-FileCopyrightText: 2024 EfficiOS Inc. +# # SPDX-License-Identifier: MIT AM_CPPFLAGS += -I$(top_srcdir)/tests/utils diff --git a/tests/plugins/Makefile.am b/tests/plugins/Makefile.am index 2cf409ef..c103d77f 100644 --- a/tests/plugins/Makefile.am +++ b/tests/plugins/Makefile.am @@ -1,3 +1,5 @@ +# SPDX-FileCopyrightText: 2024 EfficiOS Inc. +# # SPDX-License-Identifier: MIT SUBDIRS = \ diff --git a/tests/plugins/flt.lttng-utils.debug-info/Makefile.am b/tests/plugins/flt.lttng-utils.debug-info/Makefile.am index 1bd548dd..4a58bfca 100644 --- a/tests/plugins/flt.lttng-utils.debug-info/Makefile.am +++ b/tests/plugins/flt.lttng-utils.debug-info/Makefile.am @@ -1,3 +1,5 @@ +# SPDX-FileCopyrightText: 2024 EfficiOS Inc. +# # SPDX-License-Identifier: MIT AM_CPPFLAGS += -I$(top_srcdir)/tests/utils -I$(top_srcdir)/src/plugins diff --git a/tests/plugins/flt.utils.muxer/Makefile.am b/tests/plugins/flt.utils.muxer/Makefile.am index 6654b8e3..05988e58 100644 --- a/tests/plugins/flt.utils.muxer/Makefile.am +++ b/tests/plugins/flt.utils.muxer/Makefile.am @@ -1,3 +1,5 @@ +# SPDX-FileCopyrightText: 2024 EfficiOS Inc. +# # SPDX-License-Identifier: MIT SUBDIRS = succeed diff --git a/tests/plugins/flt.utils.muxer/succeed/Makefile.am b/tests/plugins/flt.utils.muxer/succeed/Makefile.am index 09965988..cb3afcaf 100644 --- a/tests/plugins/flt.utils.muxer/succeed/Makefile.am +++ b/tests/plugins/flt.utils.muxer/succeed/Makefile.am @@ -1,3 +1,5 @@ +# SPDX-FileCopyrightText: 2024 EfficiOS Inc. +# # SPDX-License-Identifier: MIT dist_check_SCRIPTS = \ diff --git a/tests/plugins/flt.utils.trimmer/Makefile.am b/tests/plugins/flt.utils.trimmer/Makefile.am index 5c369a43..cad02ffd 100644 --- a/tests/plugins/flt.utils.trimmer/Makefile.am +++ b/tests/plugins/flt.utils.trimmer/Makefile.am @@ -1,3 +1,5 @@ +# SPDX-FileCopyrightText: 2024 EfficiOS Inc. +# # SPDX-License-Identifier: MIT dist_check_SCRIPTS = \ diff --git a/tests/plugins/sink.ctf.fs/Makefile.am b/tests/plugins/sink.ctf.fs/Makefile.am index 557a355e..3f3c19f7 100644 --- a/tests/plugins/sink.ctf.fs/Makefile.am +++ b/tests/plugins/sink.ctf.fs/Makefile.am @@ -1,3 +1,5 @@ +# SPDX-FileCopyrightText: 2024 EfficiOS Inc. +# # SPDX-License-Identifier: MIT SUBDIRS = succeed diff --git a/tests/plugins/sink.ctf.fs/succeed/Makefile.am b/tests/plugins/sink.ctf.fs/succeed/Makefile.am index b4332093..be0bcbdf 100644 --- a/tests/plugins/sink.ctf.fs/succeed/Makefile.am +++ b/tests/plugins/sink.ctf.fs/succeed/Makefile.am @@ -1,3 +1,5 @@ +# SPDX-FileCopyrightText: 2024 EfficiOS Inc. +# # SPDX-License-Identifier: MIT dist_check_SCRIPTS = test-succeed.sh diff --git a/tests/plugins/sink.text.pretty/Makefile.am b/tests/plugins/sink.text.pretty/Makefile.am index 4760ef5e..af0130ea 100644 --- a/tests/plugins/sink.text.pretty/Makefile.am +++ b/tests/plugins/sink.text.pretty/Makefile.am @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2024 EfficiOS Inc. +# +# SPDX-License-Identifier: MIT + dist_check_SCRIPTS = \ test-pretty-python.sh \ test-enum.sh diff --git a/tests/plugins/src.ctf.fs/Makefile.am b/tests/plugins/src.ctf.fs/Makefile.am index 8c367353..d08b852e 100644 --- a/tests/plugins/src.ctf.fs/Makefile.am +++ b/tests/plugins/src.ctf.fs/Makefile.am @@ -1,3 +1,5 @@ +# SPDX-FileCopyrightText: 2024 EfficiOS Inc. +# # SPDX-License-Identifier: MIT SUBDIRS = succeed diff --git a/tests/plugins/src.ctf.fs/succeed/Makefile.am b/tests/plugins/src.ctf.fs/succeed/Makefile.am index f424a93d..cb86c8e9 100644 --- a/tests/plugins/src.ctf.fs/succeed/Makefile.am +++ b/tests/plugins/src.ctf.fs/succeed/Makefile.am @@ -1,3 +1,5 @@ +# SPDX-FileCopyrightText: 2024 EfficiOS Inc. +# # SPDX-License-Identifier: MIT dist_check_SCRIPTS = test-succeed.sh diff --git a/tests/utils/Makefile.am b/tests/utils/Makefile.am index 8863b6cf..7b9f6084 100644 --- a/tests/utils/Makefile.am +++ b/tests/utils/Makefile.am @@ -1,4 +1,5 @@ -# SPDX-FileCopyrightText: 2013-2023 EfficiOS, Inc. +# SPDX-FileCopyrightText: 2013-2024 EfficiOS, Inc. +# # SPDX-License-Identifier: MIT SUBDIRS = tap diff --git a/tests/utils/tap/Makefile.am b/tests/utils/tap/Makefile.am index a88393d9..a715675e 100644 --- a/tests/utils/tap/Makefile.am +++ b/tests/utils/tap/Makefile.am @@ -1,4 +1,5 @@ -# SPDX-FileCopyrightText: 2013-2020 EfficiOS, Inc. +# SPDX-FileCopyrightText: 2013-2024 EfficiOS, Inc. +# # SPDX-License-Identifier: MIT noinst_LTLIBRARIES = libtap.la -- 2.34.1