summaryrefslogtreecommitdiffstats
path: root/gnu
diff options
context:
space:
mode:
authordfr <dfr@FreeBSD.org>1999-12-07 17:01:27 +0000
committerdfr <dfr@FreeBSD.org>1999-12-07 17:01:27 +0000
commit280ae2df10cf24927998e13d0531a8897ee4fa78 (patch)
tree3b5dad1fe2af876ab0906e89e1712c75cc16701e /gnu
parenta0d99d8853d7958d5b736ce823ec807fec0dc3c5 (diff)
downloadFreeBSD-src-280ae2df10cf24927998e13d0531a8897ee4fa78.zip
FreeBSD-src-280ae2df10cf24927998e13d0531a8897ee4fa78.tar.gz
Build gasp (GAS Preprocessor). This is needed for building Glide.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/usr.bin/binutils/Makefile2
-rw-r--r--gnu/usr.bin/binutils/gasp/Makefile20
2 files changed, 21 insertions, 1 deletions
diff --git a/gnu/usr.bin/binutils/Makefile b/gnu/usr.bin/binutils/Makefile
index 60ace3d..ad98cbf 100644
--- a/gnu/usr.bin/binutils/Makefile
+++ b/gnu/usr.bin/binutils/Makefile
@@ -3,7 +3,7 @@
#
SUBDIR= libiberty libbfd libopcodes libbinutils \
- addr2line ar as ld nm objcopy objdump ranlib \
+ addr2line ar as gasp ld nm objcopy objdump ranlib \
size strings strip doc
# Maybe should be unconditional but I don't want to get in the
diff --git a/gnu/usr.bin/binutils/gasp/Makefile b/gnu/usr.bin/binutils/gasp/Makefile
new file mode 100644
index 0000000..d7e6412
--- /dev/null
+++ b/gnu/usr.bin/binutils/gasp/Makefile
@@ -0,0 +1,20 @@
+#
+# $FreeBSD$
+#
+
+.include "../Makefile.inc0"
+
+.PATH: ${SRCDIR}/gas
+
+PROG= gasp
+SRCS+= gasp.c macro.c sb.c hash.c
+CFLAGS+= -I${SRCDIR}
+CFLAGS+= -I${SRCDIR}/gas
+CFLAGS+= -I${SRCDIR}/gas/config
+CFLAGS+= -I${.CURDIR}/../as/as_${MACHINE_ARCH}
+CFLAGS+= -DBFD_ASSEMBLER
+LDADD+= -L${RELTOP}/libiberty -liberty
+DPADD+= ${RELTOP}/libiberty/libiberty.a
+NOMAN= 1
+
+.include <bsd.prog.mk>
OpenPOWER on IntegriCloud