]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - sbin/dhclient/Makefile
ifconfig: fix 'ifconfig -l ether'
[FreeBSD/FreeBSD.git] / sbin / dhclient / Makefile
1 # $OpenBSD: Makefile,v 1.9 2004/05/04 12:52:05 henning Exp $
2 #
3 # Copyright (c) 1996, 1997 The Internet Software Consortium.
4 # All rights reserved.
5 #
6 # Redistribution and use in source and binary forms, with or without
7 # modification, are permitted provided that the following conditions
8 # are met:
9 #
10 # 1. Redistributions of source code must retain the above copyright
11 #    notice, this list of conditions and the following disclaimer.
12 # 2. Redistributions in binary form must reproduce the above copyright
13 #    notice, this list of conditions and the following disclaimer in the
14 #    documentation and/or other materials provided with the distribution.
15 # 3. Neither the name of The Internet Software Consortium nor the names of its
16 #    contributors may be used to endorse or promote products derived
17 #    from this software without specific prior written permission.
18 #
19 # THIS SOFTWARE IS PROVIDED BY THE INTERNET SOFTWARE CONSORTIUM AND
20 # CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING,
21 # BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
22 # FOR A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL
23 # THE INTERNET SOFTWARE CONSORTIUM OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
24 # INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
25 # (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
26 # SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27 # HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
28 # STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
29 # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
30 # OF THE POSSIBILITY OF SUCH DAMAGE.
31 #
32
33 .include <src.opts.mk>
34
35 CONFS=  dhclient.conf
36 PACKAGE=dhclient
37 SRCS=   dhclient.c clparse.c alloc.c dispatch.c hash.c bpf.c options.c \
38         tree.c conflex.c errwarn.c inet.c packet.c convert.c tables.c \
39         parse.c privsep.c
40
41 PROG=   dhclient
42 SCRIPTS=dhclient-script
43 MAN=    dhclient.8 dhclient.conf.5 dhclient.leases.5 dhcp-options.5 \
44         dhclient-script.8
45 LIBADD= util
46
47 .if ${MK_DYNAMICROOT} == "no"
48 .warning ${PROG} built without libcasper support
49 .elif ${MK_CASPER} != "no" && !defined(RESCUE)
50 LIBADD+=        casper
51 LIBADD+=        cap_syslog
52 CFLAGS+=-DWITH_CASPER
53 .endif
54
55 NO_WCAST_ALIGN= yes
56
57 HAS_TESTS=
58 SUBDIR.${MK_TESTS}+= tests
59
60 .include <bsd.prog.mk>