1993-06-08 07:52:08 +04:00
|
|
|
#
|
1999-08-21 10:30:11 +04:00
|
|
|
# $NetBSD: Makefile,v 1.17 1999/08/21 06:30:12 simonb Exp $
|
1993-06-08 07:52:08 +04:00
|
|
|
#
|
|
|
|
|
1999-08-21 10:30:11 +04:00
|
|
|
.include <bsd.own.mk> # for UNPRIVILEGED
|
|
|
|
|
1999-02-14 13:53:06 +03:00
|
|
|
STUFF= README syscall vfs misc
|
1999-02-13 05:54:17 +03:00
|
|
|
MKOBJ= no
|
1993-06-08 07:52:08 +04:00
|
|
|
|
1994-02-10 07:49:09 +03:00
|
|
|
install:
|
1999-02-14 13:53:06 +03:00
|
|
|
find ${STUFF} -follow -name CVS -prune -o -type f -print | \
|
1995-04-16 23:04:49 +04:00
|
|
|
cpio -pdumL ${DESTDIR}${BINDIR}/lkm
|
1999-08-21 10:30:11 +04:00
|
|
|
.if !defined(UNPRIVILEGED)
|
1994-02-10 08:25:18 +03:00
|
|
|
chown -R ${BINOWN}:${BINGRP} ${DESTDIR}${BINDIR}/lkm
|
1999-08-21 10:30:11 +04:00
|
|
|
.endif
|
1994-07-21 11:33:01 +04:00
|
|
|
find ${DESTDIR}${BINDIR}/lkm -type f | xargs chmod a=rX
|
|
|
|
find ${DESTDIR}${BINDIR}/lkm -type d | xargs chmod u=rwX,go=rX
|
1993-06-08 07:52:08 +04:00
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|