Browse Source

Merge #8784: Copyright headers for build scripts

0c4e6ce Add MIT license to build-aux/m4 scripts (Luke Dashjr)
3f8a5d8 Trivial: build-aux/m4/l_atomic: Fix typo (Luke Dashjr)
3b4b6dc Add MIT license to autogen.sh and share/genbuild.sh (Luke Dashjr)
f4dffdd Add MIT license to Makefiles (Luke Dashjr)
0.14
Wladimir J. van der Laan 8 years ago
parent
commit
d675984fdf
No known key found for this signature in database
GPG Key ID: 74810B012346C9A6
  1. 4
      Makefile.am
  2. 4
      autogen.sh
  3. 4
      build-aux/m4/bitcoin_find_bdb48.m4
  4. 4
      build-aux/m4/bitcoin_qt.m4
  5. 4
      build-aux/m4/bitcoin_subdir_to_include.m4
  6. 8
      build-aux/m4/l_atomic.m4
  7. 4
      share/genbuild.sh
  8. 4
      src/Makefile.am
  9. 4
      src/Makefile.bench.include
  10. 4
      src/Makefile.leveldb.include
  11. 4
      src/Makefile.qt.include
  12. 4
      src/Makefile.qttest.include
  13. 4
      src/Makefile.test.include

4
Makefile.am

@ -1,3 +1,7 @@ @@ -1,3 +1,7 @@
# Copyright (c) 2013-2016 The Bitcoin Core developers
# Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
ACLOCAL_AMFLAGS = -I build-aux/m4
SUBDIRS = src
if ENABLE_MAN

4
autogen.sh

@ -1,4 +1,8 @@ @@ -1,4 +1,8 @@
#!/bin/sh
# Copyright (c) 2013-2016 The Bitcoin Core developers
# Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
set -e
srcdir="$(dirname $0)"
cd "$srcdir"

4
build-aux/m4/bitcoin_find_bdb48.m4

@ -1,3 +1,7 @@ @@ -1,3 +1,7 @@
dnl Copyright (c) 2013-2015 The Bitcoin Core developers
dnl Distributed under the MIT software license, see the accompanying
dnl file COPYING or http://www.opensource.org/licenses/mit-license.php.
AC_DEFUN([BITCOIN_FIND_BDB48],[
AC_MSG_CHECKING([for Berkeley DB C++ headers])
BDB_CPPFLAGS=

4
build-aux/m4/bitcoin_qt.m4

@ -1,3 +1,7 @@ @@ -1,3 +1,7 @@
dnl Copyright (c) 2013-2016 The Bitcoin Core developers
dnl Distributed under the MIT software license, see the accompanying
dnl file COPYING or http://www.opensource.org/licenses/mit-license.php.
dnl Helper for cases where a qt dependency is not met.
dnl Output: If qt version is auto, set bitcoin_enable_qt to false. Else, exit.
AC_DEFUN([BITCOIN_QT_FAIL],[

4
build-aux/m4/bitcoin_subdir_to_include.m4

@ -1,3 +1,7 @@ @@ -1,3 +1,7 @@
dnl Copyright (c) 2013-2014 The Bitcoin Core developers
dnl Distributed under the MIT software license, see the accompanying
dnl file COPYING or http://www.opensource.org/licenses/mit-license.php.
dnl BITCOIN_SUBDIR_TO_INCLUDE([CPPFLAGS-VARIABLE-NAME],[SUBDIRECTORY-NAME],[HEADER-FILE])
dnl SUBDIRECTORY-NAME must end with a path separator
AC_DEFUN([BITCOIN_SUBDIR_TO_INCLUDE],[

8
build-aux/m4/l_atomic.m4

@ -1,3 +1,9 @@ @@ -1,3 +1,9 @@
dnl Copyright (c) 2015 Tim Kosse <tim.kosse@filezilla-project.org>
dnl Copying and distribution of this file, with or without modification, are
dnl permitted in any medium without royalty provided the copyright notice
dnl and this notice are preserved. This file is offered as-is, without any
dnl warranty.
# Some versions of gcc/libstdc++ require linking with -latomic if
# using the C++ atomic library.
#
@ -32,7 +38,7 @@ AC_DEFUN([CHECK_ATOMIC], [ @@ -32,7 +38,7 @@ AC_DEFUN([CHECK_ATOMIC], [
AC_MSG_RESULT([yes])
],[
AC_MSG_RESULT([no])
AC_MSG_FAILURE([cannot figure our how to use std::atomic])
AC_MSG_FAILURE([cannot figure out how to use std::atomic])
])
])

4
share/genbuild.sh

@ -1,4 +1,8 @@ @@ -1,4 +1,8 @@
#!/bin/sh
# Copyright (c) 2012-2016 The Bitcoin Core developers
# Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
if [ $# -gt 1 ]; then
cd "$2"
fi

4
src/Makefile.am

@ -1,3 +1,7 @@ @@ -1,3 +1,7 @@
# Copyright (c) 2013-2016 The Bitcoin Core developers
# Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
DIST_SUBDIRS = secp256k1 univalue
AM_LDFLAGS = $(PTHREAD_CFLAGS) $(LIBTOOL_LDFLAGS) $(HARDENED_LDFLAGS)

4
src/Makefile.bench.include

@ -1,3 +1,7 @@ @@ -1,3 +1,7 @@
# Copyright (c) 2015-2016 The Bitcoin Core developers
# Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
bin_PROGRAMS += bench/bench_bitcoin
BENCH_SRCDIR = bench
BENCH_BINARY = bench/bench_bitcoin$(EXEEXT)

4
src/Makefile.leveldb.include

@ -1,3 +1,7 @@ @@ -1,3 +1,7 @@
# Copyright (c) 2016 The Bitcoin Core developers
# Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
LIBLEVELDB_INT = leveldb/libleveldb.a
LIBMEMENV_INT = leveldb/libmemenv.a

4
src/Makefile.qt.include

@ -1,3 +1,7 @@ @@ -1,3 +1,7 @@
# Copyright (c) 2013-2016 The Bitcoin Core developers
# Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
bin_PROGRAMS += qt/bitcoin-qt
EXTRA_LIBRARIES += qt/libbitcoinqt.a

4
src/Makefile.qttest.include

@ -1,3 +1,7 @@ @@ -1,3 +1,7 @@
# Copyright (c) 2013-2016 The Bitcoin Core developers
# Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
bin_PROGRAMS += qt/test/test_bitcoin-qt
TESTS += qt/test/test_bitcoin-qt

4
src/Makefile.test.include

@ -1,3 +1,7 @@ @@ -1,3 +1,7 @@
# Copyright (c) 2013-2016 The Bitcoin Core developers
# Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
TESTS += test/test_bitcoin
bin_PROGRAMS += test/test_bitcoin
TEST_SRCDIR = test

Loading…
Cancel
Save