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