svn commit: r299464 - head/secure/lib/libcrypto

Ed Maste emaste at FreeBSD.org
Wed May 11 16:53:57 UTC 2016


Author: emaste
Date: Wed May 11 16:53:56 2016
New Revision: 299464
URL: https://svnweb.freebsd.org/changeset/base/299464

Log:
  libcrypto: add "Do not modify" comment to generated source files
  
  Reviewed by:	jkim
  Differential Revision:	https://reviews.freebsd.org/D6237

Modified:
  head/secure/lib/libcrypto/Makefile.asm

Modified: head/secure/lib/libcrypto/Makefile.asm
==============================================================================
--- head/secure/lib/libcrypto/Makefile.asm	Wed May 11 16:53:41 2016	(r299463)
+++ head/secure/lib/libcrypto/Makefile.asm	Wed May 11 16:53:56 2016	(r299464)
@@ -62,7 +62,9 @@ CLEANFILES+=	sha256-x86_64.cmt sha256-x8
 	( cd `dirname ${.IMPSRC}`/.. ; perl ${.IMPSRC} ${.OBJDIR}/${.TARGET} )
 
 .cmt.S:
-	( echo '	# $$'FreeBSD'$$'; cat ${.IMPSRC} ) > ${.TARGET}
+	( echo '	# $$'FreeBSD'$$' ;\
+	echo '	# Do not modify. This file is auto-generated.' ;\
+	cat ${.IMPSRC} ) > ${.TARGET}
 
 sha256-x86_64.cmt: sha512-x86_64.pl
 	( cd `dirname ${.ALLSRC}`/.. ; perl ${.ALLSRC} ${.OBJDIR}/${.TARGET} )
@@ -136,6 +138,7 @@ CLEANFILES+=	${SRCS:M*.pl:S/.pl$/.S/}
 
 .pl.S:
 	( echo '	# $$'FreeBSD'$$' ;\
+	echo '	# Do not modify. This file is auto-generated.' ;\
 	echo '#ifdef PIC' ;\
 	perl ${PERLPATH} ${.IMPSRC} elf ${CFLAGS} -fpic -DPIC ;\
 	echo '#else' ;\


More information about the svn-src-all mailing list