Source-Changes-HG archive

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

[src/trunk]: src/share/mk Add a hook to create a manifest file if needed unde...



details:   https://anonhg.NetBSD.org/src/rev/d184fb3511b9
branches:  trunk
changeset: 784994:d184fb3511b9
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Feb 17 00:36:00 2013 +0000

description:
Add a hook to create a manifest file if needed under cygwin

diffstat:

 share/mk/bsd.hostprog.mk |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r 8c08a4730ec9 -r d184fb3511b9 share/mk/bsd.hostprog.mk
--- a/share/mk/bsd.hostprog.mk  Sun Feb 17 00:34:35 2013 +0000
+++ b/share/mk/bsd.hostprog.mk  Sun Feb 17 00:36:00 2013 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: bsd.hostprog.mk,v 1.68 2013/02/16 21:40:45 jmmv Exp $
+#      $NetBSD: bsd.hostprog.mk,v 1.69 2013/02/17 00:36:00 christos Exp $
 #      @(#)bsd.prog.mk 8.2 (Berkeley) 4/2/94
 
 .include <bsd.init.mk>
@@ -114,6 +114,10 @@
 ${HOSTPROG}: ${OBJS} ${DPADD}
        ${_MKTARGET_LINK}
        ${HOST_LINK.c} ${HOST_LDSTATIC} -o ${.TARGET} ${OBJS} ${LDADD}
+.if !empty(.MAKE.OS:M*CYGWIN*)
+       ${NETBSDSRCDIR}/tools/binstall/mkmanifest ${HOSTPROG}
+.endif
+
 
 .endif # defined(OBJS) && !empty(OBJS)
 



Home | Main Index | Thread Index | Old Index