Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/cksum Add the necessary bits to make cksum buildable...
details: https://anonhg.NetBSD.org/src/rev/a5a7bacaa530
branches: trunk
changeset: 524832:a5a7bacaa530
user: bjh21 <bjh21%NetBSD.org@localhost>
date: Sun Mar 31 14:30:20 2002 +0000
description:
Add the necessary bits to make cksum buildable as a host tool.
diffstat:
usr.bin/cksum/Makefile | 4 +++-
usr.bin/cksum/extern.h | 6 +++++-
2 files changed, 8 insertions(+), 2 deletions(-)
diffs (36 lines):
diff -r f6c204bdde07 -r a5a7bacaa530 usr.bin/cksum/Makefile
--- a/usr.bin/cksum/Makefile Sun Mar 31 14:21:56 2002 +0000
+++ b/usr.bin/cksum/Makefile Sun Mar 31 14:30:20 2002 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2001/03/20 18:46:25 atatat Exp $
+# $NetBSD: Makefile,v 1.11 2002/03/31 14:30:20 bjh21 Exp $
# @(#)Makefile 8.2 (Berkeley) 4/28/95
PROG= cksum
@@ -16,4 +16,6 @@
MLINKS+=cksum.1 sha1.1
MLINKS+=cksum.1 rmd160.1
+.ifndef HOSTPROG
.include <bsd.prog.mk>
+.endif
diff -r f6c204bdde07 -r a5a7bacaa530 usr.bin/cksum/extern.h
--- a/usr.bin/cksum/extern.h Sun Mar 31 14:21:56 2002 +0000
+++ b/usr.bin/cksum/extern.h Sun Mar 31 14:30:20 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: extern.h,v 1.9 2001/03/21 03:16:38 atatat Exp $ */
+/* $NetBSD: extern.h,v 1.10 2002/03/31 14:30:21 bjh21 Exp $ */
/*-
* Copyright (c) 1991, 1993
@@ -35,6 +35,10 @@
* @(#)extern.h 8.1 (Berkeley) 6/6/93
*/
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <sys/cdefs.h>
__BEGIN_DECLS
Home |
Main Index |
Thread Index |
Old Index