opnsense-src/gnu/usr.bin/binutils/gasp/Makefile
David E. O'Brien d536cae879 *sigh* The GNU folks want to layer and abstract yet another standard API.
This time remove the xregex redirection and just directly use their own
gnuregex.
2002-10-11 07:42:20 +00:00

20 lines
462 B
Makefile

# $FreeBSD$
.include "../Makefile.inc0"
.PATH: ${SRCDIR}/gas
PROG= gasp
SRCS+= gasp+%FIXED.c macro.c sb.c hash.c
WARNS= 2
CFLAGS+= -DBFD_ASSEMBLER
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>