shithub: rd

ref: 44f2bd70a5a90701151ad61b437dfd49aed13099
dir: /opt.rc/

View raw version
#!/bin/rc

if(! ~ $#PLAN9 0) {
	# plan9port
	echo '<$PLAN9/src/mkhdr'
	echo 'MKONE=$PLAN9/src/mkone'
	echo 'TLSFILE=tlsp9p'
	echo 'BIN=$PLAN9/bin'
} 
if not {
	echo '</$objtype/mkfile'
	echo 'MKONE=/sys/src/cmd/mkone'
	echo 'BIN=/$objtype/bin'

	# 9front differs in initThumbprints signature/usage 
	if(~ `{grep initThumbprints /sys/include/libsec.h | wc -w} 7)
		echo 'TLSFILE=tls9f'
	if not
		echo 'TLSFILE=tls'
}