From 653bac7f6e9a26366b809aed7a67b95552298256 Mon Sep 17 00:00:00 2001 From: dholland Date: Mon, 30 Nov 2009 00:38:47 +0000 Subject: Add build config for amd64. --- news/nn/Makefile | 3 ++- news/nn/files/m-x86_64.h | 24 ++++++++++++++++++++++++ 2 files changed, 26 insertions(+), 1 deletion(-) create mode 100644 news/nn/files/m-x86_64.h (limited to 'news') diff --git a/news/nn/Makefile b/news/nn/Makefile index 73038441192..b1e4cd1da1d 100644 --- a/news/nn/Makefile +++ b/news/nn/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.35 2007/07/29 14:33:12 joerg Exp $ +# $NetBSD: Makefile,v 1.36 2009/11/30 00:38:47 dholland Exp $ DISTNAME= nn-6.7.3 CATEGORIES= news @@ -50,6 +50,7 @@ post-patch: <${WRKSRC}/config.h-dist >${WRKSRC}/config.h @${CP} ${FILESDIR}/s-netbsd.h ${WRKSRC}/conf/s-netbsd.h @${CP} ${FILESDIR}/m-powerpc.h ${WRKSRC}/conf/m-powerpc.h + @${CP} ${FILESDIR}/m-x86_64.h ${WRKSRC}/conf/m-x86_64.h @${CP} ${WRKSRC}/conf/m-m680x0.h ${WRKSRC}/conf/m-m68k.h .include "../../mk/bsd.pkg.mk" diff --git a/news/nn/files/m-x86_64.h b/news/nn/files/m-x86_64.h new file mode 100644 index 00000000000..c04ff033e14 --- /dev/null +++ b/news/nn/files/m-x86_64.h @@ -0,0 +1,24 @@ +/************** Machine (and compiler) dependent definitions. ************** + * + * Define appropriate types for the following ranges of integer + * variables. These are processor & compiler dependent, but the + * distributed definitions will probably work on most systems. + */ + + + +/* MACHINE TYPE DEFINED TYPE VALUE RANGE */ + +typedef unsigned char int8; /* 0 .. 255 */ +typedef short int16; /* -10,000 .. 10,000 */ +typedef int int32; /* -100,000 .. 100,000 */ +typedef unsigned int uint32; /* 0 .. 2^31-1 */ + + + +/* + * Define NETWORK_BYTE_ORDER if the machine's longs are + * already in network byte order. + */ + +#undef NETWORK_BYTE_ORDER -- cgit v1.2.3