1#
2# This Source Code Form is subject to the terms of the Mozilla Public
3# License, v. 2.0. If a copy of the MPL was not distributed with this
4# file, You can obtain one at http://mozilla.org/MPL/2.0/.
5
6#
7# Some versions of yacc generate files that include platform-specific
8# system headers.  For example, the yacc in Solaris 2.6 inserts
9#     #include <values.h>
10# which does not exist on NT.  For portability, always use Berkeley
11# yacc (such as the yacc in Linux) to generate files.
12#
13
14generate: installparse.c installparse.l
15
16installparse.c:
17	yacc -p Pk11Install_yy -d installparse.y
18	mv y.tab.c installparse.c
19	mv y.tab.h installparse.h
20
21installparse.l:
22	lex -olex.Pk11Install_yy.c -PPk11Install_yy installparse.l
23	@echo
24	@echo "**YOU MUST COMMENT OUT UNISTD.H FROM lex.Pk11Install_yy.cpp**"
25
26install.c: install-ds.h install.h
27