Automatically generate bfd.h.
This commit is contained in:
parent
d0c8c7532a
commit
053c6819b7
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.13 1998/07/29 11:05:26 tron Exp $
|
||||
# $NetBSD: Makefile,v 1.14 1998/08/21 21:11:02 tv Exp $
|
||||
|
||||
LIB= bfd
|
||||
|
||||
|
@ -30,6 +30,16 @@ CPPFLAGS+= -I$(dist)/include
|
|||
.include "_${MACHINE_ARCH:S/^mips$/mipsel/}.mk"
|
||||
.endif
|
||||
|
||||
BFD_WORDSIZE?= 32
|
||||
BFD_64BIT_LONG?=0
|
||||
|
||||
bfd.h: bfd-in2.h
|
||||
@sed -e 's,@VERSION@,2.8.1,' \
|
||||
-e 's,@wordsize@,${BFD_WORDSIZE},' \
|
||||
-e 's,@BFD_HOST_64BIT_LONG@,${BFD_64BIT_LONG},' \
|
||||
-e 's,@BFD_HOST_64_BIT_DEFINED@,0,' \
|
||||
< $> > $@
|
||||
|
||||
# From $(dist)/bfd: BFD_LIBS, BFD_BACKENDS, BFD_MACHINES, ...
|
||||
# Have to ommit libbfd.c to avoid .c.so rule problem.
|
||||
BFD_SRCS= \
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: _alpha.mk,v 1.2 1997/10/17 20:06:59 gwr Exp $
|
||||
# $NetBSD: _alpha.mk,v 1.3 1998/08/21 21:11:02 tv Exp $
|
||||
|
||||
BFD_MACHINES = cpu-alpha.c
|
||||
BFD_BACKENDS = elf64-alpha.c elf64.c elf.c elflink.c \
|
||||
|
@ -15,3 +15,6 @@ TDEFAULTS = \
|
|||
-DNETBSD_CORE
|
||||
|
||||
OPCODE_MACHINES = alpha-dis.c alpha-opc.c
|
||||
|
||||
BFD_WORDSIZE= 64
|
||||
BFD_64BIT_LONG= 1
|
||||
|
|
Loading…
Reference in New Issue