]> git.saurik.com Git - bison.git/blame - src/Makefile.am
# no changes
[bison.git] / src / Makefile.am
CommitLineData
8ebbae2a
JT
1## Process this file with automake to produce Makefile.in -*-Makefile-*-
2AUTOMAKE_OPTIONS = 1.4 ansi2knr
3
4bin_PROGRAMS = bison
5
6bison_SOURCES = LR0.c allocate.c closure.c conflicts.c derives.c \
7 files.c getargs.c gram.c lalr.c lex.c main.c nullable.c output.c \
8 print.c reader.c reduce.c symtab.c warshall.c version.c getopt.c \
9 getopt1.c
10
11EXTRA_bison_SOURCES = vmsgetargs.c
12
8a278a04
JT
13bison_LDADD = @INTLLIBS@ @ALLOCA@
14INCLUDES = -I../intl -I$(top_srcdir)/intl
8ebbae2a
JT
15
16noinst_HEADERS = alloc.h files.h gram.h lex.h machine.h state.h \
17 symtab.h system.h types.h getopt.h
18
19data_DATA = bison.simple bison.hairy
20
21EXTRA_DIST = bison.s1 bison.hairy build.com bison.cld vmshlp.mar
22
23bison.simple: bison.s1 Makefile
24 -rm -f $@
25 sed -e "/^#line/ s|bison|$(datadir)/bison|" -e "s/@bison_version@/$(VERSION)/" < $(srcdir)/bison.s1 > $@-tmp
26 mv $@-tmp $@
27
28DISTCLEANFILES = bison.simple