Makefile revision 1.12
11.12Sjmmv#	$NetBSD: Makefile,v 1.12 2008/02/10 08:21:25 jmmv Exp $
21.1Scgd#
31.1Scgd# Makefile for modunload
41.1Scgd#
51.1Scgd# 25 May 93	Terry Lambert		Original
61.1Scgd#
71.1Scgd# Copyright (c) 1993 Terrence R. Lambert.
81.1Scgd# All rights reserved.
91.1Scgd#
101.1Scgd# Redistribution and use in source and binary forms, with or without
111.1Scgd# modification, are permitted provided that the following conditions
121.1Scgd# are met:
131.1Scgd# 1. Redistributions of source code must retain the above copyright
141.1Scgd#    notice, this list of conditions and the following disclaimer.
151.1Scgd# 2. Redistributions in binary form must reproduce the above copyright
161.1Scgd#    notice, this list of conditions and the following disclaimer in the
171.1Scgd#    documentation and/or other materials provided with the distribution.
181.1Scgd# 3. All advertising materials mentioning features or use of this software
191.1Scgd#    must display the following acknowledgement:
201.1Scgd#      This product includes software developed by Terrence R. Lambert.
211.1Scgd# 4. The name Terrence R. Lambert may not be used to endorse or promote
221.1Scgd#    products derived from this software without specific prior written
231.1Scgd#    permission.
241.1Scgd#
251.1Scgd# THIS SOFTWARE IS PROVIDED BY TERRENCE R. LAMBERT ``AS IS'' AND ANY
261.1Scgd# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
271.1Scgd# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
281.1Scgd# ARE DISCLAIMED.  IN NO EVENT SHALL THE TERRENCE R. LAMBERT BE LIABLE
291.1Scgd# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
301.1Scgd# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
311.1Scgd# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
321.1Scgd# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
331.1Scgd# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
341.1Scgd# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
351.1Scgd# SUCH DAMAGE.
361.1Scgd
371.10Sjmmv.include <bsd.own.mk>
381.10Sjmmv
391.12Sjmmv.if ${MKMODULAR} != "no"	# new module framework, remove copyright ^^
401.9Sad
411.9SadPROG=	modunload
421.12SjmmvSRCS=	main.c
431.9SadMAN=	modunload.8
441.9Sad
451.12Sjmmv.else				# LKMS
461.9Sad
471.1ScgdPROG=	modunload
481.5ScgdMAN=	modunload.8
491.1Scgd
501.12Sjmmv.endif
511.12Sjmmv
521.1Scgd.include <bsd.prog.mk>
53