]> git.saurik.com Git - bison.git/blame - src/Makefile.am
Have Bison grammars parsed by a Bison grammar.
[bison.git] / src / Makefile.am
CommitLineData
be2a1a68 1## Copyright (C) 2001, 2002 Free Software Foundation, Inc.
2c8a9dfa
AD
2
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.
7
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.
12
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., 59 Temple Place, Suite 330, Boston, MA
16## 02111-1307 USA
17
18AUTOMAKE_OPTIONS = ../lib/ansi2knr
19
8c44d3ec 20DEFS = @DEFS@ \
be2a1a68 21 -DPKGDATADIR=\"$(pkgdatadir)\" \
29092a57 22 -DLOCALEDIR=\"$(datadir)/locale\"
095a3fb5 23
cae60122 24CFLAGS = @CFLAGS@ $(WARNING_CFLAGS) $(WERROR_CFLAGS)
9b3add5b 25YFLAGS = "-dv"
2c8a9dfa 26
e0327bc8
AD
27# libintl.h in is build/intl, intl/libgettext.h in src/,
28# config.h in build/.
29INCLUDES = -I$(top_builddir)/intl \
30 -I$(top_builddir) \
dbfb6dcd
AD
31 -I$(top_srcdir)/intl \
32 -I$(top_srcdir)/lib
e0327bc8
AD
33
34LDADD = $(INTLLIBS) ../lib/libbison.a
8ebbae2a 35
a0f6b076
AD
36bin_PROGRAMS = bison
37
d7913476 38bison_SOURCES = LR0.c closure.c complain.c conflicts.c \
e9955c83
AD
39 parse-gram.y parse-gram.h \
40 scan-gram.c \
a0f6b076 41 derives.c \
e9955c83 42 files.c getargs.c gram.c lalr.c main.c nullable.c \
d954473d
AD
43 output.h output.c \
44 state.h state.c \
45 print_graph.h print_graph.c \
46 muscle_tab.h muscle_tab.c \
47 options.h options.c \
65ccf9fc 48 print.c reader.c reduce.c symtab.c vcg.c \
be2a1a68 49 scan-skel.l
a0f6b076 50
e9955c83 51BUILT_SOURCES = scan-skel.c scan-gram.c parse-gram.c parse-gram.h
a67cef01 52
a0f6b076
AD
53EXTRA_bison_SOURCES = vmsgetargs.c
54
d7913476 55noinst_HEADERS = LR0.h closure.h complain.h conflicts.h \
2fa6973e 56 derives.h \
e9955c83 57 files.h getargs.h gram.h lalr.h nullable.h \
65ccf9fc 58 print.h reader.h reduce.h symtab.h system.h \
11d82f03 59 types.h vcg.h vcg_defaults.h
8ebbae2a 60
5bb18f9a 61EXTRA_DIST = build.com bison.cld vmshlp.mar