The first a bug in pax and should be commited to FBSD, too.
[dragonfly.git] / contrib / isc-dhcp / Makefile.dist
1 # Makefile.dist
2 #
3 # Copyright (c) 1996-2002 Internet Software Consortium.
4 # Use is subject to license terms which appear in the file named
5 # ISC-LICENSE that should have accompanied this file when you
6 # received it.   If a file named ISC-LICENSE did not accompany this
7 # file, or you are not sure the one you have is correct, you may
8 # obtain an applicable copy of the license at:
9 #
10 #             http://www.isc.org/isc-license-1.0.html. 
11 #
12 # This file is part of the ISC DHCP distribution.   The documentation
13 # associated with this file is listed in the file DOCUMENTATION,
14 # included in the top-level directory of this release.
15 #
16 # Support and other services are available for ISC products - see
17 # http://www.isc.org for more information.
18 #
19
20 SUBDIRS=        common $(MINIRES) dst omapip server client relay dhcpctl
21
22 all:
23         @for dir in ${SUBDIRS}; do \
24                 echo "Making all in $$dir"; \
25                 (cd $$dir; $(MAKE) all) || exit 1; \
26          done
27
28 install:
29         @for dir in ${SUBDIRS}; do \
30                 echo "Installing in $$dir"; \
31                 (cd $$dir; $(MAKE) install) || exit 1; \
32          done
33
34 depend:
35         @for dir in ${SUBDIRS}; do \
36                 echo "Making dependencies in $$dir"; \
37                 (cd $$dir; $(MAKE) depend) || exit 1; \
38          done
39
40 clean:
41         @for dir in ${SUBDIRS}; do \
42                 echo "Cleaning in $$dir"; \
43                 (cd $$dir; $(MAKE) clean) || exit 1; \
44          done
45
46 realclean:
47         @for dir in ${SUBDIRS}; do \
48                 echo "Really cleaning in $$dir"; \
49                 (cd $$dir; $(MAKE) realclean) || exit 1; \
50          done
51
52 distclean:
53         @for dir in ${SUBDIRS}; do \
54                 echo "Really, really cleaning in $$dir"; \
55                 (cd $$dir; $(MAKE) distclean) || exit 1; \
56          done
57         @rm -f Makefile
58
59 links:
60         @for dir in ${SUBDIRS}; do \
61                 echo "Making links in $$dir"; \
62                 (cd $$dir; $(MAKE) links) || exit 1; \
63          done