Skip to content

Commit 0cca9fe

Browse files
committed
configure: make: Add SPDX, update copyright
Add SPDX and copyright to few missing places or update copyright. Link: https://lore.kernel.org/ltp/[email protected]/ Acked-by: Andrea Cervesato <[email protected]> Signed-off-by: Petr Vorel <[email protected]>
1 parent b786512 commit 0cca9fe

19 files changed

+61
-283
lines changed

configure.ac

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright (c) Linux Test Project, 2008-2025
2+
# SPDX-License-Identifier: GPL-2.0-or-later
3+
14
AC_PREREQ(2.64)
25
AC_INIT([ltp], [LTP_VERSION], [[email protected]])
36
AC_CONFIG_AUX_DIR([.])

doc/Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright (c) Linux Test Project, 2024-2025
2+
# SPDX-License-Identifier: GPL-2.0-or-later
3+
14
top_srcdir ?= ..
25

36
include $(top_srcdir)/include/mk/env_pre.mk

include/mk/automake.mk

Lines changed: 4 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,8 @@
1-
#
2-
# Autotools include Makefile.
3-
#
4-
# Copyright (C) 2009, Cisco Systems Inc.
5-
#
6-
# This program is free software; you can redistribute it and/or modify
7-
# it under the terms of the GNU General Public License as published by
8-
# the Free Software Foundation; either version 2 of the License, or
9-
# (at your option) any later version.
10-
#
11-
# This program is distributed in the hope that it will be useful,
12-
# but WITHOUT ANY WARRANTY; without even the implied warranty of
13-
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14-
# GNU General Public License for more details.
15-
#
16-
# You should have received a copy of the GNU General Public License along
17-
# with this program; if not, write to the Free Software Foundation, Inc.,
18-
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
19-
#
1+
# SPDX-License-Identifier: GPL-2.0-or-later
2+
# Autotools include Makefile.
3+
# Copyright (c) Linux Test Project, 2010-2024
4+
# Copyright (C) 2009, Cisco Systems Inc.
205
# Ngie Cooper, July 2009
21-
#
226

237
# Override these variables to use non-system available tools.
248
ACLOCAL ?= aclocal

include/mk/config-openposix.mk.in

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# SPDX-License-Identifier: GPL-2.0-or-later
2+
# Copyright (c) Linux Test Project, 2016
13
# Parameters from the top level configure
24
CC= @CC@
35
CFLAGS+= @CFLAGS@

include/mk/config.mk.in

Lines changed: 3 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,7 @@
1-
#
2-
# config.mk.in.
3-
#
4-
# Copyright (C) 2009, Cisco Systems Inc.
5-
#
6-
# This program is free software; you can redistribute it and/or modify
7-
# it under the terms of the GNU General Public License as published by
8-
# the Free Software Foundation; either version 2 of the License, or
9-
# (at your option) any later version.
10-
#
11-
# This program is distributed in the hope that it will be useful,
12-
# but WITHOUT ANY WARRANTY; without even the implied warranty of
13-
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14-
# GNU General Public License for more details.
15-
#
16-
# You should have received a copy of the GNU General Public License along
17-
# with this program; if not, write to the Free Software Foundation, Inc.,
18-
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
19-
#
1+
# SPDX-License-Identifier: GPL-2.0-or-later
2+
# Copyright (c) Linux Test Project, 2009-2024
3+
# Copyright (C) 2009, Cisco Systems Inc.
204
# Ngie Cooper, July 2009
21-
#
225

236
# See this page for more info about LEX*:
247
# http://www.gnu.org/software/hello/manual/autoconf/Particular-Programs.html

include/mk/env_post.mk

Lines changed: 4 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,8 @@
1-
#
2-
# Environment post-setup Makefile.
3-
#
4-
# Copyright (c) Linux Test Project, 2009-2020
5-
# Copyright (c) Cisco Systems Inc., 2009
6-
#
7-
# This program is free software; you can redistribute it and/or modify
8-
# it under the terms of the GNU General Public License as published by
9-
# the Free Software Foundation; either version 2 of the License, or
10-
# (at your option) any later version.
11-
#
12-
# This program is distributed in the hope that it will be useful,
13-
# but WITHOUT ANY WARRANTY; without even the implied warranty of
14-
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15-
# GNU General Public License for more details.
16-
#
17-
# You should have received a copy of the GNU General Public License along
18-
# with this program; if not, write to the Free Software Foundation, Inc.,
19-
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
20-
#
1+
# SPDX-License-Identifier: GPL-2.0-or-later
2+
# Environment post-setup Makefile.
3+
# Copyright (c) Linux Test Project, 2009-2025
4+
# Copyright (c) Cisco Systems Inc., 2009
215
# Ngie Cooper, July 2009
22-
#
236

247
ENV_PRE_LOADED ?= $(error You must load env_pre.mk before including this file)
258

include/mk/env_pre.mk

