Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/distrib/common Add support for optional ${CRUNCHGEN_FLAGS}.
details: https://anonhg.NetBSD.org/src/rev/c04a21daa1d8
branches: trunk
changeset: 524909:c04a21daa1d8
user: lukem <lukem%NetBSD.org@localhost>
date: Tue Apr 02 05:36:23 2002 +0000
description:
Add support for optional ${CRUNCHGEN_FLAGS}.
Per discussion with Izumi Tsutsui <tsutsui%ceres.dti.ne.jp@localhost>
diffstat:
distrib/common/Makefile.crunch | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (27 lines):
diff -r 60de65f7ebd4 -r c04a21daa1d8 distrib/common/Makefile.crunch
--- a/distrib/common/Makefile.crunch Tue Apr 02 05:30:34 2002 +0000
+++ b/distrib/common/Makefile.crunch Tue Apr 02 05:36:23 2002 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.crunch,v 1.5 2002/03/17 21:33:45 lukem Exp $
+# $NetBSD: Makefile.crunch,v 1.6 2002/04/02 05:36:23 lukem Exp $
#
# Makefile snippet to build a crunchgen(1)ed binary from the provided lists
#
@@ -10,6 +10,7 @@
# LISTS list file(s) to use
#
# Optional variables:
+# CRUNCHGEN_FLAGS extra options to crunchgen(1)
# DESTDIR destination directory
# PARSELISTENV environment variables to set for parselist.awk
#
@@ -29,7 +30,8 @@
${CRUNCHBIN}.mk ${CRUNCHBIN}.cache ${CRUNCHBIN}.c: ${CRUNCHBIN}.conf
env SMALLPROG=1 \
- ${CRUNCHGEN} -f -D ${_SRC_TOP_} -L ${DESTDIR}/usr/lib ${.ALLSRC}
+ ${CRUNCHGEN} -f -D ${_SRC_TOP_} -L ${DESTDIR}/usr/lib \
+ ${CRUNCHGEN_FLAGS} ${.ALLSRC}
${CRUNCHBIN}.conf: ${LISTS} ${_PARSELIST}
-rm -f ${.TARGET} ${.TARGET}.tmp
Home |
Main Index |
Thread Index |
Old Index