Fri Nov 6 15:14:37 2009 UTC ()
Make sure that parser.c and friends can be found.


(joerg)
diff -r1.4 -r1.5 src/tools/m4/Makefile

cvs diff -r1.4 -r1.5 src/tools/m4/Makefile (expand / switch to unified diff)

--- src/tools/m4/Makefile 2009/10/27 18:35:09 1.4
+++ src/tools/m4/Makefile 2009/11/06 15:14:37 1.5
@@ -1,17 +1,18 @@ @@ -1,17 +1,18 @@
1# $NetBSD: Makefile,v 1.4 2009/10/27 18:35:09 christos Exp $ 1# $NetBSD: Makefile,v 1.5 2009/11/06 15:14:37 joerg Exp $
2 2
3HOSTPROGNAME= ${_TOOL_PREFIX}m4 3HOSTPROGNAME= ${_TOOL_PREFIX}m4
4HOST_SRCDIR= usr.bin/m4 4HOST_SRCDIR= usr.bin/m4
 5HOST_CPPFLAGS+= -I.
5 6
6.include "${.CURDIR}/../Makefile.host" 7.include "${.CURDIR}/../Makefile.host"
7 8
8# Don't build any of those; we don't have lex and yacc available yet 9# Don't build any of those; we don't have lex and yacc available yet
9.y.c .y.h .l.c: 10.y.c .y.h .l.c:
10 @true 11 @true
11 12
12parser.c: ${.CURDIR}/bootstrap/parser.c 13parser.c: ${.CURDIR}/bootstrap/parser.c
13 @ln -sf ${.ALLSRC:M*.c} $@ 14 @ln -sf ${.ALLSRC:M*.c} $@
14parser.h: ${.CURDIR}/bootstrap/parser.h 15parser.h: ${.CURDIR}/bootstrap/parser.h
15 @ln -sf ${.ALLSRC:M*.h} $@ 16 @ln -sf ${.ALLSRC:M*.h} $@
16tokenizer.c: ${.CURDIR}/bootstrap/tokenizer.c 17tokenizer.c: ${.CURDIR}/bootstrap/tokenizer.c
17 @ln -sf ${.ALLSRC:M*.c} $@ 18 @ln -sf ${.ALLSRC:M*.c} $@