diff options
author | obrien <obrien@FreeBSD.org> | 2001-10-15 01:43:23 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2001-10-15 01:43:23 +0000 |
commit | 35f617ebb3a7f735320089540f99f42e86bce5be (patch) | |
tree | 619c4b4568686cb0ba9361560f833f98cda67624 /gnu | |
parent | ac6e021d88f3585a46d8efef267b25150f16bca8 (diff) | |
download | FreeBSD-src-35f617ebb3a7f735320089540f99f42e86bce5be.zip FreeBSD-src-35f617ebb3a7f735320089540f99f42e86bce5be.tar.gz |
We can easily share obj-format.h and targ-env.h files across all FreeBSD
platforms, which reduces the upgrade effort.
Also tidy up the Makefiles.
Diffstat (limited to 'gnu')
16 files changed, 31 insertions, 56 deletions
diff --git a/gnu/usr.bin/binutils/as/Makefile.inc0 b/gnu/usr.bin/binutils/as/Makefile.inc0 index 9b3ccb1..2acd1ca 100644 --- a/gnu/usr.bin/binutils/as/Makefile.inc0 +++ b/gnu/usr.bin/binutils/as/Makefile.inc0 @@ -3,9 +3,9 @@ .include "${.CURDIR}/../../Makefile.inc0" RELTOP:= ../${RELTOP} - .PATH: ${SRCDIR}/gas ${SRCDIR}/gas/config +PROG= as MAN= doc/as.1 SRCS+= app.c as.c atof-generic.c atof-ieee.c bignum-copy.c \ cond.c dwarf2dbg.c ecoff.c expr.c flonum-copy.c flonum-konst.c \ @@ -13,7 +13,7 @@ SRCS+= app.c as.c atof-generic.c atof-ieee.c bignum-copy.c \ input-scrub.c listing.c literal.c macro.c messages.c \ output-file.c read.c sb.c stabs.c \ subsegs.c symbols.c write.c depend.c ehopt.c -CFLAGS+= -I${SRCDIR}/gas -I${SRCDIR}/gas/config -I${SRCDIR} +CFLAGS+= -I${SRCDIR}/gas -I${SRCDIR}/gas/config -I${SRCDIR} -I${.CURDIR}/.. CFLAGS+= -DVERSION=\"${VERSION}\" -DBFD_VERSION=\"${VERSION}\" NOSHARED?= yes DPADD= ${RELTOP}/libbfd/libbfd.a diff --git a/gnu/usr.bin/binutils/as/alpha-freebsd/Makefile b/gnu/usr.bin/binutils/as/alpha-freebsd/Makefile index f35fe71..c275d30 100644 --- a/gnu/usr.bin/binutils/as/alpha-freebsd/Makefile +++ b/gnu/usr.bin/binutils/as/alpha-freebsd/Makefile @@ -1,14 +1,11 @@ -# # $FreeBSD$ -# .include "${.CURDIR}/../Makefile.inc0" -PROG= as -.if ${TARGET_ARCH} != "alpha" -NOMAN= 1 -BINDIR= /usr/libexec/cross/alpha-freebsd +.if ${TARGET_ARCH} != "alpha" +NOMAN= true +BINDIR= /usr/libexec/cross/alpha-freebsd .endif -SRCS+= obj-elf.c tc-alpha.c +SRCS+= obj-elf.c tc-alpha.c .include <bsd.prog.mk> diff --git a/gnu/usr.bin/binutils/as/alpha-freebsd/obj-format.h b/gnu/usr.bin/binutils/as/alpha-freebsd/obj-format.h deleted file mode 100644 index 69c64aa..0000000 --- a/gnu/usr.bin/binutils/as/alpha-freebsd/obj-format.h +++ /dev/null @@ -1 +0,0 @@ -#include "obj-elf.h" diff --git a/gnu/usr.bin/binutils/as/alpha-freebsd/targ-env.h b/gnu/usr.bin/binutils/as/alpha-freebsd/targ-env.h deleted file mode 100644 index 032e7ac..0000000 --- a/gnu/usr.bin/binutils/as/alpha-freebsd/targ-env.h +++ /dev/null @@ -1 +0,0 @@ -#include "te-freebsd.h" diff --git a/gnu/usr.bin/binutils/as/i386-freebsd/Makefile b/gnu/usr.bin/binutils/as/i386-freebsd/Makefile index 7437e27..1cfcb0c 100644 --- a/gnu/usr.bin/binutils/as/i386-freebsd/Makefile +++ b/gnu/usr.bin/binutils/as/i386-freebsd/Makefile @@ -1,14 +1,11 @@ -# # $FreeBSD$ -# .include "${.CURDIR}/../Makefile.inc0" -PROG= as -NOMAN= 1 -.if ${TARGET_ARCH} != "i386" -BINDIR= /usr/libexec/cross/i386-freebsd +NOMAN= true +.if ${TARGET_ARCH} != "i386" +BINDIR= /usr/libexec/cross/i386-freebsd .endif -SRCS+= obj-elf.c tc-i386.c +SRCS+= obj-elf.c tc-i386.c .include <bsd.prog.mk> diff --git a/gnu/usr.bin/binutils/as/i386-freebsd/obj-format.h b/gnu/usr.bin/binutils/as/i386-freebsd/obj-format.h deleted file mode 100644 index 69c64aa..0000000 --- a/gnu/usr.bin/binutils/as/i386-freebsd/obj-format.h +++ /dev/null @@ -1 +0,0 @@ -#include "obj-elf.h" diff --git a/gnu/usr.bin/binutils/as/i386-freebsd/targ-env.h b/gnu/usr.bin/binutils/as/i386-freebsd/targ-env.h deleted file mode 100644 index 032e7ac..0000000 --- a/gnu/usr.bin/binutils/as/i386-freebsd/targ-env.h +++ /dev/null @@ -1 +0,0 @@ -#include "te-freebsd.h" diff --git a/gnu/usr.bin/binutils/as/i386-winnt/Makefile b/gnu/usr.bin/binutils/as/i386-winnt/Makefile index a0633aa..3305629 100644 --- a/gnu/usr.bin/binutils/as/i386-winnt/Makefile +++ b/gnu/usr.bin/binutils/as/i386-winnt/Makefile @@ -1,12 +1,9 @@ -# # $FreeBSD$ -# .include "${.CURDIR}/../Makefile.inc0" -PROG= as -NOMAN= 1 -BINDIR= /usr/libexec/cross/i386-winnt -SRCS+= obj-coff.c tc-i386.c +NOMAN= true +BINDIR= /usr/libexec/cross/i386-winnt +SRCS+= obj-coff.c tc-i386.c .include <bsd.prog.mk> diff --git a/gnu/usr.bin/binutils/as/m68k-freebsd/Makefile b/gnu/usr.bin/binutils/as/m68k-freebsd/Makefile index c809fff..bd3d276 100644 --- a/gnu/usr.bin/binutils/as/m68k-freebsd/Makefile +++ b/gnu/usr.bin/binutils/as/m68k-freebsd/Makefile @@ -1,12 +1,9 @@ -# # $FreeBSD$ -# .include "${.CURDIR}/../Makefile.inc0" -PROG= as -NOMAN= 1 -BINDIR= /usr/libexec/cross/m68k-freebsd -SRCS+= obj-elf.c tc-m68k.c m68k-parse.c +NOMAN= true +BINDIR= /usr/libexec/cross/m68k-freebsd +SRCS+= obj-elf.c tc-m68k.c m68k-parse.c .include <bsd.prog.mk> diff --git a/gnu/usr.bin/binutils/as/m68k-netbsdaout/Makefile b/gnu/usr.bin/binutils/as/m68k-netbsdaout/Makefile index 61386e4..a8c7e57 100644 --- a/gnu/usr.bin/binutils/as/m68k-netbsdaout/Makefile +++ b/gnu/usr.bin/binutils/as/m68k-netbsdaout/Makefile @@ -1,12 +1,9 @@ -# # $FreeBSD$ -# .include "${.CURDIR}/../Makefile.inc0" -PROG= as -NOMAN= 1 -BINDIR= /usr/libexec/cross/m68k-netbsdaout -SRCS+= obj-aout.c tc-m68k.c m68k-parse.c +NOMAN= true +BINDIR= /usr/libexec/cross/m68k-netbsdaout +SRCS+= obj-aout.c tc-m68k.c m68k-parse.c .include <bsd.prog.mk> diff --git a/gnu/usr.bin/binutils/as/powerpc-freebsd/obj-format.h b/gnu/usr.bin/binutils/as/obj-format.h index 95f2014..02a3030 100644 --- a/gnu/usr.bin/binutils/as/powerpc-freebsd/obj-format.h +++ b/gnu/usr.bin/binutils/as/obj-format.h @@ -1,2 +1,3 @@ /* $FreeBSD$ */ + #include "obj-elf.h" diff --git a/gnu/usr.bin/binutils/as/powerpc-freebsd/Makefile b/gnu/usr.bin/binutils/as/powerpc-freebsd/Makefile index d216189..98ef3dd 100644 --- a/gnu/usr.bin/binutils/as/powerpc-freebsd/Makefile +++ b/gnu/usr.bin/binutils/as/powerpc-freebsd/Makefile @@ -2,15 +2,14 @@ .include "${.CURDIR}/../Makefile.inc0" -PROG= as -.if ${TARGET_ARCH} != "powerpc" -NOMAN= 1 -BINDIR= /usr/libexec/cross/powerpc-freebsd +.if ${TARGET_ARCH} != "powerpc" +NOMAN= true +BINDIR= /usr/libexec/cross/powerpc-freebsd # If we aren't doing cross-assembling, some operations can be optimized, since # byte orders and value sizes don't need to be adjusted. -CFLAGS+= -DCROSS_COMPILE=1 +CFLAGS+= -DCROSS_COMPILE=1 .endif -SRCS+= obj-elf.c tc-ppc.c +SRCS+= obj-elf.c tc-ppc.c .include <bsd.prog.mk> diff --git a/gnu/usr.bin/binutils/as/powerpc-freebsd/targ-env.h b/gnu/usr.bin/binutils/as/powerpc-freebsd/targ-env.h deleted file mode 100644 index f8f050e..0000000 --- a/gnu/usr.bin/binutils/as/powerpc-freebsd/targ-env.h +++ /dev/null @@ -1,2 +0,0 @@ -/* $FreeBSD$ */ -#include "te-freebsd.h" diff --git a/gnu/usr.bin/binutils/as/sparc64-freebsd/Makefile b/gnu/usr.bin/binutils/as/sparc64-freebsd/Makefile index 85abe7d..258808b 100644 --- a/gnu/usr.bin/binutils/as/sparc64-freebsd/Makefile +++ b/gnu/usr.bin/binutils/as/sparc64-freebsd/Makefile @@ -1,17 +1,14 @@ -# # $FreeBSD$ -# .include "${.CURDIR}/../Makefile.inc0" -PROG= as -.if ${TARGET_ARCH} != "sparc64" -NOMAN= 1 -BINDIR= /usr/libexec/cross/sparc64-freebsd +.if ${TARGET_ARCH} != "sparc64" +NOMAN= true +BINDIR= /usr/libexec/cross/sparc64-freebsd # If we aren't doing cross-assembling, some operations can be optimized, since # byte orders and value sizes don't need to be adjusted. -CFLAGS+= -DCROSS_COMPILE=1 +CFLAGS+= -DCROSS_COMPILE=1 .endif -SRCS+= obj-elf.c tc-sparc.c +SRCS+= obj-elf.c tc-sparc.c .include <bsd.prog.mk> diff --git a/gnu/usr.bin/binutils/as/sparc64-freebsd/obj-format.h b/gnu/usr.bin/binutils/as/sparc64-freebsd/obj-format.h deleted file mode 100644 index 95f2014..0000000 --- a/gnu/usr.bin/binutils/as/sparc64-freebsd/obj-format.h +++ /dev/null @@ -1,2 +0,0 @@ -/* $FreeBSD$ */ -#include "obj-elf.h" diff --git a/gnu/usr.bin/binutils/as/sparc64-freebsd/targ-env.h b/gnu/usr.bin/binutils/as/targ-env.h index f8f050e..8e14d63 100644 --- a/gnu/usr.bin/binutils/as/sparc64-freebsd/targ-env.h +++ b/gnu/usr.bin/binutils/as/targ-env.h @@ -1,2 +1,3 @@ /* $FreeBSD$ */ + #include "te-freebsd.h" |