summaryrefslogtreecommitdiffstats
path: root/usr.bin/xinstall/Makefile
diff options
context:
space:
mode:
authorbrooks <brooks@FreeBSD.org>2013-01-11 20:53:28 +0000
committerbrooks <brooks@FreeBSD.org>2013-01-11 20:53:28 +0000
commit4bf0acc9bcbbd91fb107bcca34f1d2041801fa6c (patch)
tree4ae313f6369bc5e75b913bf2ee41423967ae9cc3 /usr.bin/xinstall/Makefile
parentf96c80800115958325477d08a370cfbf85c9db80 (diff)
downloadFreeBSD-src-4bf0acc9bcbbd91fb107bcca34f1d2041801fa6c.zip
FreeBSD-src-4bf0acc9bcbbd91fb107bcca34f1d2041801fa6c.tar.gz
Implement the -N <dbdir> option which allows an alternate passwd and
group file to be used. This is useful for installing on systems where a user or group does not currently exist. Sponsored by: DARPA, AFRL Obtained from: NetBSD MFC after: 5 days
Diffstat (limited to 'usr.bin/xinstall/Makefile')
-rw-r--r--usr.bin/xinstall/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/usr.bin/xinstall/Makefile b/usr.bin/xinstall/Makefile
index e6ff88e..2a2aace 100644
--- a/usr.bin/xinstall/Makefile
+++ b/usr.bin/xinstall/Makefile
@@ -3,6 +3,14 @@
PROG= xinstall
PROGNAME= install
+SRCS= xinstall.c getid.c
MAN= install.1
+.PATH: ${.CURDIR}/../../contrib/mtree
+CFLAGS+= -I${.CURDIR}/../../contrib/mtree
+CFLAGS+= -I${.CURDIR}/../../lib/libnetbsd
+
+DPADD+= ${LIBUTIL}
+LDADD+= -lutil
+
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud