diff options
author | Jung-uk Kim <jkim@FreeBSD.org> | 2018-09-25 22:15:47 +0000 |
---|---|---|
committer | Jung-uk Kim <jkim@FreeBSD.org> | 2018-09-25 22:15:47 +0000 |
commit | 8f1d871786b2523cd44a5e75a441e1d821d81584 (patch) | |
tree | cbe2559fa4060d0bb76c7ed557537ff4c9994f5f /secure/lib | |
parent | 4552330800aaa342416e7531e0c9e3a2f1c7e1b9 (diff) | |
download | src-test-8f1d871786b2523cd44a5e75a441e1d821d81584.tar.gz src-test-8f1d871786b2523cd44a5e75a441e1d821d81584.zip |
Make it more meta mode friendly.
Notes
Notes:
svn path=/projects/openssl111/; revision=338935
Diffstat (limited to 'secure/lib')
-rw-r--r-- | secure/lib/libcrypto/Makefile | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/secure/lib/libcrypto/Makefile b/secure/lib/libcrypto/Makefile index 7eb3489f24079..564c031930c98 100644 --- a/secure/lib/libcrypto/Makefile +++ b/secure/lib/libcrypto/Makefile @@ -425,7 +425,7 @@ CFLAGS+= -I${.OBJDIR} ACFLAGS+= -Wa,--noexecstack .endif -SRCS+= buildinf.h openssl/opensslconf.h +SRCS+= buildinf.h CLEANDIRS= openssl CLEANFILES= buildinf.h opensslconf.h opensslconf.h.tmp @@ -440,9 +440,12 @@ buildinf.h: echo "static const char compiler_flags[] = \"compiler: ${COMPILER_TYPE}\";" ) \ > ${.TARGET} -openssl/opensslconf.h: opensslconf.h +beforedepend: openssl_opensslconf.h +beforebuild: openssl_opensslconf.h + +openssl_opensslconf.h: opensslconf.h mkdir -p openssl - ln -fs ${.OBJDIR}/${.ALLSRC} ${.TARGET} + ln -fs ${.OBJDIR}/${.ALLSRC} openssl/${.ALLSRC} opensslconf.h: opensslconf.h.in .if defined(ASM_${MACHINE_CPUARCH}) |