blob: 817aa431db34250365209f57e7685b48605b359e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
# $FreeBSD$
# must be before -I${DESTDIR}/usr/include
CFLAGS+= -I${DESTDIR}/usr/include/gnu
.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}
CLEANFILES= gasp+%FIXED.c
gasp+%FIXED.c: gasp.c
sed -e 's|xregex\.h|regex.h|g' ${.ALLSRC} >${.TARGET}
.include <bsd.prog.mk>
|