Update for Lion, error messages.
[awesomized/libmemcached] / libmemcached / csl / parser.am
1 # vim:ft=automake
2 #
3 # Configure Scripting Language
4 #
5 # Copyright (C) 2011 DataDifferental, http://datadifferential.com
6 #
7 # This program is free software: you can redistribute it and/or modify
8 # it under the terms of the GNU Affero General Public License as
9 # published by the Free Software Foundation, either version 3 of the
10 # License, or (at your option) any later version.
11 #
12 # This program is distributed in the hope that it will be useful,
13 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 # GNU Affero General Public License for more details.
16 #
17 # You should have received a copy of the GNU Affero General Public License
18 # along with this program. If not, see <http://www.gnu.org/licenses/>.
19
20 EXTRA_DIST+= \
21 libmemcached/csl/parser.yy \
22 libmemcached/csl/scanner.l
23
24 libmemcached/csl/parser.h: libmemcached/csl/parser.cc
25
26 libmemcached/csl/parser.cc: libmemcached/csl/parser.yy libmemcached/csl/scanner.l libmemcached/csl/scanner.h
27 $(AM_V_YACC)$(am__skipyacc) $(YACC) $(YLFLAGS) $(AM_YFLAGS) -o $@ $<
28
29 libmemcached/csl/scanner.h: libmemcached/csl/scanner.cc
30
31 libmemcached/csl/scanner.cc: libmemcached/csl/scanner.l libmemcached/csl/parser.yy
32 $(AM_V_GEN)$(LEX) $<