1999-12-07 17:01:27 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
.include "../Makefile.inc0"
|
|
|
|
|
|
|
|
.PATH: ${SRCDIR}/gas
|
|
|
|
|
2001-10-14 01:31:37 +00:00
|
|
|
PROG= gasp
|
2004-03-17 07:40:42 +00:00
|
|
|
SRCS+= gasp.c macro.c sb.c hash.c xregex.h
|
2004-02-24 19:23:33 +00:00
|
|
|
WARNS?= 2
|
2001-10-14 01:31:37 +00:00
|
|
|
CFLAGS+= -DBFD_ASSEMBLER
|
2001-10-14 02:15:58 +00:00
|
|
|
CFLAGS+= -I${.CURDIR}/../as/${TARGET_ARCH}-freebsd -I${.CURDIR}/../as
|
2002-10-11 07:42:20 +00:00
|
|
|
CFLAGS+= -I${.CURDIR}
|
|
|
|
CFLAGS+= -I${SRCDIR} -I${SRCDIR}/gas -I${SRCDIR}/gas/config
|
2001-10-14 01:31:37 +00:00
|
|
|
DPADD= ${RELTOP}/libiberty/libiberty.a
|
|
|
|
LDADD= ${DPADD}
|
2004-03-17 07:40:42 +00:00
|
|
|
CLEANFILES= xregex.h
|
1999-12-07 17:01:27 +00:00
|
|
|
|
2004-03-17 07:40:42 +00:00
|
|
|
xregex.h:
|
2004-03-17 18:38:07 +00:00
|
|
|
@echo '#include <regex.h>' >${.TARGET}
|
2002-10-11 07:42:20 +00:00
|
|
|
|
1999-12-07 17:01:27 +00:00
|
|
|
.include <bsd.prog.mk>
|