aboutsummaryrefslogtreecommitdiff
path: root/gnu/usr.bin/binutils
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2002-10-11 07:42:20 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2002-10-11 07:42:20 +0000
commitd536cae879fc3dcfe56c41b667bee4803ca4bc29 (patch)
treecca03340aef22edb14771c39ce7f36da1547b6cc /gnu/usr.bin/binutils
parent95b19e85a0a2a9119790edaa94a8aea4acdda89b (diff)
Notes
Diffstat (limited to 'gnu/usr.bin/binutils')
-rw-r--r--gnu/usr.bin/binutils/gasp/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/gnu/usr.bin/binutils/gasp/Makefile b/gnu/usr.bin/binutils/gasp/Makefile
index aad93556e374..6369d19fbc73 100644
--- a/gnu/usr.bin/binutils/gasp/Makefile
+++ b/gnu/usr.bin/binutils/gasp/Makefile
@@ -5,12 +5,16 @@
.PATH: ${SRCDIR}/gas
PROG= gasp
-SRCS+= gasp.c macro.c sb.c hash.c
+SRCS+= gasp+%FIXED.c macro.c sb.c hash.c
WARNS= 2
CFLAGS+= -DBFD_ASSEMBLER
-CFLAGS+= -I${SRCDIR} -I${SRCDIR}/gas -I${SRCDIR}/gas/config
CFLAGS+= -I${.CURDIR}/../as/${TARGET_ARCH}-freebsd -I${.CURDIR}/../as
+CFLAGS+= -I${.CURDIR}
+CFLAGS+= -I${SRCDIR} -I${SRCDIR}/gas -I${SRCDIR}/gas/config
DPADD= ${RELTOP}/libiberty/libiberty.a
LDADD= ${DPADD}
+gasp+%FIXED.c: gasp.c
+ sed -e 's|xregex\.h|gnuregex.h|g' ${.ALLSRC} >${.TARGET}
+
.include <bsd.prog.mk>