summaryrefslogtreecommitdiffstats
path: root/secure/lib
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2000-01-20 07:24:40 +0000
committerkris <kris@FreeBSD.org>2000-01-20 07:24:40 +0000
commit3698c50454ec3b635d3d4fd2398f3c45bcfb6fb0 (patch)
tree29228ad6bd6fb5f9bc3258235b34860d6adb5d02 /secure/lib
parent4e884c480a19cc6a6050ee1e47f54fbc3cab11a0 (diff)
downloadFreeBSD-src-3698c50454ec3b635d3d4fd2398f3c45bcfb6fb0.zip
FreeBSD-src-3698c50454ec3b635d3d4fd2398f3c45bcfb6fb0.tar.gz
Build infrastructure for libRSAglue, required for compatability with
ports even though it doesn't seem to do anything which requires it to be separate from libcrypto.
Diffstat (limited to 'secure/lib')
-rw-r--r--secure/lib/librsaglue/Makefile48
1 files changed, 48 insertions, 0 deletions
diff --git a/secure/lib/librsaglue/Makefile b/secure/lib/librsaglue/Makefile
new file mode 100644
index 0000000..b374e6b
--- /dev/null
+++ b/secure/lib/librsaglue/Makefile
@@ -0,0 +1,48 @@
+# $FreeBSD$
+
+.include "../libcrypto/Makefile.inc"
+
+MAINTAINER= kris
+
+.if defined(RSAREF) && ${RSAREF} == YES
+LIB= RSAglue
+SHLIB_MAJOR= 1
+
+CFLAGS+= -I${.OBJDIR}
+
+# rsaref
+SRCS+= rsar_err.c rsaref.c
+
+HDRS= asn1/asn1.h asn1/asn1_mac.h bio/bio.h bf/blowfish.h bn/bn.h \
+ buffer/buffer.h cast/cast.h comp/comp.h conf/conf.h crypto.h \
+ des/des.h dh/dh.h dsa/dsa.h ../e_os.h ../e_os2.h ebcdic.h \
+ err/err.h evp/evp.h hmac/hmac.h lhash/lhash.h md2/md2.h \
+ md5/md5.h mdc2/mdc2.h objects/objects.h opensslv.h pem/pem.h \
+ pem/pem2.h pkcs12/pkcs12.h pkcs7/pkcs7.h rand/rand.h rc2/rc2.h \
+ rc4/rc4.h rc5/rc5.h ripemd/ripemd.h rsa/rsa.h ../rsaref/rsaref.h \
+ stack/safestack.h sha/sha.h stack/stack.h tmdiff.h txt_db/txt_db.h \
+ x509/x509.h x509/x509_vfy.h x509v3/x509v3.h
+
+beforedepend: headers ${.OBJDIR}/openssl/opensslconf.h
+
+DPADD+= ${.OBJDIR}/openssl/opensslconf.h
+
+CLEANDIRS+= ${.OBJDIR}/openssl
+
+${.OBJDIR}/openssl/opensslconf.h: ../libcrypto/opensslconf-${MACHINE_ARCH}.h
+ @test -d ${.OBJDIR}/openssl || mkdir -p ${.OBJDIR}/openssl; \
+ cp ${.OODATE} ${.TARGET}
+
+headers:
+ @test -d ${.OBJDIR}/openssl || mkdir -p ${.OBJDIR}/openssl; \
+ for i in ${HDRS}; do \
+ ${INSTALL} ${COPY} -m 444 ${LCRYPTO_SRC}/$$i \
+ ${.OBJDIR}/openssl; \
+ done
+
+.PATH: ${LCRYPTO_SRC}/../rsaref
+
+.include <bsd.lib.mk>
+.else
+.include <bsd.prog.mk>
+.endif
OpenPOWER on IntegriCloud