Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/bsd/flex/bin it is more complicated to rebuild the ...
details: https://anonhg.NetBSD.org/src/rev/927586712997
branches: trunk
changeset: 748528:927586712997
user: christos <christos%NetBSD.org@localhost>
date: Mon Oct 26 11:19:47 2009 +0000
description:
it is more complicated to rebuild the skel now.
diffstat:
external/bsd/flex/bin/Makefile | 13 +++++++++----
1 files changed, 9 insertions(+), 4 deletions(-)
diffs (28 lines):
diff -r fbdb06d3567d -r 927586712997 external/bsd/flex/bin/Makefile
--- a/external/bsd/flex/bin/Makefile Mon Oct 26 11:17:16 2009 +0000
+++ b/external/bsd/flex/bin/Makefile Mon Oct 26 11:19:47 2009 +0000
@@ -1,5 +1,5 @@
# from: @(#)Makefile 5.4 (Berkeley) 6/24/90
-# $NetBSD: Makefile,v 1.1 2009/10/26 00:49:04 christos Exp $
+# $NetBSD: Makefile,v 1.2 2009/10/26 11:19:47 christos Exp $
#
# By default, flex will be configured to generate 8-bit scanners only if the
# -8 flag is given. If you want it to always generate 8-bit scanners, add
@@ -50,9 +50,14 @@
${BINDIR}/lex ${BINDIR}/flex++
MLINKS= flex.1 lex.1
-skel.c: mkskel.sh flex.skl
- ${_MKTARGET_CREATE}
- ${HOST_SH} ${.ALLSRC} >${.TARGET}
+skel.c: flex.skl mkskel.sh flexint.h tables_shared.h
+ ${TOOL_SED} -e 's/m4_/m4postproc_/g' -e 's/m4preproc_/m4_/g' \
+ ${IDIST}/flex.skl | ${TOOL_M4} -P \
+ -DFLEX_MAJOR_VERSION=`echo ${VERSION} | cut -f 1 -d .` \
+ -DFLEX_MINOR_VERSION=`echo ${VERSION} | cut -f 2 -d .` \
+ -DFLEX_SUBMINOR_VERSION=`echo ${VERSION} | cut -f 3 -d .` | \
+ ${TOOL_SED} -e 's/m4postproc_/m4_/g' | \
+ ${HOST_SH} ${IDIST}/mkskel.sh > ${.TARGET}
.ifndef HOSTPROG
scan.c: scan.l
Home |
Main Index |
Thread Index |
Old Index