aboutsummaryrefslogtreecommitdiffstats
path: root/diskdev_cmds/vsdbutil.tproj
diff options
context:
space:
mode:
Diffstat (limited to 'diskdev_cmds/vsdbutil.tproj')
-rw-r--r--diskdev_cmds/vsdbutil.tproj/Makefile12
-rw-r--r--diskdev_cmds/vsdbutil.tproj/vsdbutil_main.c2
2 files changed, 14 insertions, 0 deletions
diff --git a/diskdev_cmds/vsdbutil.tproj/Makefile b/diskdev_cmds/vsdbutil.tproj/Makefile
new file mode 100644
index 0000000..621ce78
--- /dev/null
+++ b/diskdev_cmds/vsdbutil.tproj/Makefile
@@ -0,0 +1,12 @@
+PROG= vsdbutil
+MAN= vsdbutil.8
+SRCS= vsdbutil_main.c \
+ mount_flags.c
+
+.PATH: ${.CURDIR}/../mount_flags_dir
+
+LDADD+=-liosexec
+
+BINDIR=/usr/sbin
+
+.include <bsd.prog.mk>
diff --git a/diskdev_cmds/vsdbutil.tproj/vsdbutil_main.c b/diskdev_cmds/vsdbutil.tproj/vsdbutil_main.c
index c9647fe..efaf032 100644
--- a/diskdev_cmds/vsdbutil.tproj/vsdbutil_main.c
+++ b/diskdev_cmds/vsdbutil.tproj/vsdbutil_main.c
@@ -56,6 +56,8 @@
#include <uuid/uuid.h>
#include <System/uuid/namespace.h>
+#include <libiosexec.h>
+
// This flags array is shared with the mount(8) tool.
#include "../mount_flags_dir/mount_flags.h"