svn commit: r326551 - head/share/mk

Bryan Drewery bdrewery at FreeBSD.org
Tue Dec 5 02:23:31 UTC 2017


Author: bdrewery
Date: Tue Dec  5 02:23:30 2017
New Revision: 326551
URL: https://svnweb.freebsd.org/changeset/base/326551

Log:
  Allow Makefiles to append to DEPENDSRCS.
  
  Sponsored by:	Dell EMC

Modified:
  head/share/mk/bsd.dep.mk

Modified: head/share/mk/bsd.dep.mk
==============================================================================
--- head/share/mk/bsd.dep.mk	Tue Dec  5 02:23:27 2017	(r326550)
+++ head/share/mk/bsd.dep.mk	Tue Dec  5 02:23:30 2017	(r326551)
@@ -178,7 +178,7 @@ DEPEND_MP?=	-MP
 # Handle OBJS=../somefile.o hacks.  Just replace '/' rather than use :T to
 # avoid collisions.
 DEPEND_FILTER=	C,/,_,g
-DEPENDSRCS=	${SRCS:M*.[cSC]} ${SRCS:M*.cxx} ${SRCS:M*.cpp} ${SRCS:M*.cc}
+DEPENDSRCS+=	${SRCS:M*.[cSC]} ${SRCS:M*.cxx} ${SRCS:M*.cpp} ${SRCS:M*.cc}
 .if !empty(DEPENDSRCS)
 DEPENDOBJS+=	${DEPENDSRCS:${OBJS_SRCS_FILTER:ts:}:S,$,.o,}
 .endif


More information about the svn-src-head mailing list