Lines changed: 4 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,11 @@
1-
#
2-
# Make pre-include environment Makefile.
3-
#
4-
# Copyright (c) Linux Test Project, 2009-2020
5-
# Copyright (c) Cisco Systems Inc., 2009
6-
#
7-
# This program is free software; you can redistribute it and/or modify
8-
# it under the terms of the GNU General Public License as published by
9-
# the Free Software Foundation; either version 2 of the License, or
10-
# (at your option) any later version.
11-
#
12-
# This program is distributed in the hope that it will be useful,
13-
# but WITHOUT ANY WARRANTY; without even the implied warranty of
14-
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15-
# GNU General Public License for more details.
16-
#
17-
# You should have received a copy of the GNU General Public License along
18-
# with this program; if not, write to the Free Software Foundation, Inc.,
19-
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
20-
#
1+
# SPDX-License-Identifier: GPL-2.0-or-later
2+
# Make pre-include environment Makefile.
3+
# Copyright (c) Linux Test Project, 2009-2020
4+
# Copyright (c) Cisco Systems Inc., 2009
215
# Ngie Cooper, September 2009
226
#
237
# This Makefile must be included first. NO IF'S, AND'S, OR BUT'S.
24-
#
258
# This sets the stage for all operations required within Makefiles.
26-
#
279

2810
ifndef ENV_PRE_LOADED
2911
ENV_PRE_LOADED = 1

include/mk/features.mk.in

Lines changed: 2 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,6 @@
1-
#
2-
# features.mk.in - feature tuning include Makefile.
3-
#
4-
# Copyright (C) 2010, Linux Test Project.
5-
#
6-
# This program is free software; you can redistribute it and/or modify
7-
# it under the terms of the GNU General Public License as published by
8-
# the Free Software Foundation; either version 2 of the License, or
9-
# (at your option) any later version.
10-
#
11-
# This program is distributed in the hope that it will be useful,
12-
# but WITHOUT ANY WARRANTY; without even the implied warranty of
13-
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14-
# GNU General Public License for more details.
15-
#
16-
# You should have received a copy of the GNU General Public License along
17-
# with this program; if not, write to the Free Software Foundation, Inc.,
18-
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
19-
#
1+
# Copyright (c) Linux Test Project, 2008-2025
2+
# SPDX-License-Identifier: GPL-2.0-or-later
203
# Ngie Cooper, October 2010
21-
#
224

235
# Tools enable knobs
246
WITH_EXPECT := @WITH_EXPECT@

include/mk/functions.mk

Lines changed: 4 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,8 @@
1-
#
2-
# A Makefile with a collection of reusable functions.
3-
#
4-
# Copyright (c) Linux Test Project, 2009-2020
5-
# Copyright (c) Cisco Systems Inc., 2009
6-
#
7-
# This program is free software; you can redistribute it and/or modify
8-
# it under the terms of the GNU General Public License as published by
9-
# the Free Software Foundation; either version 2 of the License, or
10-
# (at your option) any later version.
11-
#
12-
# This program is distributed in the hope that it will be useful,
13-
# but WITHOUT ANY WARRANTY; without even the implied warranty of
14-
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15-
# GNU General Public License for more details.
16-
#
17-
# You should have received a copy of the GNU General Public License along
18-
# with this program; if not, write to the Free Software Foundation, Inc.,
19-
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
20-
#
1+
# SPDX-License-Identifier: GPL-2.0-or-later
2+
# A Makefile with a collection of reusable functions.
3+
# Copyright (c) Linux Test Project, 2009-2020
4+
# Copyright (c) Cisco Systems Inc., 2009
215
# Ngie Cooper, July 2009
22-
#
236

247
# Generate an install rule which also creates the install directory if needed
258
# to avoid unnecessary bourne shell based for-loops and install errors, as well

include/mk/generic_leaf_target.inc

Lines changed: 4 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,8 @@
1-
#
2-
# Generic leaf rules include Makefile.
3-
#
4-
# Copyright (C) 2009, Cisco Systems Inc.
5-
#
6-
# This program is free software; you can redistribute it and/or modify
7-
# it under the terms of the GNU General Public License as published by
8-
# the Free Software Foundation; either version 2 of the License, or
9-
# (at your option) any later version.
10-
#
11-
# This program is distributed in the hope that it will be useful,
12-
# but WITHOUT ANY WARRANTY; without even the implied warranty of
13-
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14-
# GNU General Public License for more details.
15-
#
16-
# You should have received a copy of the GNU General Public License along
17-
# with this program; if not, write to the Free Software Foundation, Inc.,
18-
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
19-
#
1+
# SPDX-License-Identifier: GPL-2.0-or-later
2+
# Generic leaf rules include Makefile.
3+
# Copyright (c) Linux Test Project, 2017-2022
4+
# Copyright (C) 2009, Cisco Systems Inc.
205
# Ngie Cooper, July 2009
21-
#
226

237
#
248
# generic_leaf_target

0 commit comments

Comments
 (0)