# 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 libc directory."
	@(cd net; ${MAKE} clean)
	@(cd rpc; ${MAKE} clean)
	@(cd yp; ${MAKE} clean)

build: 
	@echo "Building the libc directory."
	@(cd net; ${MAKE} build)
	@(cd rpc; ${MAKE} build)
	@(cd yp; ${MAKE} build)

install:
	@echo "Installing the libc directory."
	@(cd net; ${MAKE} install)
	@(cd rpc; ${MAKE} install)
	@(cd yp; ${MAKE} install)
