]> git.saurik.com Git - bison.git/blame - Makefile.am
Use prototypes if the compiler understands them.
[bison.git] / Makefile.am
CommitLineData
3202e651
JT
1## Process this file with automake to produce Makefile.in -*-Makefile-*-
2AUTOMAKE_OPTIONS = 1.3
3
f310d213 4#names of parser files
ab137502
JT
5PFILE = bison.simple
6PFILE1 = bison.hairy
f310d213 7
ab137502 8INCLUDES = -DXPFILE=\"$(datadir)/$(PFILE)\" \
f310d213
JT
9 -DXPFILE1=\"$(datadir)/$(PFILE1)\"
10
ab137502 11bin_PROGRAMS = bison
f310d213 12
ab137502
JT
13bison_SOURCES = LR0.c allocate.c closure.c conflicts.c derives.c \
14 files.c getargs.c gram.c lalr.c lex.c main.c nullable.c output.c \
15 print.c reader.c reduce.c symtab.c warshall.c version.c getopt.c \
16 getopt1.c
f310d213 17
ab137502 18EXTRA_bison_SOURCES = vmsgetargs.c
f310d213 19
ab137502 20bison_LDADD = @ALLOCA@
f310d213
JT
21
22noinst_HEADERS = alloc.h files.h gram.h lex.h machine.h state.h \
23 symtab.h system.h types.h getopt.h
24
ab137502
JT
25data_DATA = $(PFILE) $(PFILE1)
26info_TEXINFOS = bison.texinfo
27man_MANS = bison.1
f310d213 28
de4d0c75 29EXTRA_DIST = bison.1 bison.s1 bison.hairy REFERENCES configure.bat \
f310d213
JT
30 build.com bison.cld bison.rnh vmshlp.mar
31
32bison.simple: bison.s1 Makefile
de4d0c75 33 -rm -f $@
f310d213
JT
34 sed -e "/^#line/ s|bison|$(datadir)/bison|" -e "s/@bison_version@/$(VERSION)/" < $< > $@-tmp
35 mv $@-tmp $@