home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 35 Internet / 35-Internet.zip / bind494s.zip / include / Makefile next >
Makefile  |  1995-08-20  |  3KB  |  75 lines

  1. # ++Copyright++ 1993
  2. # -
  3. # Copyright (c) 
  4. #    The Regents of the University of California.  All rights reserved.
  5. # Redistribution and use in source and binary forms, with or without
  6. # modification, are permitted provided that the following conditions
  7. # are met:
  8. # 1. Redistributions of source code must retain the above copyright
  9. #    notice, this list of conditions and the following disclaimer.
  10. # 2. Redistributions in binary form must reproduce the above copyright
  11. #    notice, this list of conditions and the following disclaimer in the
  12. #    documentation and/or other materials provided with the distribution.
  13. # 3. All advertising materials mentioning features or use of this software
  14. #    must display the following acknowledgement:
  15. #     This product includes software developed by the University of
  16. #     California, Berkeley and its contributors.
  17. # 4. Neither the name of the University nor the names of its contributors
  18. #    may be used to endorse or promote products derived from this software
  19. #    without specific prior written permission.
  20. # THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  21. # ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  22. # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  23. # ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  24. # FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  25. # DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  26. # OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  27. # HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  28. # LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  29. # OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  30. # SUCH DAMAGE.
  31. # -
  32. # Portions Copyright (c) 1993 by Digital Equipment Corporation.
  33. # Permission to use, copy, modify, and distribute this software for any
  34. # purpose with or without fee is hereby granted, provided that the above
  35. # copyright notice and this permission notice appear in all copies, and that
  36. # the name of Digital Equipment Corporation not be used in advertising or
  37. # publicity pertaining to distribution of the document or software without
  38. # specific, written prior permission.
  39. # THE SOFTWARE IS PROVIDED "AS IS" AND DIGITAL EQUIPMENT CORP. DISCLAIMS ALL
  40. # WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES
  41. # OF MERCHANTABILITY AND FITNESS.   IN NO EVENT SHALL DIGITAL EQUIPMENT
  42. # CORPORATION BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
  43. # DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
  44. # PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS
  45. # ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
  46. # SOFTWARE.
  47. # -
  48. # --Copyright--
  49.  
  50. SUBDIRS = arpa
  51. HFILES = netdb.h resolv.h
  52.  
  53. DESTDIR=
  54. DESTINC= /usr/include
  55.  
  56. MARGS= DESTDIR="${DESTDIR}" DESTINC="${DESTINC}" INSTALL="${INSTALL}" \
  57.     MAKE="${MAKE}"
  58.  
  59. all depend clean install::
  60.     @for x in ${SUBDIRS}; do \
  61.         (cd $$x; pwd; ${MAKE} ${MARGS} $@); \
  62.     done
  63.  
  64. clean::
  65.     rm -f *~ *.BAK *.CKP *.orig
  66.  
  67. install::
  68.     @set -x; for x in ${HFILES}; do \
  69.         ${INSTALL} -c -m 444 $$x ${DESTDIR}${DESTINC}/$$x; \
  70.     done
  71.