summaryrefslogtreecommitdiffstats
path: root/usr.bin/cxxfilt/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/cxxfilt/Makefile')
-rw-r--r--usr.bin/cxxfilt/Makefile17
1 files changed, 17 insertions, 0 deletions
diff --git a/usr.bin/cxxfilt/Makefile b/usr.bin/cxxfilt/Makefile
new file mode 100644
index 0000000..496b240
--- /dev/null
+++ b/usr.bin/cxxfilt/Makefile
@@ -0,0 +1,17 @@
+# $FreeBSD$
+
+.include <src.opts.mk>
+
+ELFTCDIR= ${.CURDIR}/../../contrib/elftoolchain
+SRCDIR= ${ELFTCDIR}/cxxfilt
+
+.PATH: ${SRCDIR}
+
+PROG= c++filt
+SRCS= cxxfilt.c
+
+LIBADD= elftc
+
+CFLAGS+=-I${ELFTCDIR}/libelftc -I${ELFTCDIR}/common
+
+.include <bsd.prog.mk>
OpenPOWER on IntegriCloud