summaryrefslogtreecommitdiff
path: root/distrib/special/df/Makefile
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2014-12-23 17:16:04 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2014-12-23 17:16:04 +0000
commitde5b987aa5f26edda6dd927bb6719eb65ac3978a (patch)
tree124cb4c1400915a8fe8f1b2dee7b3dbd4d223fc8 /distrib/special/df/Makefile
parentc56912687303bfde46d89d1043115cfea4334866 (diff)
/bin and /sbin are moving towards static PIE, so on many architectures
the PIC .o files are unsuitable for static "instbin". This adds more work at build time, but the result will be optimized for size.
Diffstat (limited to 'distrib/special/df/Makefile')
-rw-r--r--distrib/special/df/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/distrib/special/df/Makefile b/distrib/special/df/Makefile
new file mode 100644
index 00000000000..2000278e281
--- /dev/null
+++ b/distrib/special/df/Makefile
@@ -0,0 +1,9 @@
+# $OpenBSD: Makefile,v 1.1 2014/12/23 17:16:02 deraadt Exp $
+
+PROG= df
+SRCS= df.c ffs_df.c ext2fs_df.c
+LDADD= -lutil
+DPADD= ${LIBUTIL}
+
+.PATH: ${.CURDIR}/../../../bin/df
+.include <bsd.prog.mk>