Module Name:    src
Committed By:   pooka
Date:           Mon Dec 13 21:47:04 UTC 2010

Modified Files:
        src/share/mk: bsd.prog.mk

Log Message:
befriend RUMPPRG with CRUNCHEDPRG


To generate a diff of this commit:
cvs rdiff -u -r1.255 -r1.256 src/share/mk/bsd.prog.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/mk/bsd.prog.mk
diff -u src/share/mk/bsd.prog.mk:1.255 src/share/mk/bsd.prog.mk:1.256
--- src/share/mk/bsd.prog.mk:1.255	Mon Dec 13 17:22:26 2010
+++ src/share/mk/bsd.prog.mk	Mon Dec 13 21:47:04 2010
@@ -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)

Reply via email to