]>
Commit | Line | Data |
---|---|---|
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 | DEFS = @DEFS@ \ | |
19 | -DPKGDATADIR=\"$(pkgdatadir)\" \ | |
20 | -DLOCALEDIR=\"$(datadir)/locale\" | |
21 | ||
22 | AM_CFLAGS = $(WARNING_CFLAGS) $(WERROR_CFLAGS) | |
23 | AM_YFLAGS = "-dv" | |
24 | ||
25 | # config.h is in build/. | |
26 | INCLUDES = -I$(top_builddir) \ | |
27 | -I$(top_srcdir)/lib | |
28 | ||
29 | LDADD = $(INTLLIBS) ../lib/libbison.a | |
30 | ||
31 | bin_PROGRAMS = bison | |
32 | ||
33 | bison_SOURCES = \ | |
34 | LR0.c LR0.h \ | |
35 | assoc.c assoc.h \ | |
36 | closure.c closure.h \ | |
37 | complain.c complain.h \ | |
38 | conflicts.c conflicts.h \ | |
39 | derives.c derives.h \ | |
40 | files.c files.h \ | |
41 | getargs.c getargs.h \ | |
42 | gram.c gram.h \ | |
43 | lalr.h lalr.c \ | |
44 | location.c location.h \ | |
45 | main.c \ | |
46 | muscle_tab.c muscle_tab.h \ | |
47 | nullable.c nullable.h \ | |
48 | output.c output.h \ | |
49 | parse-gram.h parse-gram.y \ | |
50 | print.c print.h \ | |
51 | print_graph.c print_graph.h \ | |
52 | reader.c reader.h \ | |
53 | reduce.c reduce.h \ | |
54 | relation.c relation.h \ | |
55 | scan-gram.l \ | |
56 | scan-skel.l \ | |
57 | state.c state.h \ | |
58 | symlist.c symlist.h \ | |
59 | symtab.c symtab.h \ | |
60 | system.h \ | |
61 | tables.h tables.c \ | |
62 | vcg.c vcg.h \ | |
63 | vcg_defaults.h | |
64 | ||
65 | BUILT_SOURCES = scan-skel.c scan-gram.c parse-gram.c parse-gram.h | |
66 | ||
67 | EXTRA_bison_SOURCES = vmsgetargs.c | |
68 | ||
69 | EXTRA_DIST = build.com bison.cld vmshlp.mar | |
70 | ||
71 | echo: | |
72 | echo $(bison_SOURCES) $(noinst_HEADERS) |