Revert Automake license to GPLv2+.
[platform/upstream/automake.git] / lib / am / lex.am
1 ## automake - create Makefile.in from Makefile.am
2 ## Copyright (C) 2001, 2002, 2003, 2004, 2006, 2009  Free Software
3 ## Foundation, Inc.
4
5 ## This program is free software; you can redistribute it and/or modify
6 ## it under the terms of the GNU General Public License as published by
7 ## the Free Software Foundation; either version 2, or (at your option)
8 ## any later version.
9
10 ## This program is distributed in the hope that it will be useful,
11 ## but WITHOUT ANY WARRANTY; without even the implied warranty of
12 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13 ## GNU General Public License for more details.
14
15 ## You should have received a copy of the GNU General Public License
16 ## along with this program.  If not, see <http://www.gnu.org/licenses/>.
17
18 ## See the comment about am__skipyacc in yacc.am.
19 if %?MAINTAINER-MODE%
20 if %?FIRST%
21 @MAINTAINER_MODE_FALSE@am__skiplex = test -f $@ ||
22 endif %?FIRST%
23 endif %?MAINTAINER-MODE%
24
25 ?GENERIC?%EXT%%DERIVED-EXT%:
26 ?!GENERIC?%OBJ%: %SOURCE%
27 ?GENERIC?       %VERBOSE%$(am__skiplex) $(SHELL) $(YLWRAP) %SOURCE% $(LEX_OUTPUT_ROOT).c %OBJ% -- %COMPILE%
28 ?!GENERIC?      %VERBOSE% \
29 ?!GENERIC??DIST_SOURCE? $(am__skiplex) \
30 ## For non-suffix rules, we must emulate a VPATH search on %SOURCE%.
31 ?!GENERIC?      $(SHELL) $(YLWRAP) `test -f '%SOURCE%' || echo '$(srcdir)/'`%SOURCE% $(LEX_OUTPUT_ROOT).c %OBJ% -- %COMPILE%