summaryrefslogtreecommitdiffstats
path: root/secure
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2002-09-19 13:24:27 +0000
committerru <ru@FreeBSD.org>2002-09-19 13:24:27 +0000
commit38695c19fde9598c887707063c968842a2395e6c (patch)
treef99beea3e9178a4f3b7d3c40d45ea3e8f95d5b52 /secure
parent7ac6b7a75ff640960e73fbb7741c55409540e5f0 (diff)
downloadFreeBSD-src-38695c19fde9598c887707063c968842a2395e6c.zip
FreeBSD-src-38695c19fde9598c887707063c968842a2395e6c.tar.gz
Added the missing dependencies for openssl/ headers.
Diffstat (limited to 'secure')
-rw-r--r--secure/lib/libcrypto/Makefile.inc12
1 files changed, 7 insertions, 5 deletions
diff --git a/secure/lib/libcrypto/Makefile.inc b/secure/lib/libcrypto/Makefile.inc
index 352d915..c719a94 100644
--- a/secure/lib/libcrypto/Makefile.inc
+++ b/secure/lib/libcrypto/Makefile.inc
@@ -41,14 +41,9 @@ buildinf.h:
echo " #define DATE \"`LC_ALL=C date`\""; \
echo "#endif" ) > ${.TARGET}
-# XXX: The openssl/ dependencies are not correct, in that a change in
-# any of ${HDRS} ${EXTRA_HDRS} will no repopulate openssl/.
-# This deficiency will be fixed in a later commit.
-
openssl/opensslconf.h: ../libcrypto/opensslconf-${MACHINE_ARCH}.h
mkdir -p openssl
cp ${.OODATE} ${.TARGET}
- ${INSTALL} -C -m 444 ${HDRS:S;^;${LCRYPTO_SRC}/;} ${EXTRA_HDRS} openssl
openssl/evp.h: ${LCRYPTO_SRC}/evp/evp.h
mkdir -p openssl
@@ -57,3 +52,10 @@ openssl/evp.h: ${LCRYPTO_SRC}/evp/evp.h
.else
${INSTALL} -C -m 444 ${.OODATE} ${.TARGET}
.endif
+
+SRCS+= ${HDRS:T:S;^;openssl/;} ${EXTRA_HDRS:T:S;^;openssl/;}
+.for h in ${HDRS:S/^/${LCRYPTO_SRC}\//} ${EXTRA_HDRS}
+openssl/${h:T}: ${h}
+ mkdir -p openssl
+ ${INSTALL} -C -m 444 ${h} openssl
+.endfor
OpenPOWER on IntegriCloud