</$objtype/mkfile

CC=pcc
CFLAGS=-cB -I. -I.. -I../include -I../zlib -I../openssl-0.9.8d/include -D_POSIX_SOURCE -D_SUSV2_SOURCE -D_BSD_EXTENSION -DDEBUG_CRYPTO

LIB=libssh.a$O

# first row imported from rsync

OFILES= \
	auth.$O \
	auth1.$O \
	base64.$O \
	buffer.$O \
	channels.$O \
	channels1.$O \
	client.$O \
	connect.$O \
	crc32.$O \
	crypt.$O \
	dh.$O \
	error.$O \
	gcrypt_missing.$O \
	getaddrinfo.$O\
	gzip.$O \
	inet_pton.$O\
	init.$O\
	kex.$O \
	keyfiles.$O \
	keys.$O \
	messages.$O \
	misc.$O \
	options.$O\
	packet.$O\
	session.$O\
	server.$O\
	sftp.$O\
	sftpserver.$O\
	string.$O\
	wrapper.$O\
	getpass.$O\
	herr.$O\

HFILES=libc.h\
	auth.h\

</sys/src/cmd/mklib

#getpass.$O: getpass.c
#	$CC -D_PLAN9_SOURCE -D_POSIX_SOURCE getpass.c



install:V:	$LIB
	date

$LIB:	$LIBOBJ
	ar vu $LIB $OFILES

clean:V:
	rm -f *.[$OS] *.a[$OS]
