svn commit: r338935 - projects/openssl111/secure/lib/libcrypto

Jung-uk Kim jkim at FreeBSD.org
Tue Sep 25 22:15:48 UTC 2018


Author: jkim
Date: Tue Sep 25 22:15:47 2018
New Revision: 338935
URL: https://svnweb.freebsd.org/changeset/base/338935

Log:
  Make it more meta mode friendly.

Modified:
  projects/openssl111/secure/lib/libcrypto/Makefile

Modified: projects/openssl111/secure/lib/libcrypto/Makefile
==============================================================================
--- projects/openssl111/secure/lib/libcrypto/Makefile	Tue Sep 25 22:14:52 2018	(r338934)
+++ projects/openssl111/secure/lib/libcrypto/Makefile	Tue Sep 25 22:15:47 2018	(r338935)
@@ -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})


More information about the svn-src-projects mailing list