Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/share/mk be consistent when adding *.y and *.l to DPSRCS
details: https://anonhg.NetBSD.org/src/rev/778a6fe03b06
branches: trunk
changeset: 550054:778a6fe03b06
user: lukem <lukem%NetBSD.org@localhost>
date: Mon Jul 28 23:54:24 2003 +0000
description:
be consistent when adding *.y and *.l to DPSRCS
diffstat:
share/mk/bsd.hostlib.mk | 4 ++--
share/mk/bsd.hostprog.mk | 4 ++--
share/mk/bsd.lib.mk | 4 ++--
share/mk/bsd.prog.mk | 4 ++--
4 files changed, 8 insertions(+), 8 deletions(-)
diffs (72 lines):
diff -r 59072f37daeb -r 778a6fe03b06 share/mk/bsd.hostlib.mk
--- a/share/mk/bsd.hostlib.mk Mon Jul 28 23:35:20 2003 +0000
+++ b/share/mk/bsd.hostlib.mk Mon Jul 28 23:54:24 2003 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.hostlib.mk,v 1.4 2003/06/11 04:56:58 msaitoh Exp $
+# $NetBSD: bsd.hostlib.mk,v 1.5 2003/07/28 23:54:24 lukem Exp $
.include <bsd.init.mk>
.include <bsd.sys.mk>
@@ -20,7 +20,7 @@
##### Build rules
.if defined(HOSTLIB)
-DPSRCS+= ${SRCS:M*.[ly]:C/\..$/.c/}
+DPSRCS+= ${SRCS:M*.l:.l=.c} ${SRCS:M*.y:.y=.c}
CLEANFILES+= ${DPSRCS} ${YHEADER:D${SRCS:M*.y:.y=.h}}
.endif # defined(HOSTLIB)
diff -r 59072f37daeb -r 778a6fe03b06 share/mk/bsd.hostprog.mk
--- a/share/mk/bsd.hostprog.mk Mon Jul 28 23:35:20 2003 +0000
+++ b/share/mk/bsd.hostprog.mk Mon Jul 28 23:54:24 2003 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.hostprog.mk,v 1.30 2003/07/18 04:04:03 lukem Exp $
+# $NetBSD: bsd.hostprog.mk,v 1.31 2003/07/28 23:54:24 lukem Exp $
# @(#)bsd.prog.mk 8.2 (Berkeley) 4/2/94
.include <bsd.init.mk>
@@ -62,7 +62,7 @@
.if defined(HOSTPROG)
SRCS?= ${HOSTPROG}.c
-DPSRCS+= ${SRCS:M*.[ly]:C/\..$/.c/}
+DPSRCS+= ${SRCS:M*.l:.l=.c} ${SRCS:M*.y:.y=.c}
CLEANFILES+= ${DPSRCS} ${YHEADER:D${SRCS:M*.y:.y=.h}}
.if !empty(SRCS:N*.h:N*.sh)
diff -r 59072f37daeb -r 778a6fe03b06 share/mk/bsd.lib.mk
--- a/share/mk/bsd.lib.mk Mon Jul 28 23:35:20 2003 +0000
+++ b/share/mk/bsd.lib.mk Mon Jul 28 23:54:24 2003 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.lib.mk,v 1.228 2003/07/28 04:08:47 lukem Exp $
+# $NetBSD: bsd.lib.mk,v 1.229 2003/07/28 23:54:24 lukem Exp $
# @(#)bsd.lib.mk 8.3 (Berkeley) 4/22/94
.include <bsd.init.mk>
@@ -362,7 +362,7 @@
__archivesymlinkpic: .USE
${INSTALL_SYMLINK} ${SYSPKGTAG} ${.ALLSRC} ${.TARGET}
-DPSRCS+= ${SRCS:M*.[ly]:C/\..$/.c/}
+DPSRCS+= ${SRCS:M*.l:.l=.c} ${SRCS:M*.y:.y=.c}
CLEANFILES+= ${DPSRCS} ${YHEADER:D${SRCS:M*.y:.y=.h}}
lib${LIB}.a:: ${OBJS} __archivebuild
diff -r 59072f37daeb -r 778a6fe03b06 share/mk/bsd.prog.mk
--- a/share/mk/bsd.prog.mk Mon Jul 28 23:35:20 2003 +0000
+++ b/share/mk/bsd.prog.mk Mon Jul 28 23:54:24 2003 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.prog.mk,v 1.177 2003/07/28 08:53:55 lukem Exp $
+# $NetBSD: bsd.prog.mk,v 1.178 2003/07/28 23:54:25 lukem Exp $
# @(#)bsd.prog.mk 8.2 (Berkeley) 4/2/94
.ifndef HOSTPROG
@@ -89,7 +89,7 @@
SRCS?= ${PROG}.c
.endif
-DPSRCS+= ${SRCS:M*.[ly]:C/\..$/.c/}
+DPSRCS+= ${SRCS:M*.l:.l=.c} ${SRCS:M*.y:.y=.c}
CLEANFILES+= ${DPSRCS} ${YHEADER:D${SRCS:M*.y:.y=.h}}
.if !empty(SRCS:N*.h:N*.sh:N*.fth)
Home |
Main Index |
Thread Index |
Old Index