# Make file for xntp 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 xntp directory."
	@(cd lib; ${MAKE} clean)
	@(cd xntpd; ${MAKE} clean)
	@(cd ntpq; ${MAKE} clean)
	@(cd ntpdate; ${MAKE} clean)
	@(cd authstuff; ${MAKE} clean)

build: 
	@echo "Building the xntp directory."
	@(cd lib; ${MAKE} build)
	@(cd xntpd; ${MAKE} build)
	@(cd ntpq; ${MAKE} build)
	@(cd ntpdate; ${MAKE} build)
	@(cd authstuff; ${MAKE} build)

install:
	@echo "Installing the xntp directory."
	@(cd lib; ${MAKE} install)
	@(cd xntpd; ${MAKE} install)
	@(cd ntpq; ${MAKE} install)
	@(cd ntpdate; ${MAKE} install)
	@(cd authstuff; ${MAKE} install)
