NetBSD/share/lkm/Makefile

20 lines
495 B
Makefile
Raw Normal View History

1993-06-08 07:52:08 +04:00
#
# $NetBSD: Makefile,v 1.17 1999/08/21 06:30:12 simonb Exp $
1993-06-08 07:52:08 +04:00
#
.include <bsd.own.mk> # for UNPRIVILEGED
STUFF= README syscall vfs misc
MKOBJ= no
1993-06-08 07:52:08 +04:00
install:
find ${STUFF} -follow -name CVS -prune -o -type f -print | \
cpio -pdumL ${DESTDIR}${BINDIR}/lkm
.if !defined(UNPRIVILEGED)
1994-02-10 08:25:18 +03:00
chown -R ${BINOWN}:${BINGRP} ${DESTDIR}${BINDIR}/lkm
.endif
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>