Source-Changes-HG archive

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

[src/trunk]: src/share/mk befriend RUMPPRG with CRUNCHEDPRG



details:   https://anonhg.NetBSD.org/src/rev/ae5cecd6a9b2
branches:  trunk
changeset: 759619:ae5cecd6a9b2
user:      pooka <pooka%NetBSD.org@localhost>
date:      Mon Dec 13 21:47:04 2010 +0000

description:
befriend RUMPPRG with CRUNCHEDPRG

diffstat:

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

diffs (28 lines):

diff -r b300ff0f9263 -r ae5cecd6a9b2 share/mk/bsd.prog.mk
--- a/share/mk/bsd.prog.mk      Mon Dec 13 21:15:30 2010 +0000
+++ b/share/mk/bsd.prog.mk      Mon Dec 13 21:47:04 2010 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: bsd.prog.mk,v 1.255 2010/12/13 17:22:26 pooka Exp $
+#      $NetBSD: bsd.prog.mk,v 1.256 2010/12/13 21:47:04 pooka Exp $
 #      @(#)bsd.prog.mk 8.2 (Berkeley) 4/2/94
 
 .ifndef HOSTPROG
@@ -211,6 +211,7 @@
 
 .if defined(RUMPPRG)
 PROG=                  ${RUMPPRG}
+.ifndef CRUNCHEDPROG
 PROGS=                 ${RUMPPRG} rump.${RUMPPRG}
 . if defined(SRCS)
 SRCS.rump.${PROG}:=    ${SRCS} ${PROG}_rumpops.c ${RUMPSRCS}
@@ -223,6 +224,10 @@
 DPADD.rump.${PROG}+=   ${LIBRUMPCLIENT}
 MAN.rump.${PROG}=      # defined but feeling empty
 _RUMPINSTALL.rump.${PROG}=# defined
+.else # CRUNCHEDPROG
+PROGS=                 ${PROG}
+CPPFLAGS+=             -DCRUNCHOPS
+.endif
 .endif
 
 .if defined(PROG)



Home | Main Index | Thread Index | Old Index