]> git.saurik.com Git - bison.git/blame_incremental - src/Makefile.am
* src/system.h: We don't need nor want bcopy.
[bison.git] / src / Makefile.am
... / ...
CommitLineData
1## Copyright 2001 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 -DBISON_SIMPLE=\"$(pkgdatadir)/bison.simple\" \
22 -DBISON_HAIRY=\"$(pkgdatadir)/bison.hairy\" \
23 -DLOCALEDIR=\"$(datadir)/locale\"
24
25CFLAGS = @CFLAGS@ $(WARNING_CFLAGS)
26YFLAGS = "-dv"
27
28# libintl.h in is build/intl, intl/libgettext.h in src/,
29# config.h in build/.
30INCLUDES = -I$(top_builddir)/intl \
31 -I$(top_builddir) \
32 -I$(top_srcdir)/intl \
33 -I$(top_srcdir)/lib
34
35LDADD = $(INTLLIBS) ../lib/libbison.a
36
37bin_PROGRAMS = bison
38
39bison_SOURCES = LR0.c closure.c complain.c conflicts.c \
40 derives.c \
41 files.c getargs.c gram.c lalr.c lex.c main.c nullable.c \
42 output.h output.c \
43 state.h state.c \
44 print_graph.h print_graph.c \
45 muscle_tab.h muscle_tab.c \
46 options.h options.c \
47 print.c reader.c reduce.c symtab.c warshall.c vcg.c \
48 parse-skel.y scan-skel.l
49
50EXTRA_bison_SOURCES = vmsgetargs.c
51
52noinst_HEADERS = LR0.h closure.h complain.h conflicts.h \
53 derives.h \
54 files.h getargs.h gram.h lalr.h lex.h nullable.h \
55 print.h reader.h reduce.h symtab.h warshall.h system.h \
56 types.h vcg.h vcg_defaults.h
57
58pkgdata_DATA = bison.simple bison.hairy
59
60EXTRA_DIST = $(pkgdata_DATA) build.com bison.cld vmshlp.mar