Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src Use ${DEPENDSRCS} as a target instead of .depend, now that
details: https://anonhg.NetBSD.org/src/rev/8b0549fb5549
branches: trunk
changeset: 550042:8b0549fb5549
user: lukem <lukem%NetBSD.org@localhost>
date: Mon Jul 28 15:25:02 2003 +0000
description:
Use ${DEPENDSRCS} as a target instead of .depend, now that
<bsd.dep.mk> builds .depend from .dep files.
diffstat:
bin/csh/Makefile | 4 ++--
gnu/usr.bin/binutils/ld/Makefile | 4 ++--
gnu/usr.bin/gcc/backend/Makefile | 4 ++--
gnu/usr.bin/gcc/f771/Makefile | 4 ++--
lib/libkadm5srv/Makefile | 4 ++--
sbin/wsconsctl/Makefile | 4 ++--
share/doc/standards/xopen/Makefile | 4 ++--
share/mk/bsd.rpc.mk | 8 ++++----
usr.sbin/rpc.pcnfsd/Makefile.clnt | 4 ++--
9 files changed, 20 insertions(+), 20 deletions(-)
diffs (176 lines):
diff -r be3bda3c7fc9 -r 8b0549fb5549 bin/csh/Makefile
--- a/bin/csh/Makefile Mon Jul 28 15:07:16 2003 +0000
+++ b/bin/csh/Makefile Mon Jul 28 15:25:02 2003 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.20 2002/08/19 09:56:00 lukem Exp $
+# $NetBSD: Makefile,v 1.21 2003/07/28 15:25:02 lukem Exp $
# @(#)Makefile 8.1 (Berkeley) 5/31/93
#
# C Shell with process control; VM/UNIX VAX Makefile
@@ -39,7 +39,7 @@
sed -e 's/Char \([a-zA-Z0-9_]*\)\(.*\)/extern Char \1[];/' | \
sort >> ${.TARGET}
-.depend alloc.o: const.h errnum.h
+${DEPENDSRCS} alloc.o: const.h errnum.h
alloc.o const.o csh.o dir.o dol.o err.o exec.o exp.o file.o func.o glob.o \
hist.o init.o lex.o misc.o parse.o proc.o sem.o set.o str.o time.o: const.h
diff -r be3bda3c7fc9 -r 8b0549fb5549 gnu/usr.bin/binutils/ld/Makefile
--- a/gnu/usr.bin/binutils/ld/Makefile Mon Jul 28 15:07:16 2003 +0000
+++ b/gnu/usr.bin/binutils/ld/Makefile Mon Jul 28 15:25:02 2003 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2003/04/11 22:46:02 thorpej Exp $
+# $NetBSD: Makefile,v 1.12 2003/07/28 15:25:04 lukem Exp $
.include <bsd.own.mk>
@@ -46,7 +46,7 @@
.include ".depend.${f}"
.endif
-.depend: .depend.${f}
+${DEPENDSRCS}: .depend.${f}
.depend.${f}: ${f}.sh
(srcdir=${DIST}/ld . ${>:M*.sh} && \
if [ x"$$TEMPLATE_NAME" != x ]; then \
diff -r be3bda3c7fc9 -r 8b0549fb5549 gnu/usr.bin/gcc/backend/Makefile
--- a/gnu/usr.bin/gcc/backend/Makefile Mon Jul 28 15:07:16 2003 +0000
+++ b/gnu/usr.bin/gcc/backend/Makefile Mon Jul 28 15:25:02 2003 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2003/03/14 03:44:11 thorpej Exp $
+# $NetBSD: Makefile,v 1.10 2003/07/28 15:25:04 lukem Exp $
NOLINKLIB= # defined
NOLINT= # defined
@@ -41,6 +41,6 @@
insn-attrtab.c: ${G_HOST_RTLANAL:S/^l-//:.o=.c}
insn-attrtab.c insn-extract.c: insn-config.h
-${OBJS} .depend: insn-attr.h insn-codes.h insn-config.h insn-flags.h tree-check.h
+${OBJS} ${DEPENDSRCS}: insn-attr.h insn-codes.h insn-config.h insn-flags.h tree-check.h
.PATH: ${DIST}/gcc ${DIST}/libiberty ${G_out_file:H}
diff -r be3bda3c7fc9 -r 8b0549fb5549 gnu/usr.bin/gcc/f771/Makefile
--- a/gnu/usr.bin/gcc/f771/Makefile Mon Jul 28 15:07:16 2003 +0000
+++ b/gnu/usr.bin/gcc/f771/Makefile Mon Jul 28 15:25:02 2003 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2001/11/08 00:13:53 simonb Exp $
+# $NetBSD: Makefile,v 1.5 2003/07/28 15:25:04 lukem Exp $
PROG= f771
SRCS= ${G_F77_OBJS:.o=.c}
@@ -21,7 +21,7 @@
str-${f}.h str-${f}.j: str-${f}.fin fini
./fini ${>:M*.fin} str-${f}.j str-${f}.h
-${OBJS} .depend: str-${f}.h
+${OBJS} ${DEPENDSRCS}: str-${f}.h
.endfor
.PATH: ${DIST}/gcc/f
diff -r be3bda3c7fc9 -r 8b0549fb5549 lib/libkadm5srv/Makefile
--- a/lib/libkadm5srv/Makefile Mon Jul 28 15:07:16 2003 +0000
+++ b/lib/libkadm5srv/Makefile Mon Jul 28 15:25:02 2003 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.19 2003/07/10 10:34:24 lukem Exp $
+# $NetBSD: Makefile,v 1.20 2003/07/28 15:25:05 lukem Exp $
NOLINT= # defined
@@ -89,7 +89,7 @@
${SRCS:.c=.o}: kadm5_err.h
-.depend: kadm5_err.h
+${DEPENDSRCS}: kadm5_err.h
CLEANFILES= kadm5_err.h kadm5_err.c
diff -r be3bda3c7fc9 -r 8b0549fb5549 sbin/wsconsctl/Makefile
--- a/sbin/wsconsctl/Makefile Mon Jul 28 15:07:16 2003 +0000
+++ b/sbin/wsconsctl/Makefile Mon Jul 28 15:25:02 2003 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2002/01/30 20:32:29 tv Exp $
+# $NetBSD: Makefile,v 1.5 2003/07/28 15:25:05 lukem Exp $
PROG= wsconsctl
SRCS= display.c keyboard.c keysym.c map_parse.y map_scan.l \
@@ -9,7 +9,7 @@
CPPFLAGS+= -I. -I${.CURDIR}
CLEANFILES+= keysym.h
-.depend keysym.c: keysym.h
+${DEPENDSRCS} keysym.c: keysym.h
.include <bsd.prog.mk>
diff -r be3bda3c7fc9 -r 8b0549fb5549 share/doc/standards/xopen/Makefile
--- a/share/doc/standards/xopen/Makefile Mon Jul 28 15:07:16 2003 +0000
+++ b/share/doc/standards/xopen/Makefile Mon Jul 28 15:25:02 2003 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2003/07/10 10:34:33 lukem Exp $
+# $NetBSD: Makefile,v 1.4 2003/07/28 15:25:06 lukem Exp $
DOCS= xcu5
.for i in ${DOCS}
@@ -37,7 +37,7 @@
@echo ${.OBJDIR}/${TARG}.more
# make the "afterdepend" rule happy
-.depend:
+${DEPENDSRCS}:
@touch $@
.include <bsd.doc.mk>
diff -r be3bda3c7fc9 -r 8b0549fb5549 share/mk/bsd.rpc.mk
--- a/share/mk/bsd.rpc.mk Mon Jul 28 15:07:16 2003 +0000
+++ b/share/mk/bsd.rpc.mk Mon Jul 28 15:25:02 2003 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.rpc.mk,v 1.5 2003/07/14 00:52:12 lukem Exp $
+# $NetBSD: bsd.rpc.mk,v 1.6 2003/07/28 15:25:06 lukem Exp $
.include <bsd.init.mk>
@@ -16,7 +16,7 @@
CLEANFILES += ${RPC_INCS}
-.depend: ${RPC_INCS}
+${DEPENDSRCS}: ${RPC_INCS}
.endif
@@ -29,7 +29,7 @@
CLEANFILES += ${RPC_XDRFILES}
-.depend: ${RPC_XDRFILES}
+${DEPENDSRCS}: ${RPC_XDRFILES}
.endif
@@ -48,7 +48,7 @@
CLEANFILES += ${RPC_SVCFILES}
-.depend: ${RPC_SVCFILES}
+${DEPENDSRCS}: ${RPC_SVCFILES}
##### Pull in related .mk logic
.include <bsd.obj.mk>
diff -r be3bda3c7fc9 -r 8b0549fb5549 usr.sbin/rpc.pcnfsd/Makefile.clnt
--- a/usr.sbin/rpc.pcnfsd/Makefile.clnt Mon Jul 28 15:07:16 2003 +0000
+++ b/usr.sbin/rpc.pcnfsd/Makefile.clnt Mon Jul 28 15:25:02 2003 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.clnt,v 1.11 2003/07/10 10:34:48 lukem Exp $
+# $NetBSD: Makefile.clnt,v 1.12 2003/07/28 15:25:07 lukem Exp $
# This Makefile builds a client used for testing.
@@ -40,4 +40,4 @@
.include <bsd.prog.mk>
-.depend ${OBJS}: pcnfsd.h
+${DEPENDSRCS} ${OBJS}: pcnfsd.h
Home |
Main Index |
Thread Index |
Old Index