Plan 9 from Bell Labs’s /usr/web/sources/contrib/yk/root/sys/src/cmd/rd/opt.rc

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


#!/bin/rc
if(! ~ $#PLAN9 0) {
	# plan9port
	echo '<$PLAN9/src/mkhdr'
	echo 'MKONE=$PLAN9/src/mkone'
	echo 'TLSFILE=tlsp9p'
	echo 'BIN=$PLAN9/bin'
	# OpenSSL for tlsp9p.c
	echo 'CFLAGS=' `{pkg-config --cflags-only-I openssl}
	echo 'LDFLAGS=' `{pkg-config --libs openssl}
} 
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'
}

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to webmaster@9p.io.