1147075Sbrooks# $OpenBSD: Makefile,v 1.9 2004/05/04 12:52:05 henning Exp $ 250476Speter# $FreeBSD: releng/10.2/sbin/dhclient/Makefile 264996 2014-04-27 01:15:10Z jmmv $ 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 34264996Sjmmv.include <bsd.own.mk> 35264996Sjmmv 36147075SbrooksSRCS= dhclient.c clparse.c alloc.c dispatch.c hash.c bpf.c options.c \ 37147075Sbrooks tree.c conflex.c errwarn.c inet.c packet.c convert.c tables.c \ 38147075Sbrooks parse.c privsep.c 3991306Smurray 40147075SbrooksPROG= dhclient 41147087SbrooksSCRIPTS=dhclient-script 42147596SruMAN= dhclient.8 dhclient.conf.5 dhclient.leases.5 dhcp-options.5 \ 43147596Sru dhclient-script.8 44226345SdesDPADD= ${LIBUTIL} 45226345SdesLDADD= -lutil 4691306Smurray 47198236SruWARNS?= 2 48198236Sru 49264996Sjmmv.if ${MK_TESTS} != "no" 50264996SjmmvSUBDIR+= tests 51264996Sjmmv.endif 52264996Sjmmv 53147075Sbrooks.include <bsd.prog.mk> 54