Plan 9 from Bell Labs’s /usr/web/sources/plan9/sys/src/cmd/ssh1/mkfile

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


</$objtype/mkfile

HFILES=ssh.h

TARG=\
	scp\
	ssh1\
	sshnet\
	sshserve\

AUTHOFILES=\
	authpasswd.$O\
	authrsa.$O\
	authtis.$O\

AUTHSRVOFILES=\
	authsrvpasswd.$O\
	authsrvtis.$O\

CIPHEROFILES=\
	cipher3des.$O\
	cipherblowfish.$O\
	cipherdes.$O\
	ciphernone.$O\
	cipherrc4.$O\
	ciphertwiddle.$O\

OFILES=\
	msg.$O\
	util.$O\

BIN=/$objtype/bin

UPDATE=\
	mkfile\
	agent.c\
	cmsg.c\
	smsg.c\
	pubkey.c\
	$HFILES\
	${OFILES:%.$O=%.c}\
	${AUTHOFILES:%.$O=%.c}\
	${AUTHSRVOFILES:%.$O=%.c}\
	${CIPHEROFILES:%.$O=%.c}\
	${TARG:%=%.c}\

</sys/src/cmd/mkmany

$O.ssh1: \
	$AUTHOFILES\
	$CIPHEROFILES\
	agent.$O\
	cmsg.$O\
	pubkey.$O\

$O.sshserve: \
	$AUTHSRVOFILES\
	$CIPHEROFILES\
	smsg.$O\

$O.sshnet: \
	$AUTHOFILES\
	$CIPHEROFILES\
	cmsg.$O\
	pubkey.$O\

$BIN/sshserve:VQ: $BIN/aux/sshserve
	;

$BIN/aux/sshserve: $O.sshserve
	cp $O.sshserve $BIN/aux/sshserve

$BIN/aux/ssh_genkey: $O.ssh_genkey
	cp $O.ssh_genkey $BIN/aux/ssh_genkey

sshserve.safeinstall:
	test -e $BIN/aux/sshserve && mv $BIN/aux/sshserve $BIN/aux/_sshserve
	mk sshserve.install

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to [email protected].