1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/security/nss/cmd/modutil/rules.mk Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,26 @@ 1.4 +# 1.5 +# This Source Code Form is subject to the terms of the Mozilla Public 1.6 +# License, v. 2.0. If a copy of the MPL was not distributed with this 1.7 +# file, You can obtain one at http://mozilla.org/MPL/2.0/. 1.8 + 1.9 +# 1.10 +# Some versions of yacc generate files that include platform-specific 1.11 +# system headers. For example, the yacc in Solaris 2.6 inserts 1.12 +# #include <values.h> 1.13 +# which does not exist on NT. For portability, always use Berkeley 1.14 +# yacc (such as the yacc in Linux) to generate files. 1.15 +# 1.16 + 1.17 +generate: installparse.c installparse.l 1.18 + 1.19 +installparse.c: 1.20 + yacc -p Pk11Install_yy -d installparse.y 1.21 + mv y.tab.c installparse.c 1.22 + mv y.tab.h installparse.h 1.23 + 1.24 +installparse.l: 1.25 + lex -olex.Pk11Install_yy.c -PPk11Install_yy installparse.l 1.26 + @echo 1.27 + @echo "**YOU MUST COMMENT OUT UNISTD.H FROM lex.Pk11Install_yy.cpp**" 1.28 + 1.29 +install.c: install-ds.h install.h