From 0fe4c2184ad66dac6b6bb7e08cc7b4587fbb702f Mon Sep 17 00:00:00 2001 From: grant Date: Sat, 19 Feb 2005 01:28:14 +0000 Subject: define GNU_ARCH for rs6000 and set OBJECT_FMT correctly for AIX. --- mk/bsd.prefs.mk | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'mk') diff --git a/mk/bsd.prefs.mk b/mk/bsd.prefs.mk index c59aa2df4da..8e7b71a4589 100644 --- a/mk/bsd.prefs.mk +++ b/mk/bsd.prefs.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.prefs.mk,v 1.181 2005/02/17 07:11:59 grant Exp $ +# $NetBSD: bsd.prefs.mk,v 1.182 2005/02/19 01:28:14 grant Exp $ # # Make file, included to get the site preferences, if any. Should # only be included by package Makefiles before any .if defined() @@ -72,6 +72,7 @@ GNU_ARCH.mipseb?= mipseb GNU_ARCH.mipsel?= mipsel GNU_ARCH.ns32k?= ns32k GNU_ARCH.powerpc?= powerpc +GNU_ARCH.rs6000?= rs6000 GNU_ARCH.sh3eb?= sh GNU_ARCH.sh3el?= shle GNU_ARCH.sparc?= sparc @@ -246,10 +247,10 @@ OBJECT_FMT?= ELF . else OBJECT_FMT?= a.out . endif -.endif - -.if ${OPSYS} == "DragonFly" -OBJECT_FMT= ELF +.elif ${OPSYS} == "DragonFly" +OBJECT_FMT= ELF +.elif ${OPSYS} == "AIX" +OBJECT_FMT= XCOFF .endif # Calculate depth -- cgit v1.2.3