]> git.saurik.com Git - bison.git/blob - Makefile.am
Added support for non-ANSI compilers (ansi2knr).
[bison.git] / Makefile.am
1 ## Process this file with automake to produce Makefile.in -*-Makefile-*-
2 AUTOMAKE_OPTIONS = 1.4 ansi2knr
3
4 bin_PROGRAMS = bison
5
6 bison_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
11 EXTRA_bison_SOURCES = vmsgetargs.c
12
13 bison_LDADD = @ALLOCA@
14
15 noinst_HEADERS = alloc.h files.h gram.h lex.h machine.h state.h \
16 symtab.h system.h types.h getopt.h
17
18 data_DATA = bison.simple bison.hairy
19 info_TEXINFOS = bison.texinfo
20 man_MANS = bison.1
21
22 EXTRA_DIST = bison.1 bison.s1 bison.hairy REFERENCES configure.bat \
23 build.com bison.cld bison.rnh vmshlp.mar OChangeLog
24
25 bison.simple: bison.s1 Makefile
26 -rm -f $@
27 sed -e "/^#line/ s|bison|$(datadir)/bison|" -e "s/@bison_version@/$(VERSION)/" < $(srcdir)/bison.s1 > $@-tmp
28 mv $@-tmp $@
29
30 DISTCLEANFILES = bison.simple