]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - usr.sbin/pim6sd/Makefile
In remove_at_jobs():
[FreeBSD/FreeBSD.git] / usr.sbin / pim6sd / Makefile
1 # Copyright (c) 1999 WIDE Project. All rights reserved.
2 #
3 # Redistribution and use in source and binary forms, with or without
4 # modification, are permitted provided that the following conditions
5 # are met:
6 # 1. Redistributions of source code must retain the above copyright
7 #    notice, this list of conditions and the following disclaimer.
8 # 2. Redistributions in binary form must reproduce the above copyright
9 #    notice, this list of conditions and the following disclaimer in the
10 #    documentation and/or other materials provided with the distribution.
11 # 3. Neither the name of the project nor the names of its contributors
12 #    may be used to endorse or promote products derived from this software
13 #    without specific prior written permission.
14
15 # THIS SOFTWARE IS PROVIDED BY THE PROJECT AND CONTRIBUTORS ``AS IS'' AND
16 # ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
17 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
18 # ARE DISCLAIMED.  IN NO EVENT SHALL THE PROJECT OR CONTRIBUTORS BE LIABLE
19 # FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
20 # DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
21 # OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
22 # HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
23 # LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
24 # OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
25 # SUCH DAMAGE.
26
27 # Copyright (c) 1998 by the University of Oregon.
28 # All rights reserved.
29 #
30 # Permission to use, copy, modify, and distribute this software and
31 # its documentation in source and binary forms for lawful
32 # purposes and without fee is hereby granted, provided
33 # that the above copyright notice appear in all copies and that both
34 # the copyright notice and this permission notice appear in supporting
35 # documentation, and that any documentation, advertising materials,
36 # and other materials related to such distribution and use acknowledge
37 # that the software was developed by the University of Oregon.
38 # The name of the University of Oregon may not be used to endorse or 
39 # promote products derived from this software without specific prior 
40 # written permission.
41 #
42 # THE UNIVERSITY OF OREGON DOES NOT MAKE ANY REPRESENTATIONS
43 # ABOUT THE SUITABILITY OF THIS SOFTWARE FOR ANY PURPOSE.  THIS SOFTWARE IS
44 # PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES,
45 # INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
46 # MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, TITLE, AND 
47 # NON-INFRINGEMENT.
48 #
49 # IN NO EVENT SHALL UO, OR ANY OTHER CONTRIBUTOR BE LIABLE FOR ANY
50 # SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES, WHETHER IN CONTRACT,
51 # TORT, OR OTHER FORM OF ACTION, ARISING OUT OF OR IN CONNECTION WITH,
52 # THE USE OR PERFORMANCE OF THIS SOFTWARE.
53 #
54 # Other copyrights might apply to parts of this software and are so
55 # noted when applicable.
56 #
57 #
58 # Questions concerning this software should be directed to 
59 # Kurt Windisch (kurtw@antc.uoregon.edu)
60 #
61 # $Id: Makefile,v 1.8 2000/02/25 06:32:22 itojun Exp $
62 #
63 #
64 #Part of this program has been derived from PIM sparse-mode pimd.
65 #The pimd program is covered by the license in the accompanying file
66 #named "LICENSE.pimd".
67
68 #The pimd program is COPYRIGHT 1998 by University of Southern California.
69 #
70 #Part of this program has been derived from mrouted.
71 #The mrouted program is covered by the license in the accompanying file
72 #named "LICENSE.mrouted".
73 #
74 #The mrouted program is COPYRIGHT 1989 by The Board of Trustees of
75 #Leland Stanford Junior University.
76 #
77 # $FreeBSD$
78
79 PROG=   pim6sd
80 MAN=    pim6stat.1 pim6sd.conf.5 pim6sd.8
81 SRCS=   mld6.c mld6_proto.c \
82         inet6.c kern.c main.c config.c debug.c routesock.c vers.c callout.c \
83         route.c vif.c timer.c mrt.c pim6.c pim6_proto.c rp.c crc.c trace.c \
84         cfparse.y cftoken.l
85 SCRIPTS= pim6stat
86
87 CLEANFILES+= lex.yy.c y.tab.h y.tab.c
88 SRCS+=  y.tab.h
89 y.tab.h: cfparse.y
90
91 CFLAGS+= -I. -I${.CURDIR}
92 CFLAGS+= -DINET6 -DPIM -DIOCTL_OK_ON_RAW_SOCKET -DHAVE_GETIFADDRS
93 CFLAGS+= -DHAVE_STDARG_H
94
95 DPADD=  ${LIBY} ${LIBL}
96 LDADD=  -ly -ll
97
98 .include <bsd.prog.mk>