Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/share/mk Set .NOPATH on program to build to make sure it goe...



details:   https://anonhg.NetBSD.org/src/rev/78a487c627dd
branches:  trunk
changeset: 515442:78a487c627dd
user:      tv <tv%NetBSD.org@localhost>
date:      Tue Sep 25 02:19:26 2001 +0000

description:
Set .NOPATH on program to build to make sure it goes in .OBJDIR.
Problem noted by <seebs%plethora.net@localhost>.

diffstat:

 share/mk/bsd.hostprog.mk |  4 ++--
 share/mk/bsd.prog.mk     |  4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r 2ecf369fa24f -r 78a487c627dd share/mk/bsd.hostprog.mk
--- a/share/mk/bsd.hostprog.mk  Tue Sep 25 01:43:35 2001 +0000
+++ b/share/mk/bsd.hostprog.mk  Tue Sep 25 02:19:26 2001 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: bsd.hostprog.mk,v 1.12 2001/09/13 23:23:26 thorpej Exp $
+#      $NetBSD: bsd.hostprog.mk,v 1.13 2001/09/25 02:19:26 tv Exp $
 #      @(#)bsd.prog.mk 8.2 (Berkeley) 4/2/94
 
 .if !target(__initialized__)
@@ -92,7 +92,7 @@
 .endif
 
 .if defined(OBJS) && !empty(OBJS)
-.NOPATH: ${OBJS}
+.NOPATH: ${OBJS} ${HOSTPROG}
 
 ${HOSTPROG}: ${DPSRCS} ${OBJS} ${LIBC} ${DPADD}
        ${HOST_LINK.c} ${HOST_LDSTATIC} -o ${.TARGET} ${OBJS} ${LDADD}
diff -r 2ecf369fa24f -r 78a487c627dd share/mk/bsd.prog.mk
--- a/share/mk/bsd.prog.mk      Tue Sep 25 01:43:35 2001 +0000
+++ b/share/mk/bsd.prog.mk      Tue Sep 25 02:19:26 2001 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: bsd.prog.mk,v 1.135 2001/09/24 09:18:05 lukem Exp $
+#      $NetBSD: bsd.prog.mk,v 1.136 2001/09/25 02:19:26 tv Exp $
 #      @(#)bsd.prog.mk 8.2 (Berkeley) 4/2/94
 
 .if !target(__initialized__)
@@ -119,7 +119,7 @@
 .endif
 
 .if defined(OBJS) && !empty(OBJS)
-.NOPATH: ${OBJS}
+.NOPATH: ${OBJS} ${PROG}
 .if defined(DESTDIR)
 
 ${PROG}: ${LIBCRT0} ${DPSRCS} ${OBJS} ${LIBC} ${LIBCRTBEGIN} ${LIBCRTEND} ${DPADD}



Home | Main Index | Thread Index | Old Index