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