summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/binutils/libbinutils/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/usr.bin/binutils/libbinutils/Makefile')
-rw-r--r--gnu/usr.bin/binutils/libbinutils/Makefile32
1 files changed, 32 insertions, 0 deletions
diff --git a/gnu/usr.bin/binutils/libbinutils/Makefile b/gnu/usr.bin/binutils/libbinutils/Makefile
new file mode 100644
index 0000000..2c5f41a
--- /dev/null
+++ b/gnu/usr.bin/binutils/libbinutils/Makefile
@@ -0,0 +1,32 @@
+#
+# $Id$
+#
+
+.include "../Makefile.inc0"
+
+.PATH: ${SRCDIR}/binutils
+
+LIB= binutils
+SRCS= arlex.l arparse.y arsup.c bucomm.c debug.c filemode.c \
+ ieee.c rdcoff.c rddbg.c stabs.c wrstabs.c version.c
+CFLAGS+= -DTARGET=\"${TARGET}\"
+CFLAGS+= -DVERSION=\"${VERSION}\"
+CFLAGS+= -I${SRCDIR}/binutils
+CFLAGS+= -I${SRCDIR}/bfd
+NOPROFILE= true
+NOPIC= true
+CLEANFILES+= arlex.c arparse.c arparse.h
+
+beforedepend: arlex.c arparse.c arparse.h
+
+arlex.o: arparse.h
+
+arparse.c arparse.h: arparse.y
+ ${YACC} -d -o arparse.c ${.IMPSRC}
+
+# This rule is an attempt to cause "make -j" to work.
+arparse.h: arparse.c
+
+install:
+
+.include <bsd.lib.mk>
OpenPOWER on IntegriCloud