Home | History | Annotate | Line # | Download | only in modunload
Makefile revision 1.9
      1 #	$NetBSD: Makefile,v 1.9 2008/01/16 12:34:58 ad Exp $
      2 #
      3 # Makefile for modunload
      4 #
      5 # 25 May 93	Terry Lambert		Original
      6 #
      7 # Copyright (c) 1993 Terrence R. Lambert.
      8 # All rights reserved.
      9 #
     10 # Redistribution and use in source and binary forms, with or without
     11 # modification, are permitted provided that the following conditions
     12 # are met:
     13 # 1. Redistributions of source code must retain the above copyright
     14 #    notice, this list of conditions and the following disclaimer.
     15 # 2. Redistributions in binary form must reproduce the above copyright
     16 #    notice, this list of conditions and the following disclaimer in the
     17 #    documentation and/or other materials provided with the distribution.
     18 # 3. All advertising materials mentioning features or use of this software
     19 #    must display the following acknowledgement:
     20 #      This product includes software developed by Terrence R. Lambert.
     21 # 4. The name Terrence R. Lambert may not be used to endorse or promote
     22 #    products derived from this software without specific prior written
     23 #    permission.
     24 #
     25 # THIS SOFTWARE IS PROVIDED BY TERRENCE R. LAMBERT ``AS IS'' AND ANY
     26 # EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
     27 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
     28 # ARE DISCLAIMED.  IN NO EVENT SHALL THE TERRENCE R. LAMBERT BE LIABLE
     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 .if ("1" == "1")		# LKMs
     38 
     39 PROG=	modunload
     40 MAN=	modunload.8
     41 
     42 .include <bsd.prog.mk>
     43 
     44 .else				# new module framework, remove copyright ^^
     45 
     46 PROG=	modunload
     47 SRCS=	main.c
     48 MAN=	modunload.8
     49 
     50 .include <bsd.prog.mk>
     51 
     52 .endif
     53