michael@0: # michael@0: # This Source Code Form is subject to the terms of the Mozilla Public michael@0: # License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: # file, You can obtain one at http://mozilla.org/MPL/2.0/. michael@0: michael@0: # michael@0: # Some versions of yacc generate files that include platform-specific michael@0: # system headers. For example, the yacc in Solaris 2.6 inserts michael@0: # #include michael@0: # which does not exist on NT. For portability, always use Berkeley michael@0: # yacc (such as the yacc in Linux) to generate files. michael@0: # michael@0: michael@0: generate: installparse.c installparse.l michael@0: michael@0: installparse.c: michael@0: yacc -p Pk11Install_yy -d installparse.y michael@0: mv y.tab.c installparse.c michael@0: mv y.tab.h installparse.h michael@0: michael@0: installparse.l: michael@0: lex -olex.Pk11Install_yy.c -PPk11Install_yy installparse.l michael@0: @echo michael@0: @echo "**YOU MUST COMMENT OUT UNISTD.H FROM lex.Pk11Install_yy.cpp**" michael@0: michael@0: install.c: install-ds.h install.h