opnsense-src/gnu/usr.bin/binutils/gasp/Makefile
Johan Karlsson 7ff8c436d3 style.Makefile(5):
Use WARNS?= instead of WARNS=

For this to work properly for all part is the subdirectories
the WARNS assignments in Makefile.inc0 are moved to the correspondning
Makefile.inc.

Approved by:	obrien (binutils maintainer)
Tested by:	make universe
2004-02-24 19:23:33 +00:00

22 lines
524 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${DESTDIR}/usr/include/gnu
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>