Makefile (50476) | Makefile (66549) |
---|---|
1# 08 Nov 1998 2# 3# Makefile for kld char device driver. 4# 5# 08 Nov 1998 Rajesh Vaidheeswarran 6# 7# Copyright (c) 1998 Rajesh Vaidheeswarran 8# All rights reserved. --- 20 unchanged lines hidden (view full) --- 29# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 30# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 31# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 32# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 33# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 34# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 35# SUCH DAMAGE. 36# | 1# 08 Nov 1998 2# 3# Makefile for kld char device driver. 4# 5# 08 Nov 1998 Rajesh Vaidheeswarran 6# 7# Copyright (c) 1998 Rajesh Vaidheeswarran 8# All rights reserved. --- 20 unchanged lines hidden (view full) --- 29# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 30# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 31# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 32# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 33# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 34# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 35# SUCH DAMAGE. 36# |
37# $FreeBSD: head/share/examples/kld/cdev/module/Makefile 50476 1999-08-28 00:22:10Z peter $ | 37# $FreeBSD: head/share/examples/kld/cdev/module/Makefile 66549 2000-10-02 14:14:07Z sobomax $ |
38# 39# Copyright (c) 1993 Terrence R. Lambert. 40# All rights reserved. 41# 42# Redistribution and use in source and binary forms, with or without 43# modification, are permitted provided that the following conditions 44# are met: 45# 1. Redistributions of source code must retain the above copyright --- 27 unchanged lines hidden (view full) --- 73NOMAN = t 74KLDMOD = t 75 76KLDLOAD = /sbin/kldload 77KLDUNLOAD = /sbin/kldunload 78 79CLEANFILES+= ${KMOD} 80 | 38# 39# Copyright (c) 1993 Terrence R. Lambert. 40# All rights reserved. 41# 42# Redistribution and use in source and binary forms, with or without 43# modification, are permitted provided that the following conditions 44# are met: 45# 1. Redistributions of source code must retain the above copyright --- 27 unchanged lines hidden (view full) --- 73NOMAN = t 74KLDMOD = t 75 76KLDLOAD = /sbin/kldload 77KLDUNLOAD = /sbin/kldunload 78 79CLEANFILES+= ${KMOD} 80 |
81load: /dev/cdev 82 ${KLDLOAD} -v ./${KMOD} | 81load: /dev/cdev ${KMOD}.ko 82 ${KLDLOAD} -v ./${KMOD}.ko |
83 84unload: 85 rm -f /dev/cdev 86 ${KLDUNLOAD} -v -n ${KMOD} 87 88/dev/cdev: 89 mknod /dev/cdev c 32 0 90 91.include <bsd.kmod.mk> | 83 84unload: 85 rm -f /dev/cdev 86 ${KLDUNLOAD} -v -n ${KMOD} 87 88/dev/cdev: 89 mknod /dev/cdev c 32 0 90 91.include <bsd.kmod.mk> |