From 99b81346548fb298629ab8fc37748f3bb3e0f727 Mon Sep 17 00:00:00 2001 From: Doug Rabson Date: Tue, 7 Dec 1999 17:01:27 +0000 Subject: [PATCH] Build gasp (GAS Preprocessor). This is needed for building Glide. --- gnu/usr.bin/binutils/Makefile | 2 +- gnu/usr.bin/binutils/gasp/Makefile | 20 ++++++++++++++++++++ 2 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 gnu/usr.bin/binutils/gasp/Makefile diff --git a/gnu/usr.bin/binutils/Makefile b/gnu/usr.bin/binutils/Makefile index 60ace3d85539..ad98cbfea2a9 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 000000000000..d7e64121c216 --- /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