diff options
author | kris <kris@FreeBSD.org> | 2000-04-13 07:37:35 +0000 |
---|---|---|
committer | kris <kris@FreeBSD.org> | 2000-04-13 07:37:35 +0000 |
commit | ec2fce6561acc24cb60670f6f4601e0c29f5f3fa (patch) | |
tree | 94e6e7ec17a8f3ec05eed7acdf199968cbd2bd8a /secure/lib/libcrypto/Makefile.inc | |
parent | 4e4529727ed9af5fe3f6bb398c0e80c1d6ff2368 (diff) | |
download | FreeBSD-src-ec2fce6561acc24cb60670f6f4601e0c29f5f3fa.zip FreeBSD-src-ec2fce6561acc24cb60670f6f4601e0c29f5f3fa.tar.gz |
Update for OpenSSL 0.9.5a and clean up a bit.
Diffstat (limited to 'secure/lib/libcrypto/Makefile.inc')
-rw-r--r-- | secure/lib/libcrypto/Makefile.inc | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/secure/lib/libcrypto/Makefile.inc b/secure/lib/libcrypto/Makefile.inc index 6391c68..02db4b5 100644 --- a/secure/lib/libcrypto/Makefile.inc +++ b/secure/lib/libcrypto/Makefile.inc @@ -14,3 +14,26 @@ CFLAGS+= -DDEVRANDOM=\"/dev/urandom\" .endif WITH_RSA?= YES + +SRCS+= buildinf.h +CLEANFILES+= buildinf.h +CLEANDIRS+= openssl + +# this bogus dependency was the easiest way to get the openssl/ +# directory populated +buildinf.h: openssl/opensslconf.h openssl/headers-copied + ( echo "#ifndef MK1MF_BUILD"; \ + echo " /* auto-generated by crypto/Makefile.ssl for crypto/cversion.c */"; \ + echo " #define CFLAGS \"$(CC)\""; \ + echo " #define PLATFORM \"`uname -s`-`uname -m`\""; \ + echo " #define DATE \"`date`\""; \ + echo "#endif" ) > ${.TARGET} + +openssl/opensslconf.h: ../libcrypto/opensslconf-${MACHINE_ARCH}.h + @test -d openssl || mkdir -p openssl + cp ${.OODATE} ${.TARGET} + +openssl/headers-copied: + @test -d openssl || mkdir -p openssl + ${INSTALL} ${COPY} -m 444 ${CRYPTO_HDRS} ${EXTRA_HDRS} openssl + @touch ${.TARGET} |