]> git.saurik.com Git - bison.git/blame - Makefile.am
#Included config.h (for definition of PROTOTYPES).
[bison.git] / Makefile.am
CommitLineData
3202e651 1## Process this file with automake to produce Makefile.in -*-Makefile-*-
9eceb6c6 2AUTOMAKE_OPTIONS = 1.4
f310d213 3
ab137502 4bin_PROGRAMS = bison
f310d213 5
ab137502
JT
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
f310d213 10
ab137502 11EXTRA_bison_SOURCES = vmsgetargs.c
f310d213 12
ab137502 13bison_LDADD = @ALLOCA@
f310d213
JT
14
15noinst_HEADERS = alloc.h files.h gram.h lex.h machine.h state.h \
16 symtab.h system.h types.h getopt.h
17
9eceb6c6 18data_DATA = bison.simple bison.hairy
ab137502
JT
19info_TEXINFOS = bison.texinfo
20man_MANS = bison.1
f310d213 21
de4d0c75 22EXTRA_DIST = bison.1 bison.s1 bison.hairy REFERENCES configure.bat \
29620c5d 23 build.com bison.cld bison.rnh vmshlp.mar OChangeLog
f310d213
JT
24
25bison.simple: bison.s1 Makefile
de4d0c75 26 -rm -f $@
315f05ae 27 sed -e "/^#line/ s|bison|$(datadir)/bison|" -e "s/@bison_version@/$(VERSION)/" < $(srcdir)/bison.s1 > $@-tmp
f310d213 28 mv $@-tmp $@
e569a435
JT
29
30DISTCLEANFILES = bison.simple