summaryrefslogtreecommitdiff
path: root/usr.bin/mklocale/Makefile
blob: a30e04c221a489392bb920133864a1457c05e189 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#	$NetBSD: Makefile,v 1.11 2003/08/01 17:04:04 lukem Exp $
#	$OpenBSD: Makefile,v 1.1 2005/08/07 10:06:25 espie Exp $

.include <bsd.own.mk>

PROG=		mklocale
SRCS=		yacc.y lex.l
CPPFLAGS+=	-I. -I${.CURDIR} -I${.CURDIR}/../../lib/libc -I${.CURDIR}/../../lib/libc/include
YHEADER=	1

yacc.c yacc.h: yacc.y
	${YACC} -d ${.ALLSRC} && mv y.tab.c yacc.c && mv y.tab.h yacc.h


CLEANFILES+= yacc.c yacc.h
.include <bsd.prog.mk>