Source-Changes-HG archive

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

[src/trunk]: src/share/mk simplify with _MKTARGET_LINK



details:   https://anonhg.NetBSD.org/src/rev/8da1f818a22f
branches:  trunk
changeset: 555400:8da1f818a22f
user:      lukem <lukem%NetBSD.org@localhost>
date:      Sun Nov 16 14:09:00 2003 +0000

description:
simplify with _MKTARGET_LINK

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 bcda4e620182 -r 8da1f818a22f share/mk/bsd.hostprog.mk
--- a/share/mk/bsd.hostprog.mk  Sun Nov 16 13:34:57 2003 +0000
+++ b/share/mk/bsd.hostprog.mk  Sun Nov 16 14:09:00 2003 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: bsd.hostprog.mk,v 1.36 2003/11/11 11:43:45 dsl Exp $
+#      $NetBSD: bsd.hostprog.mk,v 1.37 2003/11/16 14:09:00 lukem Exp $
 #      @(#)bsd.prog.mk 8.2 (Berkeley) 4/2/94
 
 .include <bsd.init.mk>
@@ -77,7 +77,7 @@
 
 ${OBJS} ${LOBJS}: ${DPSRCS}
 ${HOSTPROG}: ${OBJS} ${DPADD}
-       ${_MKMSG_LINK} ${HOSTPROG}
+       ${_MKTARGET_LINK}
        ${HOST_LINK.c} ${HOST_LDSTATIC} -o ${.TARGET} ${OBJS} ${LDADD}
 
 .endif # defined(OBJS) && !empty(OBJS)
diff -r bcda4e620182 -r 8da1f818a22f share/mk/bsd.prog.mk
--- a/share/mk/bsd.prog.mk      Sun Nov 16 13:34:57 2003 +0000
+++ b/share/mk/bsd.prog.mk      Sun Nov 16 14:09:00 2003 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: bsd.prog.mk,v 1.193 2003/11/11 11:43:45 dsl Exp $
+#      $NetBSD: bsd.prog.mk,v 1.194 2003/11/16 14:09:00 lukem Exp $
 #      @(#)bsd.prog.mk 8.2 (Berkeley) 4/2/94
 
 .ifndef HOSTPROG
@@ -176,7 +176,7 @@
 
 ${PROG}: .gdbinit ${LIBCRT0} ${OBJS} ${LIBC} ${LIBCRTBEGIN} ${LIBCRTEND} ${DPADD}
 .if !commands(${PROG})
-       ${_MKMSG_LINK} ${PROG}
+       ${_MKTARGET_LINK}
 .if defined(DESTDIR)
        ${_CCLINK} ${LDFLAGS} ${LDSTATIC} -o ${.TARGET} -nostdlib ${_PROGLDOPTS} ${LIBCRT0} ${LIBCRTBEGIN} ${OBJS} ${LDADD} -L${_GCC_LIBGCCDIR} -L${DESTDIR}/usr/lib ${_SUPCXX} -lgcc -lc -lgcc 
${LIBCRTEND}
 .else



Home | Main Index | Thread Index | Old Index