Upgrade isc-dhcp, e.g. dhclient.
[dragonfly.git] / contrib / isc-dhcp / Makefile
1 # Makefile
2 #
3 # Copyright (c) 2002 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 Internet Software Consortium nor the names
16 #    of its 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,
21 # INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
22 # MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
23 # DISCLAIMED.  IN NO EVENT SHALL THE INTERNET SOFTWARE CONSORTIUM OR
24 # CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
25 # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
26 # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
27 # USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
28 # ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
29 # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
30 # OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
31 # SUCH DAMAGE.
32 #
33 # This software has been written for the Internet Software Consortium
34 # by Ted Lemon in cooperation with Vixie Enterprises and Nominum, Inc.
35 # To learn more about the Internet Software Consortium, see
36 # ``http://www.isc.org/''.  To learn more about Vixie Enterprises,
37 # see ``http://www.vix.com''.   To learn more about Nominum, Inc., see
38 # ``http://www.nominum.com''.
39 #
40
41 all:
42         @sysname=`./configure --print-sysname`; \
43          if [ ! -d work.$$sysname ]; then \
44            echo No build directory for $$sysname - please run ./configure.; \
45         else \
46            (cd work.$$sysname; make all); \
47         fi
48
49 install:
50         @sysname=`./configure --print-sysname`; \
51          if [ ! -d work.$$sysname ]; then \
52            echo No build directory for $$sysname - please run ./configure.; \
53         else \
54            (cd work.$$sysname; make install); \
55         fi
56
57 depend:
58         @sysname=`./configure --print-sysname`; \
59          if [ ! -d work.$$sysname ]; then \
60            echo No build directory for $$sysname - please run ./configure.; \
61         else \
62            (cd work.$$sysname; make depend); \
63         fi
64
65 clean:
66         @sysname=`./configure --print-sysname`; \
67          if [ ! -d work.$$sysname ]; then \
68            echo No build directory for $$sysname - please run ./configure.; \
69         else \
70            (cd work.$$sysname; make clean); \
71         fi
72
73 realclean:
74         @sysname=`./configure --print-sysname`; \
75          if [ ! -d work.$$sysname ]; then \
76            echo No build directory for $$sysname - please run ./configure.; \
77         else \
78            (cd work.$$sysname; make realclean); \
79         fi
80
81 distclean:
82         @sysname=`./configure --print-sysname`; \
83          if [ ! -d work.$$sysname ]; then \
84            echo No build directory for $$sysname - please run ./configure.; \
85         else \
86            (cd work.$$sysname; make distclean); \
87         fi
88
89 links:
90         @sysname=`./configure --print-sysname`; \
91          if [ ! -d work.$$sysname ]; then \
92            echo No build directory for $$sysname - please run ./configure.; \
93         else \
94            (cd work.$$sysname; make links); \
95         fi
96