Makefile revision 1.12 1 1.12 jmmv # $NetBSD: Makefile,v 1.12 2008/02/10 08:21:25 jmmv Exp $
2 1.1 cgd #
3 1.1 cgd # Makefile for modunload
4 1.1 cgd #
5 1.1 cgd # 25 May 93 Terry Lambert Original
6 1.1 cgd #
7 1.1 cgd # Copyright (c) 1993 Terrence R. Lambert.
8 1.1 cgd # All rights reserved.
9 1.1 cgd #
10 1.1 cgd # Redistribution and use in source and binary forms, with or without
11 1.1 cgd # modification, are permitted provided that the following conditions
12 1.1 cgd # are met:
13 1.1 cgd # 1. Redistributions of source code must retain the above copyright
14 1.1 cgd # notice, this list of conditions and the following disclaimer.
15 1.1 cgd # 2. Redistributions in binary form must reproduce the above copyright
16 1.1 cgd # notice, this list of conditions and the following disclaimer in the
17 1.1 cgd # documentation and/or other materials provided with the distribution.
18 1.1 cgd # 3. All advertising materials mentioning features or use of this software
19 1.1 cgd # must display the following acknowledgement:
20 1.1 cgd # This product includes software developed by Terrence R. Lambert.
21 1.1 cgd # 4. The name Terrence R. Lambert may not be used to endorse or promote
22 1.1 cgd # products derived from this software without specific prior written
23 1.1 cgd # permission.
24 1.1 cgd #
25 1.1 cgd # THIS SOFTWARE IS PROVIDED BY TERRENCE R. LAMBERT ``AS IS'' AND ANY
26 1.1 cgd # EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
27 1.1 cgd # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
28 1.1 cgd # ARE DISCLAIMED. IN NO EVENT SHALL THE TERRENCE R. LAMBERT BE LIABLE
29 1.1 cgd # FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
30 1.1 cgd # DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
31 1.1 cgd # OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
32 1.1 cgd # HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
33 1.1 cgd # LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
34 1.1 cgd # OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
35 1.1 cgd # SUCH DAMAGE.
36 1.1 cgd
37 1.10 jmmv .include <bsd.own.mk>
38 1.10 jmmv
39 1.12 jmmv .if ${MKMODULAR} != "no" # new module framework, remove copyright ^^
40 1.9 ad
41 1.9 ad PROG= modunload
42 1.12 jmmv SRCS= main.c
43 1.9 ad MAN= modunload.8
44 1.9 ad
45 1.12 jmmv .else # LKMS
46 1.9 ad
47 1.1 cgd PROG= modunload
48 1.5 cgd MAN= modunload.8
49 1.1 cgd
50 1.12 jmmv .endif
51 1.12 jmmv
52 1.1 cgd .include <bsd.prog.mk>
53