1147075Sbrooks# $OpenBSD: Makefile,v 1.9 2004/05/04 12:52:05 henning Exp $
250476Speter# $FreeBSD: releng/11.0/sbin/dhclient/Makefile 298107 2016-04-16 07:45:30Z gjb $
3147075Sbrooks#
4147075Sbrooks# Copyright (c) 1996, 1997 The Internet Software Consortium.
5147075Sbrooks# All rights reserved.
6147075Sbrooks#
7147075Sbrooks# Redistribution and use in source and binary forms, with or without
8147075Sbrooks# modification, are permitted provided that the following conditions
9147075Sbrooks# are met:
10147075Sbrooks#
11147075Sbrooks# 1. Redistributions of source code must retain the above copyright
12147075Sbrooks#    notice, this list of conditions and the following disclaimer.
13147075Sbrooks# 2. Redistributions in binary form must reproduce the above copyright
14147075Sbrooks#    notice, this list of conditions and the following disclaimer in the
15147075Sbrooks#    documentation and/or other materials provided with the distribution.
16147075Sbrooks# 3. Neither the name of The Internet Software Consortium nor the names of its
17147075Sbrooks#    contributors may be used to endorse or promote products derived
18147075Sbrooks#    from this software without specific prior written permission.
19147075Sbrooks#
20147075Sbrooks# THIS SOFTWARE IS PROVIDED BY THE INTERNET SOFTWARE CONSORTIUM AND
21147075Sbrooks# CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING,
22147075Sbrooks# BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
23147075Sbrooks# FOR A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL
24147075Sbrooks# THE INTERNET SOFTWARE CONSORTIUM OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
25147075Sbrooks# INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
26147075Sbrooks# (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
27147075Sbrooks# SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
28147075Sbrooks# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
29147075Sbrooks# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
30147075Sbrooks# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
31147075Sbrooks# OF THE POSSIBILITY OF SUCH DAMAGE.
32147075Sbrooks#
3343855Sobrien
34265420Simp.include <src.opts.mk>
35263220Sjmmv
36298107SgjbPACKAGE=runtime
37147075SbrooksSRCS=	dhclient.c clparse.c alloc.c dispatch.c hash.c bpf.c options.c \
38147075Sbrooks	tree.c conflex.c errwarn.c inet.c packet.c convert.c tables.c \
39147075Sbrooks	parse.c privsep.c
4091306Smurray
41147075SbrooksPROG=	dhclient
42147087SbrooksSCRIPTS=dhclient-script
43147596SruMAN=	dhclient.8 dhclient.conf.5 dhclient.leases.5 dhcp-options.5 \
44147596Sru	dhclient-script.8
45275030SbaptLIBADD=	util
4691306Smurray
47198236SruWARNS?=	2
48198236Sru
49263220Sjmmv.if ${MK_TESTS} != "no"
50263220SjmmvSUBDIR+=    tests
51263220Sjmmv.endif
52263220Sjmmv
53147075Sbrooks.include <bsd.prog.mk>
54