Reduce amount of macro magic. Use the same special characters as nroff
[netbsd-mini2440.git] / dist / dhcp / Makefile.dist
blob21cc4dbb84b5c80bfcb347167c6aa5087efc5992
1 # Makefile.dist
3 # Copyright (c) 2004 by Internet Systems Consortium, Inc. ("ISC")
4 # Copyright (c) 1995-2003 by Internet Software Consortium
6 # Permission to use, copy, modify, and distribute this software for any
7 # purpose with or without fee is hereby granted, provided that the above
8 # copyright notice and this permission notice appear in all copies.
10 # THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES
11 # WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
12 # MERCHANTABILITY AND FITNESS.  IN NO EVENT SHALL ISC BE LIABLE FOR
13 # ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
14 # WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
15 # ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
16 # OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
18 #   Internet Systems Consortium, Inc.
19 #   950 Charter Street
20 #   Redwood City, CA 94063
21 #   <info@isc.org>
22 #   http://www.isc.org/
25 SUBDIRS=        common $(MINIRES) dst omapip server client relay dhcpctl
27 all:
28         @for dir in ${SUBDIRS}; do \
29                 echo "Making all in $$dir"; \
30                 (cd $$dir; $(MAKE) all) || exit 1; \
31          done
33 install:
34         @for dir in ${SUBDIRS}; do \
35                 echo "Installing in $$dir"; \
36                 (cd $$dir; $(MAKE) install) || exit 1; \
37          done
39 depend:
40         @for dir in ${SUBDIRS}; do \
41                 echo "Making dependencies in $$dir"; \
42                 (cd $$dir; $(MAKE) depend) || exit 1; \
43          done
45 clean:
46         @for dir in ${SUBDIRS}; do \
47                 echo "Cleaning in $$dir"; \
48                 (cd $$dir; $(MAKE) clean) || exit 1; \
49          done
51 realclean:
52         @for dir in ${SUBDIRS}; do \
53                 echo "Really cleaning in $$dir"; \
54                 (cd $$dir; $(MAKE) realclean) || exit 1; \
55          done
57 distclean:
58         @for dir in ${SUBDIRS}; do \
59                 echo "Really, really cleaning in $$dir"; \
60                 (cd $$dir; $(MAKE) distclean) || exit 1; \
61          done
62         @rm -f Makefile
64 links:
65         @for dir in ${SUBDIRS}; do \
66                 echo "Making links in $$dir"; \
67                 (cd $$dir; $(MAKE) links) || exit 1; \
68          done