#!/bin/sh
# Make the binary-distribution files (tar and/or cpio) for the SNMP agents on
# each of a list of machines.

for m in cv hp pmax sg sparc sun386 vax
do	echo Machine: $m
	if [ -d /usr/nm/src_$m/agent ];then
		cd /usr/nm/src_$m/agent
		make clean
		make bindist
		cd ..
		compress *.tar &
	else
		echo No directory /usr/nm/src/$m/agent
	fi
done
wait
