Makefile revision 1.8.10.1 1 # Makefile,v 1.8 2005/06/27 01:00:05 christos 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 .include <bsd.own.mk>
38
39 .if ${MKMODULAR} != "no" # new module framework, remove copyright ^^
40
41 PROG= modunload
42 SRCS= main.c
43 MAN= modunload.8
44
45 .else # LKMS
46
47 PROG= modunload
48 MAN= modunload.8
49
50 .endif
51
52 .include <bsd.prog.mk>
53