1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-29 12:03:03 +00:00

Added the missing dependencies for openssl/ headers.

This commit is contained in:
Ruslan Ermilov 2002-09-19 13:24:27 +00:00
parent 888371485b
commit cbf5496382
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=103635

View File

@ -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