Plan 9 from Bell Labs’s /usr/web/sources/patch/applied/unbreak_rsatest/mkfile

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


</$objtype/mkfile

LIB=/$objtype/lib/libsec.a

CFILES = des.c desmodes.c desECB.c desCBC.c des3ECB.c des3CBC.c\
	aes.c blowfish.c \
	hmac.c md5.c md5block.c md4.c sha1.c sha1block.c\
	sha1pickle.c md5pickle.c\
	rc4.c\
	genrandom.c prng.c fastrand.c nfastrand.c\
	probably_prime.c smallprimetest.c genprime.c dsaprimes.c gensafeprime.c genstrongprime.c\
	rsagen.c rsafill.c rsaencrypt.c rsadecrypt.c rsaalloc.c rsaprivtopub.c x509.c decodepem.c \
	eggen.c egencrypt.c egdecrypt.c egalloc.c egprivtopub.c egsign.c egverify.c \
	dsagen.c dsaalloc.c dsaprivtopub.c dsasign.c dsaverify.c \
	tlshand.c thumb.c readcert.c \

ALLOFILES=${CFILES:%.c=%.$O}

# cull things in the per-machine directories from this list
OFILES=	`{rc ./reduce $O $objtype $ALLOFILES}

HFILES=/sys/include/libsec.h

CFLAGS=$CFLAGS -I../../libmp/port

UPDATE=mkfile\
	$HFILES\
	$CFILES\

rsatest: rsatest.c
	$CC $CFLAGS  rsatest.c
	$LD -o rsatest rsatest.$O

</sys/src/cmd/mksyslib

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.