summaryrefslogtreecommitdiff
path: root/tools/strfile/Makefile
diff options
context:
space:
mode:
authorapb <apb@NetBSD.org>2008-09-26 18:23:09 +0000
committerapb <apb@NetBSD.org>2008-09-26 18:23:09 +0000
commit520cbbf81f122b4d8f17a8a8c3285f5ec346a151 (patch)
tree2ad5a17fe2badea3719508a030d2513257e5016a /tools/strfile/Makefile
parent0578ebaebe7cf40b3661699ab02e23ef4f991a2d (diff)
Build strfile both as a host tool and as an installed program:
* in games/fortune/strfile/Makefile, build strfile as a regular program instead of as a host tool; * add tools/strfile directory to build strfile as a host tool; * in tools/Makefile, add strfile to SUBDIR list; * in BSD.*.mk, define TOOL_STRFILE variable; * in games/fortune/datfiles/Makefile, use TOOL_STRFILE when creating databases at build time; * in distrib/sets/lists/games/mi, mention usr/games/strfile.
Diffstat (limited to 'tools/strfile/Makefile')
-rw-r--r--tools/strfile/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/strfile/Makefile b/tools/strfile/Makefile
new file mode 100644
index 00000000000..a909d2da61c
--- /dev/null
+++ b/tools/strfile/Makefile
@@ -0,0 +1,6 @@
+# $NetBSD: Makefile,v 1.1 2008/09/26 18:23:09 apb Exp $
+
+HOSTPROGNAME= ${_TOOL_PREFIX}strfile
+HOST_SRCDIR= games/fortune/strfile
+
+.include "${.CURDIR}/../Makefile.host"