1# Makefile 2# 3# Copyright (c) 2004 by Internet Systems Consortium, Inc. ("ISC") 4# Copyright (c) 1995-2003 by Internet Software Consortium 5# 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. 9# 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. 17# 18# Internet Systems Consortium, Inc. 19# 950 Charter Street 20# Redwood City, CA 94063 21# <info@isc.org> 22# http://www.isc.org/ 23# 24# This software has been written for Internet Systems Consortium 25# by Ted Lemon in cooperation with Vixie Enterprises and Nominum, Inc. 26# To learn more about Internet Systems Consortium, see 27# ``http://www.isc.org/''. To learn more about Vixie Enterprises, 28# see ``http://www.vix.com''. To learn more about Nominum, Inc., see 29# ``http://www.nominum.com''. 30 31all: 32 @sysname=`./configure --print-sysname`; \ 33 if [ ! -d work.$$sysname ]; then \ 34 echo No build directory for $$sysname - please run ./configure.; \ 35 else \ 36 (cd work.$$sysname; make all); \ 37 fi 38 39install: 40 @sysname=`./configure --print-sysname`; \ 41 if [ ! -d work.$$sysname ]; then \ 42 echo No build directory for $$sysname - please run ./configure.; \ 43 else \ 44 (cd work.$$sysname; make install); \ 45 fi 46 47depend: 48 @sysname=`./configure --print-sysname`; \ 49 if [ ! -d work.$$sysname ]; then \ 50 echo No build directory for $$sysname - please run ./configure.; \ 51 else \ 52 (cd work.$$sysname; make depend); \ 53 fi 54 55clean: 56 @sysname=`./configure --print-sysname`; \ 57 if [ ! -d work.$$sysname ]; then \ 58 echo No build directory for $$sysname - please run ./configure.; \ 59 else \ 60 (cd work.$$sysname; make clean); \ 61 fi 62 63realclean: 64 @sysname=`./configure --print-sysname`; \ 65 if [ ! -d work.$$sysname ]; then \ 66 echo No build directory for $$sysname - please run ./configure.; \ 67 else \ 68 (cd work.$$sysname; make realclean); \ 69 fi 70 71distclean: 72 @sysname=`./configure --print-sysname`; \ 73 if [ ! -d work.$$sysname ]; then \ 74 echo No build directory for $$sysname - please run ./configure.; \ 75 else \ 76 (cd work.$$sysname; make distclean); \ 77 fi 78 79links: 80 @sysname=`./configure --print-sysname`; \ 81 if [ ! -d work.$$sysname ]; then \ 82 echo No build directory for $$sysname - please run ./configure.; \ 83 else \ 84 (cd work.$$sysname; make links); \ 85 fi 86 87