summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2002-12-25 21:10:27 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2002-12-25 21:10:27 +0000
commitd540911a9d2fc11ce87324bbeb09d3ed09efc100 (patch)
tree044c99254d96ead2fba200f94f577c6700507431
parent7fdd0b4f5f1150954e76eae066b86bdec5c40fb5 (diff)
No need to define FOO?=foo for AS, CC, CPP and LD, as they are always already
set from <sys.mk>
-rw-r--r--sys/arch/alpha/conf/Makefile.alpha6
-rw-r--r--sys/arch/amiga/conf/Makefile.amiga6
-rw-r--r--sys/arch/hp300/conf/Makefile.hp3008
-rw-r--r--sys/arch/hppa/conf/Makefile.hppa6
-rw-r--r--sys/arch/i386/conf/Makefile.i3868
-rw-r--r--sys/arch/mac68k/conf/Makefile.mac68k8
-rw-r--r--sys/arch/macppc/conf/Makefile.macppc6
-rw-r--r--sys/arch/mvme68k/conf/Makefile.mvme68k8
-rw-r--r--sys/arch/mvme88k/conf/Makefile.mvme88k6
-rw-r--r--sys/arch/mvmeppc/conf/Makefile.mvmeppc6
-rw-r--r--sys/arch/sparc/conf/Makefile.sparc6
-rw-r--r--sys/arch/sparc64/conf/Makefile.sparc644
-rw-r--r--sys/arch/sun3/conf/Makefile.sun38
-rw-r--r--sys/arch/vax/conf/Makefile.vax14
14 files changed, 18 insertions, 82 deletions
diff --git a/sys/arch/alpha/conf/Makefile.alpha b/sys/arch/alpha/conf/Makefile.alpha
index 930fa5d9e18..8a286b1577d 100644
--- a/sys/arch/alpha/conf/Makefile.alpha
+++ b/sys/arch/alpha/conf/Makefile.alpha
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.alpha,v 1.26 2002/12/02 09:00:21 miod Exp $
+# $OpenBSD: Makefile.alpha,v 1.27 2002/12/25 21:10:23 miod Exp $
# $NetBSD: Makefile.alpha,v 1.27 1996/12/01 06:12:25 jonathan Exp $
# Makefile for OpenBSD
@@ -18,10 +18,6 @@
.include <bsd.own.mk>
-AS?= as
-CC?= cc
-CPP?= cpp
-LD?= ld
MKDEP?= mkdep
SIZE?= size
STRIP?= strip
diff --git a/sys/arch/amiga/conf/Makefile.amiga b/sys/arch/amiga/conf/Makefile.amiga
index 2043585b546..f6706e608e0 100644
--- a/sys/arch/amiga/conf/Makefile.amiga
+++ b/sys/arch/amiga/conf/Makefile.amiga
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.amiga,v 1.33 2002/12/02 09:00:22 miod Exp $
+# $OpenBSD: Makefile.amiga,v 1.34 2002/12/25 21:10:26 miod Exp $
# $NetBSD: Makefile.amiga,v 1.60 1997/07/23 10:19:42 is Exp $
# Makefile for OpenBSD
@@ -24,10 +24,6 @@
.include <bsd.own.mk>
-AS?= as
-CC?= cc
-CPP?= cpp
-LD?= ld
MKDEP?= mkdep
SIZE?= size
STRIP?= strip
diff --git a/sys/arch/hp300/conf/Makefile.hp300 b/sys/arch/hp300/conf/Makefile.hp300
index e4aff570362..975ce09192f 100644
--- a/sys/arch/hp300/conf/Makefile.hp300
+++ b/sys/arch/hp300/conf/Makefile.hp300
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.hp300,v 1.29 2002/12/02 09:00:22 miod Exp $
+# $OpenBSD: Makefile.hp300,v 1.30 2002/12/25 21:10:26 miod Exp $
# $NetBSD: Makefile.hp300,v 1.54 1997/04/01 23:16:41 scottr Exp $
# Makefile for OpenBSD
@@ -24,10 +24,6 @@
.include <bsd.own.mk>
-AS?= as
-CC?= cc
-CPP?= cpp
-LD?= ld
MKDEP?= mkdep
SIZE?= size
STRIP?= strip
@@ -45,7 +41,7 @@ CPPFLAGS= ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL \
CWARNFLAGS= -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes \
-Wno-uninitialized -Wno-format -Wno-main
CMACHFLAGS= -msoft-float -fno-stack-protector
-COPTS?= -O2
+COPTS?= -O2
CFLAGS= ${DEBUG} ${COPTS} ${CWARNFLAGS} ${CMACHFLAGS} ${PIPE}
AFLAGS= -x assembler-with-cpp -traditional-cpp -D_LOCORE
LINKFLAGS= -n -Ttext 0 -e start
diff --git a/sys/arch/hppa/conf/Makefile.hppa b/sys/arch/hppa/conf/Makefile.hppa
index 7f3a469df63..25dd6fe413c 100644
--- a/sys/arch/hppa/conf/Makefile.hppa
+++ b/sys/arch/hppa/conf/Makefile.hppa
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.hppa,v 1.17 2002/12/02 09:00:23 miod Exp $
+# $OpenBSD: Makefile.hppa,v 1.18 2002/12/25 21:10:26 miod Exp $
# Makefile for OpenBSD
#
@@ -23,10 +23,6 @@
.include <bsd.own.mk>
-AS?= as
-CC?= cc
-CPP?= cpp
-LD?= ld
MKDEP?= mkdep
SIZE?= size
STRIP?= strip
diff --git a/sys/arch/i386/conf/Makefile.i386 b/sys/arch/i386/conf/Makefile.i386
index f1791a9e38d..e5a3e175b93 100644
--- a/sys/arch/i386/conf/Makefile.i386
+++ b/sys/arch/i386/conf/Makefile.i386
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.i386,v 1.32 2002/12/02 09:00:23 miod Exp $
+# $OpenBSD: Makefile.i386,v 1.33 2002/12/25 21:10:26 miod Exp $
# $NetBSD: Makefile.i386,v 1.67 1996/05/11 16:12:11 mycroft Exp $
# Makefile for OpenBSD
@@ -24,10 +24,6 @@
.include <bsd.own.mk>
-AS?= as
-CC?= cc
-CPP?= cpp
-LD?= ld
MKDEP?= mkdep
SIZE?= size
STRIP?= strip
@@ -50,7 +46,7 @@ CMACHFLAGS=
.endif
CMACHFLAGS+= -fno-stack-protector
-COPTS?= -O2
+COPTS?= -O2
CFLAGS= ${DEBUG} ${CDIAGFLAGS} ${CMACHFLAGS} ${COPTS} ${PIPE}
AFLAGS= -x assembler-with-cpp -traditional-cpp -D_LOCORE
LINKFLAGS= -z -Ttext D0100000 -e start
diff --git a/sys/arch/mac68k/conf/Makefile.mac68k b/sys/arch/mac68k/conf/Makefile.mac68k
index a44dada32e3..cc4f878c345 100644
--- a/sys/arch/mac68k/conf/Makefile.mac68k
+++ b/sys/arch/mac68k/conf/Makefile.mac68k
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.mac68k,v 1.28 2002/12/02 09:00:24 miod Exp $
+# $OpenBSD: Makefile.mac68k,v 1.29 2002/12/25 21:10:26 miod Exp $
# $NetBSD: Makefile.mac68k,v 1.53 1997/04/15 06:11:38 scottr Exp $
# Makefile for OpenBSD
@@ -24,10 +24,6 @@
.include <bsd.own.mk>
-AS?= as
-CC?= cc
-CPP?= cpp
-LD?= ld
MKDEP?= mkdep
SIZE?= size
STRIP?= strip
@@ -45,7 +41,7 @@ CPPFLAGS= ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL \
CWARNFLAGS= -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes \
-Wno-uninitialized -Wno-format -Wno-main
CMACHFLAGS= -msoft-float -fno-stack-protector
-COPTS?= -O2
+COPTS?= -O2
CFLAGS= ${DEBUG} ${COPTS} ${CWARNFLAGS} ${CMACHFLAGS} ${PIPE}
AFLAGS= -x assembler-with-cpp -traditional-cpp -D_LOCORE
LINKFLAGS= -n -Ttext 0 -e start
diff --git a/sys/arch/macppc/conf/Makefile.macppc b/sys/arch/macppc/conf/Makefile.macppc
index 2ccb0bf9075..7c3c2053880 100644
--- a/sys/arch/macppc/conf/Makefile.macppc
+++ b/sys/arch/macppc/conf/Makefile.macppc
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.macppc,v 1.9 2002/12/02 09:00:24 miod Exp $
+# $OpenBSD: Makefile.macppc,v 1.10 2002/12/25 21:10:26 miod Exp $
#
# Makefile for OpenBSD PowerPC
#
@@ -25,10 +25,6 @@
.include <bsd.own.mk>
-AS?= as
-CC?= cc
-CPP?= cpp
-LD?= ld
MKDEP?= mkdep
STRIP?= strip
SIZE?= size
diff --git a/sys/arch/mvme68k/conf/Makefile.mvme68k b/sys/arch/mvme68k/conf/Makefile.mvme68k
index 26dd4ab3205..a3fddfe16a7 100644
--- a/sys/arch/mvme68k/conf/Makefile.mvme68k
+++ b/sys/arch/mvme68k/conf/Makefile.mvme68k
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.mvme68k,v 1.18 2002/12/02 09:00:24 miod Exp $
+# $OpenBSD: Makefile.mvme68k,v 1.19 2002/12/25 21:10:26 miod Exp $
# This makefile is constructed from a machine description:
# config machineid
@@ -21,10 +21,6 @@
.include <bsd.own.mk>
-AS?= as
-CC?= cc
-CPP?= cpp
-LD?= ld
MKDEP?= mkdep
SIZE?= size
STRIP?= strip
@@ -49,7 +45,7 @@ CMACHFLAGS= -m68060 -Wa,-m68030
.endif
CMACHFLAGS+= -msoft-float -fno-stack-protector
-COPTS?= -O2
+COPTS?= -O2
CFLAGS= ${DEBUG} ${COPTS} ${CWARNFLAGS} ${CMACHFLAGS} ${PIPE}
AFLAGS= -x assembler-with-cpp -traditional-cpp -D_LOCORE
LINKFLAGS= -Ttext 0x10000 -z -e start
diff --git a/sys/arch/mvme88k/conf/Makefile.mvme88k b/sys/arch/mvme88k/conf/Makefile.mvme88k
index ceb32a9e28c..84d36f66ff1 100644
--- a/sys/arch/mvme88k/conf/Makefile.mvme88k
+++ b/sys/arch/mvme88k/conf/Makefile.mvme88k
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.mvme88k,v 1.22 2002/12/02 09:00:24 miod Exp $
+# $OpenBSD: Makefile.mvme88k,v 1.23 2002/12/25 21:10:26 miod Exp $
#
# Makefile for OpenBSD
#
@@ -23,10 +23,6 @@
.include <bsd.own.mk>
-AS?= as
-CC?= cc
-CPP?= cpp
-LD?= ld
MKDEP?= mkdep
SIZE?= size
STRIP?= strip
diff --git a/sys/arch/mvmeppc/conf/Makefile.mvmeppc b/sys/arch/mvmeppc/conf/Makefile.mvmeppc
index 0e217bf98b1..c7fab18050c 100644
--- a/sys/arch/mvmeppc/conf/Makefile.mvmeppc
+++ b/sys/arch/mvmeppc/conf/Makefile.mvmeppc
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.mvmeppc,v 1.10 2002/12/02 09:00:25 miod Exp $
+# $OpenBSD: Makefile.mvmeppc,v 1.11 2002/12/25 21:10:26 miod Exp $
#
# Makefile for OpenBSD PowerPC
#
@@ -25,10 +25,6 @@
.include <bsd.own.mk>
-AS?= as
-CC?= cc
-CPP?= cpp
-LD?= ld
MKDEP?= mkdep
STRIP?= strip
SIZE?= size
diff --git a/sys/arch/sparc/conf/Makefile.sparc b/sys/arch/sparc/conf/Makefile.sparc
index 60f2fa9160d..f6565387256 100644
--- a/sys/arch/sparc/conf/Makefile.sparc
+++ b/sys/arch/sparc/conf/Makefile.sparc
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.sparc,v 1.27 2002/12/02 09:00:25 miod Exp $
+# $OpenBSD: Makefile.sparc,v 1.28 2002/12/25 21:10:26 miod Exp $
# $NetBSD: Makefile.sparc,v 1.32.4.1 1996/06/12 20:26:32 pk Exp $
# Makefile for OpenBSD
@@ -24,10 +24,6 @@
.include <bsd.own.mk>
-AS?= as
-CC?= cc
-CPP?= cpp
-LD?= ld
MKDEP?= mkdep
SIZE?= size
STRIP?= strip
diff --git a/sys/arch/sparc64/conf/Makefile.sparc64 b/sys/arch/sparc64/conf/Makefile.sparc64
index bdb41113bfb..b91c72e02aa 100644
--- a/sys/arch/sparc64/conf/Makefile.sparc64
+++ b/sys/arch/sparc64/conf/Makefile.sparc64
@@ -2,10 +2,6 @@
.include <bsd.own.mk>
-AS?= as
-CC?= cc
-CPP?= cpp
-LD?= ld
MKDEP?= mkdep
SIZE?= size
STRIP?= strip
diff --git a/sys/arch/sun3/conf/Makefile.sun3 b/sys/arch/sun3/conf/Makefile.sun3
index c3410ec93c7..2c5b9acc426 100644
--- a/sys/arch/sun3/conf/Makefile.sun3
+++ b/sys/arch/sun3/conf/Makefile.sun3
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.sun3,v 1.33 2002/12/02 09:00:26 miod Exp $
+# $OpenBSD: Makefile.sun3,v 1.34 2002/12/25 21:10:26 miod Exp $
# $NetBSD: Makefile.sun3,v 1.51 1996/09/09 21:07:08 mycroft Exp $
# Makefile for OpenBSD
@@ -24,10 +24,6 @@
.include <bsd.own.mk>
-AS?= as
-CC?= cc
-CPP?= cpp
-LD?= ld
MKDEP?= mkdep
SIZE?= size
STRIP?= strip
@@ -45,7 +41,7 @@ CPPFLAGS= ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL \
CWARNFLAGS= -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes \
-Wno-uninitialized -Wno-format -Wno-main
CMACHFLAGS= -m68020 -msoft-float -fno-stack-protector
-COPTS?= -O2
+COPTS?= -O2
CFLAGS= ${DEBUG} ${COPTS} ${CWARNFLAGS} ${CMACHFLAGS} ${PIPE}
AFLAGS= -x assembler-with-cpp -traditional-cpp -D_LOCORE ${CMACHFLAGS}
LINKFLAGS= -N -Ttext 0E004000 -e start
diff --git a/sys/arch/vax/conf/Makefile.vax b/sys/arch/vax/conf/Makefile.vax
index 452c8a84407..9b42cedd068 100644
--- a/sys/arch/vax/conf/Makefile.vax
+++ b/sys/arch/vax/conf/Makefile.vax
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.vax,v 1.20 2002/12/02 09:00:26 miod Exp $
+# $OpenBSD: Makefile.vax,v 1.21 2002/12/25 21:10:26 miod Exp $
# $NetBSD: Makefile.vax,v 1.49 1999/07/26 05:20:49 cgd Exp $
# Makefile for OpenBSD/vax
@@ -39,33 +39,21 @@ CROSSDIR?= /usr/cross/vax
CBIN=${CROSSDIR}/usr/bin
MACHINE=vax
MACHINE_ARCH=vax
-AR=${CBIN}/ar
AS=${CBIN}/as
CC=${CBIN}/cc
CPP=${CBIN}/cpp
HOSTCC=cc
LD=${CBIN}/ld
-NM=${CBIN}/nm
-RANLIB=${CBIN}/ranlib
STRIP=${CBIN}/strip
SIZE=${CBIN}/size
.else
-AR?= ar
-AS?= as
-CC?= cc
-CPP?= cpp
-LORDER?=lorder
-LD?= ld
-NM?= nm
-RANLIB?=ranlib
STRIP?= strip
SIZE?= size
.endif
-TSORT?= tsort -q
COPTS?= -O2
# source tree is located via $S relative to the compilation directory