summaryrefslogtreecommitdiffstats
path: root/secure/lib/libcrypto/Makefile.inc
diff options
context:
space:
mode:
authorgreen <green@FreeBSD.org>2000-08-24 19:06:55 +0000
committergreen <green@FreeBSD.org>2000-08-24 19:06:55 +0000
commit37ca913ab79bb21bd9498f196b06c7fb58f7dc65 (patch)
tree46bba6ce5a585df1b7a714bfe7f37f33dbb808eb /secure/lib/libcrypto/Makefile.inc
parent2aff7a5e803e4bc8da3286b4fee7d3b5a2b9956f (diff)
downloadFreeBSD-src-37ca913ab79bb21bd9498f196b06c7fb58f7dc65.zip
FreeBSD-src-37ca913ab79bb21bd9498f196b06c7fb58f7dc65.tar.gz
Make the temporary file _evp.h instead of evp.h to not conflict with
the real evp.h. Reported by: markm
Diffstat (limited to 'secure/lib/libcrypto/Makefile.inc')
-rw-r--r--secure/lib/libcrypto/Makefile.inc8
1 files changed, 5 insertions, 3 deletions
diff --git a/secure/lib/libcrypto/Makefile.inc b/secure/lib/libcrypto/Makefile.inc
index 4cbefc5..71a078a 100644
--- a/secure/lib/libcrypto/Makefile.inc
+++ b/secure/lib/libcrypto/Makefile.inc
@@ -15,8 +15,8 @@ CFLAGS+= -DL_ENDIAN
WITH_RSA?= YES
-SRCS+= buildinf.h openssl/opensslconf.h openssl/evp.h
-CLEANFILES+= buildinf.h openssl/opensslconf.h openssl/evp.h
+SRCS+= buildinf.h openssl/opensslconf.h openssl/_evp.h
+CLEANFILES+= buildinf.h openssl/opensslconf.h openssl/_evp.h
CLEANDIRS+= openssl
buildinf.h:
@@ -31,10 +31,12 @@ buildinf.h:
# any of ${CRYPTO_HDRS} ${EXTRA_HDRS} will no repopulate openssl/.
# This deficiency will be fixed in a later commit.
+.ORDER: openssl/opensslconf.h openssl/_evp.h
+
openssl/opensslconf.h: ../libcrypto/opensslconf-${MACHINE_ARCH}.h
mkdir -p openssl
cp ${.OODATE} ${.TARGET}
${INSTALL} ${COPY} -m 444 ${CRYPTO_HDRS} ${EXTRA_HDRS} openssl
-openssl/evp.h: ${LCRYPTO_SRC}/evp/evp.h
+openssl/_evp.h: ${LCRYPTO_SRC}/evp/evp.h
sed '/^#ifndef NO_IDEA$$/,/^#endif$$/d' ${.OODATE} > ${.TARGET}
OpenPOWER on IntegriCloud