1 ## Copyright (C) 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
3 ## This program is free software; you can redistribute it and/or modify
4 ## it under the terms of the GNU General Public License as published by
5 ## the Free Software Foundation; either version 2 of the License, or
6 ## (at your option) any later version.
8 ## This program is distributed in the hope that it will be useful,
9 ## but WITHOUT ANY WARRANTY; without even the implied warranty of
10 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 ## GNU General Public License for more details.
13 ## You should have received a copy of the GNU General Public License
14 ## along with this program; if not, write to the Free Software
15 ## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
19 -DPKGDATADIR=\"$(pkgdatadir)\" \
20 -DLOCALEDIR=\"$(datadir)/locale\"
22 AM_CFLAGS = $(WARNING_CFLAGS) $(WERROR_CFLAGS)
23 AM_CPPFLAGS = -I$(top_srcdir)/lib -I../lib
26 LDADD = ../lib/libbison.a $(LIBINTL)
28 # Use our own Bison to build the parser. Of course, you ought to
29 # keep a sane version of Bison nearby...
30 YACC = ../tests/bison -y
33 bin_SCRIPTS = $(YACC_SCRIPT)
40 complain.c complain.h \
41 conflicts.c conflicts.h \
47 location.c location.h \
49 muscle_tab.c muscle_tab.h \
50 nullable.c nullable.h \
52 parse-gram.h parse-gram.y \
54 print_graph.c print_graph.h \
57 relation.c relation.h \
69 BUILT_SOURCES = scan-skel.c scan-gram.c parse-gram.c parse-gram.h
71 MOSTLYCLEANFILES = yacc
75 echo 'exec $(bindir)/bison -y "$$@"' >>$@
79 echo $(bison_SOURCES) $(noinst_HEADERS)