summaryrefslogtreecommitdiffstats
path: root/gnu
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1998-06-04 06:50:58 +0000
committerbde <bde@FreeBSD.org>1998-06-04 06:50:58 +0000
commit14b705d009c8ac0945c8bd6caa86dd5d90af1d1d (patch)
tree9fb27c85d22a2098f49cd0e437fcaed2490eb352 /gnu
parent9be5100a224a130d8447b5a18fe34a9d043e2e35 (diff)
downloadFreeBSD-src-14b705d009c8ac0945c8bd6caa86dd5d90af1d1d.zip
FreeBSD-src-14b705d009c8ac0945c8bd6caa86dd5d90af1d1d.tar.gz
Don't use beforedepend or give dependencies on generated headers explicitly.
Just put generated headers in SRCS.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/usr.bin/binutils/libbfd/Makefile9
-rw-r--r--gnu/usr.bin/binutils/libbfd/Makefile.alpha8
-rw-r--r--gnu/usr.bin/binutils/libbfd/Makefile.i3868
3 files changed, 7 insertions, 18 deletions
diff --git a/gnu/usr.bin/binutils/libbfd/Makefile b/gnu/usr.bin/binutils/libbfd/Makefile
index 25532b8..ef9adaa 100644
--- a/gnu/usr.bin/binutils/libbfd/Makefile
+++ b/gnu/usr.bin/binutils/libbfd/Makefile
@@ -1,5 +1,5 @@
#
-# $Id: Makefile,v 1.3 1998/03/12 05:14:09 jdp Exp $
+# $Id: Makefile,v 1.4 1998/05/04 21:16:46 jb Exp $
#
.include "../Makefile.inc0"
@@ -10,7 +10,8 @@ LIB= bfd
SRCS+= archive.c archures.c bfd.c binary.c cache.c \
coffgen.c corefile.c elf.c format.c hash.c ihex.c \
init.c libbfd.c linker.c opncls.c reloc.c section.c \
- srec.c stab-syms.c stabs.c syms.c targets.c tekhex.c
+ srec.c stab-syms.c stabs.c syms.c targets.c tekhex.c \
+ targmatch.h
CFLAGS+= -I${SRCDIR}/bfd
NOPROFILE= true
NOPIC= true
@@ -38,10 +39,6 @@ SELVEC+=,&${_v}
.endfor
CFLAGS+= -DSELECT_VECS="${SELVEC}"
-beforedepend: targmatch.h
-
-targets.o: targmatch.h
-
targmatch.h: targmatch.sed config.bfd
sed -f ${.ALLSRC:M*.sed} ${.ALLSRC:M*.bfd} > ${.TARGET}
diff --git a/gnu/usr.bin/binutils/libbfd/Makefile.alpha b/gnu/usr.bin/binutils/libbfd/Makefile.alpha
index ca77a9c..7c98ead 100644
--- a/gnu/usr.bin/binutils/libbfd/Makefile.alpha
+++ b/gnu/usr.bin/binutils/libbfd/Makefile.alpha
@@ -1,9 +1,9 @@
#
-# $Id: Makefile.alpha,v 1.1 1998/03/12 12:29:20 jb Exp $
+# $Id: Makefile.alpha,v 1.2 1998/05/04 21:16:46 jb Exp $
#
SRCS+= coff-alpha.c cpu-alpha.c ecoff.c ecofflink.c elf64-alpha.c \
- elf64.c elflink.c
+ elf64-target.h elf64.c elflink.c
VECS+= bfd_elf64_alpha_vec ecoffalpha_little_vec
.if ${MACHINE_ARCH} == "alpha"
CFLAGS+= -DDEFAULT_VECTOR=bfd_elf64_alpha_vec
@@ -12,9 +12,5 @@ CFLAGS+= -DHAVE_bfd_elf64_alpha_vec
CFLAGS+= -DHAVE_ecoffalpha_little_vec
CLEANFILES+= elf64-target.h
-beforedepend: elf64-target.h
-
-elf64-alpha.o: elf64-target.h
-
elf64-target.h: elfxx-target.h
sed -e s/NN/64/g ${.ALLSRC} > ${.TARGET}
diff --git a/gnu/usr.bin/binutils/libbfd/Makefile.i386 b/gnu/usr.bin/binutils/libbfd/Makefile.i386
index de2f0e1..b7d7347 100644
--- a/gnu/usr.bin/binutils/libbfd/Makefile.i386
+++ b/gnu/usr.bin/binutils/libbfd/Makefile.i386
@@ -1,7 +1,7 @@
#
-# $Id: Makefile.i386,v 1.3 1998/03/30 02:21:22 jdp Exp $
+# $Id: Makefile.i386,v 1.4 1998/05/04 21:16:46 jb Exp $
#
-SRCS+= cpu-i386.c elf32-i386.c elf32.c elflink.c
+SRCS+= cpu-i386.c elf32-i386.c elf32-target.h elf32.c elflink.c
VECS+= bfd_elf32_i386_vec
.if ${MACHINE_ARCH} == "i386"
CFLAGS+= -DDEFAULT_VECTOR=bfd_elf32_i386_vec
@@ -9,9 +9,5 @@ CFLAGS+= -DDEFAULT_VECTOR=bfd_elf32_i386_vec
CFLAGS+= -DHAVE_bfd_elf32_i386_vec
CLEANFILES+= elf32-target.h
-beforedepend: elf32-target.h
-
-elf32-i386.o: elf32-target.h
-
elf32-target.h: elfxx-target.h
sed -e s/NN/32/g ${.ALLSRC} > ${.TARGET}
OpenPOWER on IntegriCloud