# Make file for bind directory
#
# Things you might want to change.  Pass them in on the command line:
# ROOT - should point to the root where the commands will be installed
#        (e.g. /deliver/INETSVCS/indnetwk)

ROOT=

MKFLAGS=ROOT=${ROOT}

MAKE=/usr/ccs/bin/make ${MKFLAGS}

default: all

all: clean build install

clean:
	@(echo "Cleaning the bind directory.")
	@(cd res; ${MAKE} clean)
	@(cd named; ${MAKE} clean)
	@(cd tools; ${MAKE} clean)
	@(cd newconfig; ${MAKE} clean)

build: 
	@(echo "Building the bind components.")
	@(cd res; ${MAKE} build)
	@(cd named; ${MAKE} build)
	@(cd tools; ${MAKE} build)
	@(cd newconfig; ${MAKE} build)

install:
	@(echo "Installing the bind deliverables.")
	@(cd res; ${MAKE} install)
	@(cd named; ${MAKE} install)
	@(cd tools; ${MAKE} install)
	@(cd newconfig; ${MAKE} install)
