rules.mk (833B)
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 14 generate: installparse.c installparse.l 15 16 installparse.c: 17 yacc -p Pk11Install_yy -d installparse.y 18 mv y.tab.c installparse.c 19 mv y.tab.h installparse.h 20 21 installparse.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 26 install.c: install-ds.h install.h