]> git.saurik.com Git - bison.git/blame_incremental - src/Makefile.am
* src/getargs.c (report_argmatch): Initialize strtok().
[bison.git] / src / Makefile.am
... / ...
CommitLineData
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
18AUTOMAKE_OPTIONS = ../lib/ansi2knr
19
20DEFS = @DEFS@ \
21 -DPKGDATADIR=\"$(pkgdatadir)\" \
22 -DLOCALEDIR=\"$(datadir)/locale\"
23
24CFLAGS = @CFLAGS@ $(WARNING_CFLAGS) $(WERROR_CFLAGS)
25YFLAGS = "-dv"
26
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) \
31 -I$(top_srcdir)/intl \
32 -I$(top_srcdir)/lib
33
34LDADD = $(INTLLIBS) ../lib/libbison.a
35
36bin_PROGRAMS = bison
37
38bison_SOURCES = \
39 LR0.c LR0.h \
40 closure.c closure.h \
41 complain.c complain.h \
42 conflicts.c conflicts.h \
43 derives.c derives.h \
44 files.c files.h \
45 getargs.c getargs.h \
46 gram.c gram.h \
47 lalr.h lalr.c \
48 location.c location.h \
49 main.c \
50 muscle_tab.c muscle_tab.h \
51 nullable.c nullable.h \
52 options.c options.h \
53 output.c output.h \
54 parse-gram.h parse-gram.y \
55 print.c print.h \
56 print_graph.c print_graph.h \
57 reader.c reader.h \
58 reduce.c reduce.h \
59 scan-gram.l \
60 scan-skel.l \
61 state.c state.h \
62 symlist.c symlist.h \
63 symtab.c symtab.h \
64 system.h \
65 types.h \
66 vcg.c vcg.h \
67 vcg_defaults.h
68
69BUILT_SOURCES = scan-skel.c scan-gram.c parse-gram.c parse-gram.h
70
71EXTRA_bison_SOURCES = vmsgetargs.c
72
73EXTRA_DIST = build.com bison.cld vmshlp.mar
74
75echo:
76 echo $(bison_SOURCES) $(noinst_HEADERS)