<$PLAN9/src/mkhdr

HFILES=\
	dat.h\
	fns.h\

OFILES=\
	alarm.$O\
	auth.$O\
	authkbd.$O\
	authpass.$O\
	authpk.$O\
	blob.$O\
	cert.$O\
	certsshdss.$O\
	certsshrsa.$O\
	cfg.$O\
	cipheraes.$O\
	cipherbf.$O\
	cipherdes.$O\
	cipher3des.$O\
	ciphernone.$O\
	cipherrc4.$O\
	conn.$O\
	connect.$O\
	dhgroup.$O\
	digest.$O\
	glob.$O\
	hmac.$O\
	hmacmd5.$O\
	hmacsha1.$O\
	kex.$O\
	kexdh.$O\
	kexdhgex.$O\
	key.$O\
	keyio.$O\
	list.$O\
	load.$O\
	msg.$O\
	proto.$O\
	release.$O\
	service.$O\
	transport.$O\
	util.$O\
	unix.$O\

TARG=\
	fmthex\
	gpimport\
	groupgen\
	keygen\
	keyprint\
	ssh

PROG=${TARG:%=$O.%}

LIB=libssh.a

<$PLAN9/src/mklib

all:V: $PROG

$O.%: %.$O $LIB
	$LD $LDFLAGS -o $target $prereq

