## automake - create Makefile.in from Makefile.am ## Copyright (C) 1998-2013 Free Software Foundation, Inc. ## This program is free software; you can redistribute it and/or modify ## it under the terms of the GNU General Public License as published by ## the Free Software Foundation; either version 2, or (at your option) ## any later version. ## This program is distributed in the hope that it will be useful, ## but WITHOUT ANY WARRANTY; without even the implied warranty of ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ## GNU General Public License for more details. ## You should have received a copy of the GNU General Public License ## along with this program. If not, see <http://www.gnu.org/licenses/>. ## We want to disable the Yacc rebuild rule when ## 1. AM_MAINTAINER_MODE is used, and ## 2. --enable-maintainer-mode is not specified, and ## 3. parser.c already exist, and ## 4. parser.y and parser.c are distributed. ## Point #3 is because "make maintainer-clean" erases parser.c, yet ## the GNU Coding Standards require that ./configure; make works even ## after that. ## Point #4 is because parsers listed in nodist_*_SOURCES are always ## built on the user's side, so it makes no sense to disable them. ## ## Points #1, #2, #3 are solved by unconditionally prefixing the rule ## with $(am__skipyacc) defined below only when needed. ## ## Point #4 requires a condition on whether parser.y/parser.c are ## distributed or not. We cannot have a generic rule that works in ## both cases, so we ensure in automake that nodist_ parsers always ## use non-generic rules. if %?FIRST% if %?MAINTAINER-MODE% @MAINTAINER_MODE_FALSE@am__skipyacc = test -f $@ || endif %?MAINTAINER-MODE% ## The 's/c$/h/' substitution *must* be the last one. am__yacc_c2h = sed -e s/cc$$/hh/ -e s/cpp$$/hpp/ -e s/cxx$$/hxx/ \ -e s/c++$$/h++/ -e s/c$$/h/ endif %?FIRST% ?GENERIC?%EXT%%DERIVED-EXT%: ?!GENERIC?%OBJ%: %SOURCE% ?GENERIC? %VERBOSE%$(am__skipyacc) $(SHELL) $(YLWRAP) %SOURCE% y.tab.c %OBJ% y.tab.h `echo %OBJ% | $(am__yacc_c2h)` y.output %BASE%.output -- %COMPILE% ?!GENERIC? %VERBOSE% \ ?!GENERIC??DIST_SOURCE? $(am__skipyacc) \ ## For non-suffix rules, we must emulate a VPATH search on %SOURCE%. ?!GENERIC? $(SHELL) $(YLWRAP) `test -f '%SOURCE%' || echo '$(srcdir)/'`%SOURCE% y.tab.c %OBJ% y.tab.h `echo %OBJ% | $(am__yacc_c2h)` y.output %BASE%.output -- %COMPILE%
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
check.am | File | 21.45 KB | 0644 |
|
check2.am | File | 2.14 KB | 0644 |
|
clean-hdr.am | File | 818 B | 0644 |
|
clean.am | File | 2.28 KB | 0644 |
|
compile.am | File | 1010 B | 0644 |
|
configure.am | File | 6.45 KB | 0644 |
|
data.am | File | 3.32 KB | 0644 |
|
dejagnu.am | File | 3.58 KB | 0644 |
|
depend.am | File | 1.01 KB | 0644 |
|
depend2.am | File | 7.24 KB | 0644 |
|
distdir.am | File | 20.3 KB | 0644 |
|
footer.am | File | 881 B | 0644 |
|
header-vars.am | File | 5.46 KB | 0644 |
|
header.am | File | 786 B | 0644 |
|
inst-vars.am | File | 3.39 KB | 0644 |
|
install.am | File | 3.9 KB | 0644 |
|
java.am | File | 2.79 KB | 0644 |
|
lang-compile.am | File | 1.17 KB | 0644 |
|
lex.am | File | 1.29 KB | 0644 |
|
library.am | File | 976 B | 0644 |
|
libs.am | File | 3.8 KB | 0644 |
|
libtool.am | File | 1.01 KB | 0644 |
|
lisp.am | File | 4.03 KB | 0644 |
|
ltlib.am | File | 4.88 KB | 0644 |
|
ltlibrary.am | File | 933 B | 0644 |
|
mans-vars.am | File | 857 B | 0644 |
|
mans.am | File | 6.34 KB | 0644 |
|
program.am | File | 1.2 KB | 0644 |
|
progs.am | File | 6.24 KB | 0644 |
|
python.am | File | 5.09 KB | 0644 |
|
remake-hdr.am | File | 3.18 KB | 0644 |
|
scripts.am | File | 4.6 KB | 0644 |
|
subdirs.am | File | 2.8 KB | 0644 |
|
tags.am | File | 5.04 KB | 0644 |
|
texi-vers.am | File | 2.35 KB | 0644 |
|
texibuild.am | File | 6.47 KB | 0644 |
|
texinfos.am | File | 13.12 KB | 0644 |
|
vala.am | File | 768 B | 0644 |
|
yacc.am | File | 2.35 KB | 0644 |
|