summaryrefslogtreecommitdiff
path: root/distrib
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2003-03-02 12:32:09 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2003-03-02 12:32:09 +0000
commita0ba0b1e348ddeb4e367f27e16aeafee3b7818c3 (patch)
tree94b8f7047191a334a0b4c82cfbf585c34d435bcf /distrib
parentc79f6542c2be0061cc8e735e7c8056df9d601d54 (diff)
tie mksuncd to the crunch tools build
Diffstat (limited to 'distrib')
-rw-r--r--distrib/crunch/Makefile4
-rw-r--r--distrib/sparc64/mksuncd/Makefile8
2 files changed, 9 insertions, 3 deletions
diff --git a/distrib/crunch/Makefile b/distrib/crunch/Makefile
index a06c727cf6f..587c9f117dd 100644
--- a/distrib/crunch/Makefile
+++ b/distrib/crunch/Makefile
@@ -1,5 +1,5 @@
-# $OpenBSD: Makefile,v 1.2 1997/09/21 11:45:51 deraadt Exp $
+# $OpenBSD: Makefile,v 1.3 2003/03/02 12:32:08 deraadt Exp $
-SUBDIR=crunchgen crunchide
+SUBDIR=crunchgen crunchide ../sparc64/mksuncd
.include <bsd.subdir.mk>
diff --git a/distrib/sparc64/mksuncd/Makefile b/distrib/sparc64/mksuncd/Makefile
index 985474f2de8..04f5d145b5d 100644
--- a/distrib/sparc64/mksuncd/Makefile
+++ b/distrib/sparc64/mksuncd/Makefile
@@ -1,9 +1,15 @@
-# $OpenBSD: Makefile,v 1.2 2001/10/12 21:59:27 jason Exp $
+# $OpenBSD: Makefile,v 1.3 2003/03/02 12:32:08 deraadt Exp $
+
+.if ${MACHINE} == "sparc64"
PROG=mksuncd
BINDIR=/usr/bin
CFLAGS+=-Werror -Wall -Wstrict-prototypes -Wmissing-prototypes
+.else
+NOPROG=
+.endif
+
.include <bsd.prog.mk>