summaryrefslogtreecommitdiff
path: root/make/template/bsd.mk
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2017-07-12 13:08:28 +0100
committerPeter Powell <petpow@saberuk.com>2017-07-24 17:00:05 +0100
commitbb9db07c21f9142fca6e9c296379c4a04fcb790f (patch)
treece58145a008cb0d54331dbdb99b41c2fbdfc747b /make/template/bsd.mk
parent6ad780e527094d5d1cb68af1ec326b58db182c80 (diff)
Remove support for building with BSD Make.
BSD users should install GNU Make to build InspIRCd.
Diffstat (limited to 'make/template/bsd.mk')
-rw-r--r--make/template/bsd.mk33
1 files changed, 33 insertions, 0 deletions
diff --git a/make/template/bsd.mk b/make/template/bsd.mk
new file mode 100644
index 000000000..05d413d0a
--- /dev/null
+++ b/make/template/bsd.mk
@@ -0,0 +1,33 @@
+%platform darwin
+%platform freebsd
+%platform netbsd
+%platform openbsd
+%target Makefile
+#
+# InspIRCd -- Internet Relay Chat Daemon
+#
+# Copyright (C) 2017 Peter Powell <petpow@saberuk.com>
+#
+# This file is part of InspIRCd. InspIRCd is free software: you can
+# redistribute it and/or modify it under the terms of the GNU General Public
+# License as published by the Free Software Foundation, version 2.
+#
+# This program is distributed in the hope that it will be useful, but WITHOUT
+# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
+# details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+#
+
+# This file will be installed as `Makefile` on BSD derivatives. When a user runs
+# BSD Make it will be picked up as the default makefile even on systems like
+# OpenBSD which have removed BSDMakefile support. If they run GNU Make then it
+# will ignore this file and run GNUmakefile instead.
+
+all clean configureclean debug deinstall distclean help install:
+ @echo "InspIRCd no longer supports BSD Make. You should install GNU Make instead."
+ @echo "If this is problematic for you then please contact us via our IRC channel"
+ @echo "at irc.inspircd.org #InspIRCd."
+ @exit 1