summaryrefslogtreecommitdiff
path: root/usr.bin/mklocale/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/mklocale/Makefile')
-rw-r--r--usr.bin/mklocale/Makefile16
1 files changed, 16 insertions, 0 deletions
diff --git a/usr.bin/mklocale/Makefile b/usr.bin/mklocale/Makefile
new file mode 100644
index 00000000000..a30e04c221a
--- /dev/null
+++ b/usr.bin/mklocale/Makefile
@@ -0,0 +1,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>