Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Nov 2015 22:40:14 +0000 (UTC)
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r291340 - head/share/mk
Message-ID:  <201511252240.tAPMeEe4054807@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bdrewery
Date: Wed Nov 25 22:40:14 2015
New Revision: 291340
URL: https://svnweb.freebsd.org/changeset/base/291340

Log:
  Follow-up r291338 to handle .d, .y and .l files better as well.
  
  X-MFC-With:	r291338
  MFC after:	2 weeks
  Sponsored by:	EMC / Isilon Storage Division

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

Modified: head/share/mk/bsd.progs.mk
==============================================================================
--- head/share/mk/bsd.progs.mk	Wed Nov 25 22:33:25 2015	(r291339)
+++ head/share/mk/bsd.progs.mk	Wed Nov 25 22:40:14 2015	(r291340)
@@ -102,9 +102,9 @@ _PROGS_ALL_SRCS+=	${s}
 .endfor
 .endfor
 .if !empty(_PROGS_COMMON_SRCS)
-_PROGS_COMMON_OBJS=	${_PROGS_COMMON_SRCS:M*.h}
-.if !empty(_PROGS_COMMON_SRCS:N*.h)
-_PROGS_COMMON_OBJS+=	${_PROGS_COMMON_SRCS:N*.h:R:S/$/.o/g}
+_PROGS_COMMON_OBJS=	${_PROGS_COMMON_SRCS:M*.[dhly]}
+.if !empty(_PROGS_COMMON_SRCS:N*.[dhly])
+_PROGS_COMMON_OBJS+=	${_PROGS_COMMON_SRCS:N*.[dhly]:R:S/$/.o/g}
 .endif
 ${PROGS}: ${_PROGS_COMMON_OBJS}
 .endif



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201511252240.tAPMeEe4054807>