summaryrefslogtreecommitdiffstats
path: root/sbin/fdisk/Makefile
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2003-04-13 21:34:16 +0000
committerphk <phk@FreeBSD.org>2003-04-13 21:34:16 +0000
commit2ceb0a613a486f112fdadda91a476b6737669c2e (patch)
treeb2f8b033d12c9553d046062bce46e4f33bbdf258 /sbin/fdisk/Makefile
parent0827d0138a9ca07b753cd117c1893853f676c971 (diff)
downloadFreeBSD-src-2ceb0a613a486f112fdadda91a476b6737669c2e.zip
FreeBSD-src-2ceb0a613a486f112fdadda91a476b6737669c2e.tar.gz
Pull in the encoding/decoding functions for struct dos_partition.
Add a very simple regression test for "fdisk -I".
Diffstat (limited to 'sbin/fdisk/Makefile')
-rw-r--r--sbin/fdisk/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/sbin/fdisk/Makefile b/sbin/fdisk/Makefile
index 9a5fb9b..8f0d8e9 100644
--- a/sbin/fdisk/Makefile
+++ b/sbin/fdisk/Makefile
@@ -1,7 +1,13 @@
# $FreeBSD$
PROG= fdisk
+SRCS= fdisk.c geom_mbr_enc.c
WARNS= 4
MAN= fdisk.8
+.PATH: ${.CURDIR}/../../sys/geom
+
.include <bsd.prog.mk>
+
+test: ${PROG}
+ sh ${.CURDIR}/runtest.sh
OpenPOWER on IntegriCloud