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