From owner-freebsd-current@FreeBSD.ORG Fri Feb 6 08:25:50 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6BA1316A4CE; Fri, 6 Feb 2004 08:25:50 -0800 (PST) Received: from harmony.village.org (rover.bsdimp.com [204.144.255.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id F41F143D31; Fri, 6 Feb 2004 08:25:46 -0800 (PST) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.12.10/8.12.9) with ESMTP id i16GPenJ041414; Fri, 6 Feb 2004 09:25:40 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Fri, 06 Feb 2004 09:25:34 -0700 (MST) Message-Id: <20040206.092534.35045949.imp@bsdimp.com> To: ru@freebsd.org From: "M. Warner Losh" In-Reply-To: <20040206162205.GC29305@FreeBSD.org.ua> References: <20040205.214341.11990356.imp@bsdimp.com> <20040207023229.L872@gamplex.bde.org> <20040206162205.GC29305@FreeBSD.org.ua> X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: current@freebsd.org Subject: Re: Very long SRCS list with unusually long src/ prefix X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Feb 2004 16:25:50 -0000 In message: <20040206162205.GC29305@FreeBSD.org.ua> Ruslan Ermilov writes: : + : +_mkdep_cS: ${DPSRCS:M*.[cS]:S/^/_mkdep_/} : +_mkdep_cc: ${DPSRCS:M*.cc:S/^/_mkdep_/} ${DPSRCS:M*.C:S/^/_mkdep_/} \ : + ${DPSRCS:M*.cpp:S/^/_mkdep_/} ${DPSRCS:M*.cxx:S/^/_mkdep_/} : +_mkdep_m: ${DPSRCS:M*.m:S/^/_mkdep_/} : +.for f in ${DPSRCS:M*.[cS]} ${DPSRCS:M*.cc} ${DPSRCS:M*.C} ${DPSRCS:M*.cpp} \ : + ${DPSRCS:M*.cxx} ${DPSRCS:M*.m} : +_mkdep_${f}: ${f} : + @echo ${.ALLSRC} : +.endfor : + I think this deserves a comment about why things are the way they are, possibly with a suggestion for doing some kind of built-in echo. Otherwise it looks good to me. Warner