summaryrefslogtreecommitdiffstats
path: root/ching/Makefile.inc
diff options
context:
space:
mode:
authorperry <perry@NetBSD.org>2005-06-30 13:30:33 +0000
committerperry <perry@NetBSD.org>2005-06-30 13:30:33 +0000
commitb25e8fbbad734b9ac4b2944e44f96c0a4ff4ee09 (patch)
treeb0239c62dfb2a265c97cec74f6c3bfe74899f087 /ching/Makefile.inc
parent4365ff06b4ad27e4a3e9f5f9594d96cb96c505fe (diff)
downloadbsdgames-darwin-b25e8fbbad734b9ac4b2944e44f96c0a4ff4ee09.tar.gz
bsdgames-darwin-b25e8fbbad734b9ac4b2944e44f96c0a4ff4ee09.tar.zst
bsdgames-darwin-b25e8fbbad734b9ac4b2944e44f96c0a4ff4ee09.zip
ching(6) -- The Book of Changes, not seen in BSD since 4.4BSD.
The C code is a complete rewrite done by Guy Harris for 4.4BSD and is not the original from v7 at all. Unfortunately, the data file itself, without which the rest isn't useful, was not freed until Caldera released all of 32v a few years ago, so it was not in 4.4lite. The data file, the ching nroff macros, and the driver script are under Caldera or Caldera+Berkeley copyright. I've partially redone the driver script from 4.4 (there was no point in using a temporary file for the hexagram), which was already partially redone from 32v. (As an aside, it is nutty that the script needs a copyright so many times longer than the code.) I've renamed "cno" to "castching", "phx" to "printching", (the traditional names were opaque), and put them in /usr/libexec/ching instead of the v7 /usr/games/ching.d. The data file and nroff macros are in /usr/share/games/ching
Diffstat (limited to 'ching/Makefile.inc')
-rw-r--r--ching/Makefile.inc5
1 files changed, 5 insertions, 0 deletions
diff --git a/ching/Makefile.inc b/ching/Makefile.inc
new file mode 100644
index 00000000..8a24d483
--- /dev/null
+++ b/ching/Makefile.inc
@@ -0,0 +1,5 @@
+# $NetBSD: Makefile.inc,v 1.1 2005/06/30 13:30:33 perry Exp $
+
+CPPFLAGS+=-I${.CURDIR}/../include
+BINDIR?=/usr/games
+WARNS=2