aboutsummaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorWilliam Hubbs <w.d.hubbs@gmail.com>2015-12-04 16:52:19 -0600
committerWilliam Hubbs <w.d.hubbs@gmail.com>2015-12-21 12:16:06 -0600
commit000503fad72e4eb2ef956a24df358be84b2a9493 (patch)
tree0307f01ead5ba19185b69e5dcdb033054b63956b /mk
parent065f034059d7ca26bbb985158c5d361ff75df186 (diff)
Convert OpenRC to a centralized copyright/license structure
In the past, OpenRC was a hybrid of a centralized and file-scope license/copyright structure. I followed the instructions from the Software Freedom Law Center [1] to convert to a Centralized structure where possible, for easier future maintenance. [1] https://softwarefreedom.org/resources/2012/ManagingCopyrightInformation.html
Diffstat (limited to 'mk')
-rw-r--r--mk/cc.mk10
-rw-r--r--mk/debug.mk11
-rw-r--r--mk/depend.mk10
-rw-r--r--mk/dist.mk11
-rw-r--r--mk/gitignore.mk11
-rw-r--r--mk/lib.mk11
-rw-r--r--mk/os-BSD.mk11
-rw-r--r--mk/os-DragonFly.mk11
-rw-r--r--mk/os-FreeBSD.mk11
-rw-r--r--mk/os-GNU-kFreeBSD.mk11
-rw-r--r--mk/os-GNU.mk11
-rw-r--r--mk/os-Linux.mk11
-rw-r--r--mk/os-NetBSD.mk11
-rw-r--r--mk/os.mk11
-rw-r--r--mk/prog.mk11
-rw-r--r--mk/scripts.mk11
-rw-r--r--mk/subdir.mk11
-rw-r--r--mk/sys.mk11
18 files changed, 162 insertions, 34 deletions
diff --git a/mk/cc.mk b/mk/cc.mk
index ceb82f19..c9f7f355 100644
--- a/mk/cc.mk
+++ b/mk/cc.mk
@@ -1,4 +1,12 @@
-# Copyright (c) 2008 Roy Marples <roy@marples.name>
+# Copyright (c) 2008-2015 The OpenRC Authors.
+# See the Authors file at the top-level directory of this distribution and
+# https://github.com/OpenRC/openrc/blob/master/AUTHORS
+#
+# This file is part of OpenRC. It is subject to the license terms in
+# the LICENSE file found in the top-level directory of this
+# distribution and at https://github.com/OpenRC/openrc/blob/master/LICENSE
+# This file may not be copied, modified, propagated, or distributed
+# except according to the terms contained in the LICENSE file.
# Setup some good default CFLAGS
CFLAGS?= -O2 -g
diff --git a/mk/debug.mk b/mk/debug.mk
index 66c968b3..5dd785b0 100644
--- a/mk/debug.mk
+++ b/mk/debug.mk
@@ -1,6 +1,13 @@
# rules to enable debugging support
-# Copyright (c) 2008 Roy Marples <roy@marples.name>
-# Released under the 2-clause BSD license.
+# Copyright (c) 2008-2015 The OpenRC Authors.
+# See the Authors file at the top-level directory of this distribution and
+# https://github.com/OpenRC/openrc/blob/master/AUTHORS
+#
+# This file is part of OpenRC. It is subject to the license terms in
+# the LICENSE file found in the top-level directory of this
+# distribution and at https://github.com/OpenRC/openrc/blob/master/LICENSE
+# This file may not be copied, modified, propagated, or distributed
+# except according to the terms contained in the LICENSE file.
_RC_DEBUG_SH= case "${DEBUG}" in "") echo "";; *) echo "-DRC_DEBUG";; esac
_RC_DEBUG:= $(shell ${_RC_DEBUG_SH})
diff --git a/mk/depend.mk b/mk/depend.mk
index 873b0ca3..9dc118fb 100644
--- a/mk/depend.mk
+++ b/mk/depend.mk
@@ -1,5 +1,13 @@
# Generate .depend
-# Copyright (c) 2008 Roy Marples <roy@marples.name>
+# Copyright (c) 2008-2015 The OpenRC Authors.
+# See the Authors file at the top-level directory of this distribution and
+# https://github.com/OpenRC/openrc/blob/master/AUTHORS
+#
+# This file is part of OpenRC. It is subject to the license terms in
+# the LICENSE file found in the top-level directory of this
+# distribution and at https://github.com/OpenRC/openrc/blob/master/LICENSE
+# This file may not be copied, modified, propagated, or distributed
+# except according to the terms contained in the LICENSE file.
CLEANFILES+= .depend
IGNOREFILES+= .depend
diff --git a/mk/dist.mk b/mk/dist.mk
index a986e608..d127ad7a 100644
--- a/mk/dist.mk
+++ b/mk/dist.mk
@@ -1,6 +1,13 @@
# rules to make a distribution tarball from a git repo
-# Copyright (c) 2008 Roy Marples <roy@marples.name>
-# Released under the 2-clause BSD license.
+# Copyright (c) 2008-2015 The OpenRC Authors.
+# See the Authors file at the top-level directory of this distribution and
+# https://github.com/OpenRC/openrc/blob/master/AUTHORS
+#
+# This file is part of OpenRC. It is subject to the license terms in
+# the LICENSE file found in the top-level directory of this
+# distribution and at https://github.com/OpenRC/openrc/blob/master/LICENSE
+# This file may not be copied, modified, propagated, or distributed
+# except according to the terms contained in the LICENSE file.
GITREF?= ${VERSION}
DISTPREFIX?= ${NAME}-${VERSION}
diff --git a/mk/gitignore.mk b/mk/gitignore.mk
index ce7f6891..2929aacf 100644
--- a/mk/gitignore.mk
+++ b/mk/gitignore.mk
@@ -1,6 +1,13 @@
# rules to make .gitignore files
-# Copyright (c) 2008 Roy Marples <roy@marples.name>
-# Released under the 2-clause BSD license.
+# Copyright (c) 2008-2015 The OpenRC Authors.
+# See the Authors file at the top-level directory of this distribution and
+# https://github.com/OpenRC/openrc/blob/master/AUTHORS
+#
+# This file is part of OpenRC. It is subject to the license terms in
+# the LICENSE file found in the top-level directory of this
+# distribution and at https://github.com/OpenRC/openrc/blob/master/LICENSE
+# This file may not be copied, modified, propagated, or distributed
+# except according to the terms contained in the LICENSE file.
IGNOREFILES+= ${CLEANFILES}
diff --git a/mk/lib.mk b/mk/lib.mk
index 61a79ca9..efd9ea85 100644
--- a/mk/lib.mk
+++ b/mk/lib.mk
@@ -1,8 +1,15 @@
# rules to build a library
# based on FreeBSD's bsd.lib.mk
-# Copyright (c) 2008 Roy Marples <roy@marples.name>
-# Released under the 2-clause BSD license.
+# Copyright (c) 2008-2015 The OpenRC Authors.
+# See the Authors file at the top-level directory of this distribution and
+# https://github.com/OpenRC/openrc/blob/master/AUTHORS
+#
+# This file is part of OpenRC. It is subject to the license terms in
+# the LICENSE file found in the top-level directory of this
+# distribution and at https://github.com/OpenRC/openrc/blob/master/LICENSE
+# This file may not be copied, modified, propagated, or distributed
+# except according to the terms contained in the LICENSE file.
SHLIB_NAME= lib${LIB}.so.${SHLIB_MAJOR}
SHLIB_LINK= lib${LIB}.so
diff --git a/mk/os-BSD.mk b/mk/os-BSD.mk
index fbcd3710..49f7a6bf 100644
--- a/mk/os-BSD.mk
+++ b/mk/os-BSD.mk
@@ -1,5 +1,12 @@
-# Copyright (c) 2008 Roy Marples <roy@marples.name>
-# Released under the 2-clause BSD license.
+# Copyright (c) 2008-2015 The OpenRC Authors.
+# See the Authors file at the top-level directory of this distribution and
+# https://github.com/OpenRC/openrc/blob/master/AUTHORS
+#
+# This file is part of OpenRC. It is subject to the license terms in
+# the LICENSE file found in the top-level directory of this
+# distribution and at https://github.com/OpenRC/openrc/blob/master/LICENSE
+# This file may not be copied, modified, propagated, or distributed
+# except according to the terms contained in the LICENSE file.
# Generic definitions
diff --git a/mk/os-DragonFly.mk b/mk/os-DragonFly.mk
index ff5e42f3..e0a64c90 100644
--- a/mk/os-DragonFly.mk
+++ b/mk/os-DragonFly.mk
@@ -1,5 +1,12 @@
-# Copyright (c) 2008 Roy Marples <roy@marples.name>
-# Released under the 2-clause BSD license.
+# Copyright (c) 2013-2015 The OpenRC Authors.
+# See the Authors file at the top-level directory of this distribution and
+# https://github.com/OpenRC/openrc/blob/master/AUTHORS
+#
+# This file is part of OpenRC. It is subject to the license terms in
+# the LICENSE file found in the top-level directory of this
+# distribution and at https://github.com/OpenRC/openrc/blob/master/LICENSE
+# This file may not be copied, modified, propagated, or distributed
+# except according to the terms contained in the LICENSE file.
# Generic definitions
diff --git a/mk/os-FreeBSD.mk b/mk/os-FreeBSD.mk
index ff5e42f3..0e4fd101 100644
--- a/mk/os-FreeBSD.mk
+++ b/mk/os-FreeBSD.mk
@@ -1,5 +1,12 @@
-# Copyright (c) 2008 Roy Marples <roy@marples.name>
-# Released under the 2-clause BSD license.
+# Copyright (c) 2008-2015 The OpenRC Authors.
+# See the Authors file at the top-level directory of this distribution and
+# https://github.com/OpenRC/openrc/blob/master/AUTHORS
+#
+# This file is part of OpenRC. It is subject to the license terms in
+# the LICENSE file found in the top-level directory of this
+# distribution and at https://github.com/OpenRC/openrc/blob/master/LICENSE
+# This file may not be copied, modified, propagated, or distributed
+# except according to the terms contained in the LICENSE file.
# Generic definitions
diff --git a/mk/os-GNU-kFreeBSD.mk b/mk/os-GNU-kFreeBSD.mk
index c2173726..4fc934e0 100644
--- a/mk/os-GNU-kFreeBSD.mk
+++ b/mk/os-GNU-kFreeBSD.mk
@@ -1,5 +1,12 @@
-# Copyright (c) 2008 Roy Marples <roy@marples.name>
-# Released under the 2-clause BSD license.
+# Copyright (c) 2013-2015 The OpenRC Authors.
+# See the Authors file at the top-level directory of this distribution and
+# https://github.com/OpenRC/openrc/blob/master/AUTHORS
+#
+# This file is part of OpenRC. It is subject to the license terms in
+# the LICENSE file found in the top-level directory of this
+# distribution and at https://github.com/OpenRC/openrc/blob/master/LICENSE
+# This file may not be copied, modified, propagated, or distributed
+# except according to the terms contained in the LICENSE file.
# Generic definitions
diff --git a/mk/os-GNU.mk b/mk/os-GNU.mk
index 826202c0..1fbc1474 100644
--- a/mk/os-GNU.mk
+++ b/mk/os-GNU.mk
@@ -1,5 +1,12 @@
-# Copyright (c) 2008 Roy Marples <roy@marples.name>
-# Released under the 2-clause BSD license.
+# Copyright (c) 2007-2015 The OpenRC Authors.
+# See the Authors file at the top-level directory of this distribution and
+# https://github.com/OpenRC/openrc/blob/master/AUTHORS
+#
+# This file is part of OpenRC. It is subject to the license terms in
+# the LICENSE file found in the top-level directory of this
+# distribution and at https://github.com/OpenRC/openrc/blob/master/LICENSE
+# This file may not be copied, modified, propagated, or distributed
+# except according to the terms contained in the LICENSE file.
SFX= .GNU.in
PKG_PREFIX?= /usr
diff --git a/mk/os-Linux.mk b/mk/os-Linux.mk
index 60235b8d..15666fca 100644
--- a/mk/os-Linux.mk
+++ b/mk/os-Linux.mk
@@ -1,5 +1,12 @@
-# Copyright (c) 2008 Roy Marples <roy@marples.name>
-# Released under the 2-clause BSD license.
+# Copyright (c) 2008-2015 The OpenRC Authors.
+# See the Authors file at the top-level directory of this distribution and
+# https://github.com/OpenRC/openrc/blob/master/AUTHORS
+#
+# This file is part of OpenRC. It is subject to the license terms in
+# the LICENSE file found in the top-level directory of this
+# distribution and at https://github.com/OpenRC/openrc/blob/master/LICENSE
+# This file may not be copied, modified, propagated, or distributed
+# except according to the terms contained in the LICENSE file.
SFX= .Linux.in
PKG_PREFIX?= /usr
diff --git a/mk/os-NetBSD.mk b/mk/os-NetBSD.mk
index 300ea624..2bd26430 100644
--- a/mk/os-NetBSD.mk
+++ b/mk/os-NetBSD.mk
@@ -1,5 +1,12 @@
-# Copyright (c) 2008 Roy Marples <roy@marples.name>
-# Released under the 2-clause BSD license.
+# Copyright (c) 2008-2015 The OpenRC Authors.
+# See the Authors file at the top-level directory of this distribution and
+# https://github.com/OpenRC/openrc/blob/master/AUTHORS
+#
+# This file is part of OpenRC. It is subject to the license terms in
+# the LICENSE file found in the top-level directory of this
+# distribution and at https://github.com/OpenRC/openrc/blob/master/LICENSE
+# This file may not be copied, modified, propagated, or distributed
+# except according to the terms contained in the LICENSE file.
# Generic definitions
diff --git a/mk/os.mk b/mk/os.mk
index 6b2d428f..20b43826 100644
--- a/mk/os.mk
+++ b/mk/os.mk
@@ -1,5 +1,12 @@
-# Copyright (c) 2008 Roy Marples <roy@marples.name>
-# Released under the 2-clause BSD license.
+# Copyright (c) 2008-2015 The OpenRC Authors.
+# See the Authors file at the top-level directory of this distribution and
+# https://github.com/OpenRC/openrc/blob/master/AUTHORS
+#
+# This file is part of OpenRC. It is subject to the license terms in
+# the LICENSE file found in the top-level directory of this
+# distribution and at https://github.com/OpenRC/openrc/blob/master/LICENSE
+# This file may not be copied, modified, propagated, or distributed
+# except according to the terms contained in the LICENSE file.
# Generic definitions
diff --git a/mk/prog.mk b/mk/prog.mk
index 1c829b17..564907fa 100644
--- a/mk/prog.mk
+++ b/mk/prog.mk
@@ -1,8 +1,15 @@
# rules to build a program
# based on FreeBSD's bsd.prog.mk
-# Copyright (c) 2008 Roy Marples <roy@marples.name>
-# Released under the 2-clause BSD license.
+# Copyright (c) 2008-2015 The OpenRC Authors.
+# See the Authors file at the top-level directory of this distribution and
+# https://github.com/OpenRC/openrc/blob/master/AUTHORS
+#
+# This file is part of OpenRC. It is subject to the license terms in
+# the LICENSE file found in the top-level directory of this
+# distribution and at https://github.com/OpenRC/openrc/blob/master/LICENSE
+# This file may not be copied, modified, propagated, or distributed
+# except according to the terms contained in the LICENSE file.
OBJS+= ${SRCS:.c=.o}
diff --git a/mk/scripts.mk b/mk/scripts.mk
index 22011991..0cbd3bfd 100644
--- a/mk/scripts.mk
+++ b/mk/scripts.mk
@@ -1,6 +1,13 @@
# Install rules for our scripts
-# Copyright (c) 2007-2008 Roy Marples <roy@marples.name>
-# Released under the 2-clause BSD license.
+# Copyright (c) 2007-2015 The OpenRC Authors.
+# See the Authors file at the top-level directory of this distribution and
+# https://github.com/OpenRC/openrc/blob/master/AUTHORS
+#
+# This file is part of OpenRC. It is subject to the license terms in
+# the LICENSE file found in the top-level directory of this
+# distribution and at https://github.com/OpenRC/openrc/blob/master/LICENSE
+# This file may not be copied, modified, propagated, or distributed
+# except according to the terms contained in the LICENSE file.
include ${MK}/sys.mk
include ${MK}/os.mk
diff --git a/mk/subdir.mk b/mk/subdir.mk
index 7f198f8b..b79c94ba 100644
--- a/mk/subdir.mk
+++ b/mk/subdir.mk
@@ -1,7 +1,14 @@
# Recursive rules
# Adapted from FreeBSDs bsd.subdir.mk
-# Copyright (c) 2007-2008 Roy Marples <roy@marples.name>
-# Released under the 2-clause BSD license.
+# Copyright (c) 2007-2015 The OpenRC Authors.
+# See the Authors file at the top-level directory of this distribution and
+# https://github.com/OpenRC/openrc/blob/master/AUTHORS
+#
+# This file is part of OpenRC. It is subject to the license terms in
+# the LICENSE file found in the top-level directory of this
+# distribution and at https://github.com/OpenRC/openrc/blob/master/LICENSE
+# This file may not be copied, modified, propagated, or distributed
+# except according to the terms contained in the LICENSE file.
_+_ ?= +
ECHODIR ?= echo
diff --git a/mk/sys.mk b/mk/sys.mk
index ce9e8ea0..76f0b787 100644
--- a/mk/sys.mk
+++ b/mk/sys.mk
@@ -1,6 +1,13 @@
# Generic system definitions
-# Copyright (c) 2008 Roy Marples <roy@marples.name>
-# Released under the 2-clause BSD license.
+# Copyright (c) 2008-2015 The OpenRC Authors.
+# See the Authors file at the top-level directory of this distribution and
+# https://github.com/OpenRC/openrc/blob/master/AUTHORS
+#
+# This file is part of OpenRC. It is subject to the license terms in
+# the LICENSE file found in the top-level directory of this
+# distribution and at https://github.com/OpenRC/openrc/blob/master/LICENSE
+# This file may not be copied, modified, propagated, or distributed
+# except according to the terms contained in the LICENSE file.
AR?= ar
CP?= cp