summaryrefslogtreecommitdiff
path: root/distrib/special/newfs
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2007-11-26 15:36:41 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2007-11-26 15:36:41 +0000
commit61b591d4724fe059ead2ae8a9d2c63137083b0e6 (patch)
tree3f127d52ed762053ea4709d45b0f803665cd5945 /distrib/special/newfs
parent32b4fa08846f6a470f84cd297e2bda89b77a1102 (diff)
build our own newfs binary for the media -- without MFS support -- to
save space.
Diffstat (limited to 'distrib/special/newfs')
-rw-r--r--distrib/special/newfs/Makefile15
1 files changed, 15 insertions, 0 deletions
diff --git a/distrib/special/newfs/Makefile b/distrib/special/newfs/Makefile
new file mode 100644
index 00000000000..6433c7f66cb
--- /dev/null
+++ b/distrib/special/newfs/Makefile
@@ -0,0 +1,15 @@
+# $OpenBSD: Makefile,v 1.1 2007/11/26 15:36:40 deraadt Exp $
+
+PROG= newfs
+MAN=
+SRCS= dkcksum.c getmntopts.c newfs.c mkfs.c
+COPTS+=-Os
+CFLAGS+= -I${.CURDIR}/../../../sbin/mount
+.PATH: ${.CURDIR}/../../../sbin/newfs
+.PATH: ${.CURDIR}/../../../sbin/mount
+.PATH: ${.CURDIR}/../../../sbin/disklabel
+
+LDADD+= -lutil
+DPADD+= ${LIBUTIL}
+
+.include <bsd.prog.mk>