From 9d24a9a5c4aaac188ce53f268402b29607e17066 Mon Sep 17 00:00:00 2001 From: tv Date: Tue, 29 Dec 1998 15:12:27 +0000 Subject: [PATCH] Add build structure for gasp (GNU Assembler Preprocessor) which is shipped with gas; don't enable until gas.new is default everywhere. --- gnu/usr.bin/gasp/Makefile | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 gnu/usr.bin/gasp/Makefile diff --git a/gnu/usr.bin/gasp/Makefile b/gnu/usr.bin/gasp/Makefile new file mode 100644 index 000000000000..adb1d2a1f25e --- /dev/null +++ b/gnu/usr.bin/gasp/Makefile @@ -0,0 +1,26 @@ +# $NetBSD: Makefile,v 1.1 1998/12/29 15:12:27 tv Exp $ + +DIST= ${.CURDIR}/../../dist + +PROG= gasp +SRCS= gasp.c macro.c sb.c hash.c +NOMAN= + +.PATH: ${DIST}/gas + +CPPFLAGS+= -I${.CURDIR}/../gas.new/arch/${MACHINE_ARCH} \ + -I${.CURDIR}/../gas.new -I${DIST}/gas/config -I${DIST}/gas \ + -I${DIST}/include -D_GNU_SOURCE \ + -DTARGET_ALIAS=\"${MACHINE_GNU_ARCH}-netbsd\" \ + -DTARGET_CPU=\"${MACHINE_GNU_ARCH}\" \ + -DTARGET_CANONICAL=\"${MACHINE_GNU_ARCH}--netbsd\" + +BFDOBJ!= cd ${.CURDIR}/../../lib/bfd; \ + printf "xxx: .MAKE\n\t@echo \$${.OBJDIR}\n" | ${MAKE} -s -f- + +LDADD+= -L${BFDOBJ} -lbfd +DPADD+= ${BFDOBJ}/libbfd.a + +MAN= gasp.1 + +.include