]> git.saurik.com Git - bison.git/blob - src/Makefile.am
* doc/bison.texinfo (Stack Overflow): xref to Recursion.
[bison.git] / src / Makefile.am
1 ## Copyright (C) 2001, 2002 Free Software Foundation, Inc.
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
18 AUTOMAKE_OPTIONS = ../lib/ansi2knr
19
20 DEFS = @DEFS@ \
21 -DPKGDATADIR=\"$(pkgdatadir)\" \
22 -DLOCALEDIR=\"$(datadir)/locale\"
23
24 CFLAGS = @CFLAGS@ $(WARNING_CFLAGS) $(WERROR_CFLAGS)
25 YFLAGS = "-dv"
26
27 # config.h is in build/.
28 INCLUDES = -I$(top_builddir) \
29 -I$(top_srcdir)/lib
30
31 LDADD = $(INTLLIBS) ../lib/libbison.a
32
33 bin_PROGRAMS = bison
34
35 bison_SOURCES = \
36 LR0.c LR0.h \
37 assoc.c assoc.h \
38 closure.c closure.h \
39 complain.c complain.h \
40 conflicts.c conflicts.h \
41 derives.c derives.h \
42 files.c files.h \
43 getargs.c getargs.h \
44 gram.c gram.h \
45 lalr.h lalr.c \
46 location.c location.h \
47 main.c \
48 muscle_tab.c muscle_tab.h \
49 nullable.c nullable.h \
50 output.c output.h \
51 parse-gram.h parse-gram.y \
52 print.c print.h \
53 print_graph.c print_graph.h \
54 reader.c reader.h \
55 reduce.c reduce.h \
56 relation.c relation.h \
57 scan-gram.l \
58 scan-skel.l \
59 state.c state.h \
60 symlist.c symlist.h \
61 symtab.c symtab.h \
62 system.h \
63 tables.h tables.c \
64 vcg.c vcg.h \
65 vcg_defaults.h
66
67 BUILT_SOURCES = scan-skel.c scan-gram.c parse-gram.c parse-gram.h
68
69 EXTRA_bison_SOURCES = vmsgetargs.c
70
71 EXTRA_DIST = build.com bison.cld vmshlp.mar
72
73 echo:
74 echo $(bison_SOURCES) $(noinst_HEADERS)