]> git.saurik.com Git - bison.git/blob - src/Makefile.am
Point to an official beta.
[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 # libintl.h in is build/intl, intl/libgettext.h in src/,
28 # config.h in build/.
29 INCLUDES = -I$(top_builddir)/intl \
30 -I$(top_builddir) \
31 -I$(top_srcdir)/intl \
32 -I$(top_srcdir)/lib
33
34 LDADD = $(INTLLIBS) ../lib/libbison.a
35
36 bin_PROGRAMS = bison
37
38 bison_SOURCES = LR0.c closure.c complain.c conflicts.c \
39 derives.c \
40 files.c getargs.c gram.c lalr.c lex.c main.c nullable.c \
41 output.h output.c \
42 state.h state.c \
43 print_graph.h print_graph.c \
44 muscle_tab.h muscle_tab.c \
45 options.h options.c \
46 print.c reader.c reduce.c symtab.c vcg.c \
47 scan-skel.l
48
49 BUILT_SOURCES = scan-skel.c
50
51 EXTRA_bison_SOURCES = vmsgetargs.c
52
53 noinst_HEADERS = LR0.h closure.h complain.h conflicts.h \
54 derives.h \
55 files.h getargs.h gram.h lalr.h lex.h nullable.h \
56 print.h reader.h reduce.h symtab.h system.h \
57 types.h vcg.h vcg_defaults.h
58
59 EXTRA_DIST = build.com bison.cld vmshlp.mar