summaryrefslogtreecommitdiff
path: root/sbin/mount_vnd/Makefile
diff options
context:
space:
mode:
authorAlexander von Gernler <grunk@cvs.openbsd.org>2007-05-26 03:37:46 +0000
committerAlexander von Gernler <grunk@cvs.openbsd.org>2007-05-26 03:37:46 +0000
commite824d0a67754988b985061a9cfb0e98ab023c9ba (patch)
treecc5e52a9d5152159ee061182ed86af9a186654cb /sbin/mount_vnd/Makefile
parent2fd3b69c813fcad97c53137d7edffb11552a9445 (diff)
make mount_vnd a C program by pulling in the vnconfig(8) source and adding
a mount_vnd(8) interface to it. merge manpages as well. next goal is to have this here completely replace the usr.sbin/vnconfig directory. prodded by many, manpage discussion and help jmc@, "go ahead" deraadt@
Diffstat (limited to 'sbin/mount_vnd/Makefile')
-rw-r--r--sbin/mount_vnd/Makefile14
1 files changed, 9 insertions, 5 deletions
diff --git a/sbin/mount_vnd/Makefile b/sbin/mount_vnd/Makefile
index 33a7137f794..6b869d77050 100644
--- a/sbin/mount_vnd/Makefile
+++ b/sbin/mount_vnd/Makefile
@@ -1,9 +1,13 @@
-# $OpenBSD: Makefile,v 1.1 2007/04/14 11:54:00 grunk Exp $
+# $OpenBSD: Makefile,v 1.2 2007/05/26 03:37:45 grunk Exp $
-MAN=mount_vnd.8
+PROG= mount_vnd
+SRCS= mount_vnd.c pkcs5_pbkdf2.c
+LDADD= -lutil -lcrypto
+DPADD= ${LIBUTIL}
-beforeinstall:
- ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
- ${.CURDIR}/mount_vnd ${DESTDIR}${BINDIR}/mount_vnd
+LINKS= ${BINDIR}/mount_vnd ${BINDIR}/vnconfig
+MLINKS= mount_vnd.8 vnconfig.8
+
+MAN= mount_vnd.8
.include <bsd.prog.mk>