]> git.saurik.com Git - bison.git/blame_incremental - Makefile.am
Use prototypes if the compiler understands them.
[bison.git] / Makefile.am
... / ...
CommitLineData
1## Process this file with automake to produce Makefile.in -*-Makefile-*-
2AUTOMAKE_OPTIONS = 1.3
3
4#names of parser files
5PFILE = bison.simple
6PFILE1 = bison.hairy
7
8INCLUDES = -DXPFILE=\"$(datadir)/$(PFILE)\" \
9 -DXPFILE1=\"$(datadir)/$(PFILE1)\"
10
11bin_PROGRAMS = bison
12
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
17
18EXTRA_bison_SOURCES = vmsgetargs.c
19
20bison_LDADD = @ALLOCA@
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
25data_DATA = $(PFILE) $(PFILE1)
26info_TEXINFOS = bison.texinfo
27man_MANS = bison.1
28
29EXTRA_DIST = bison.1 bison.s1 bison.hairy REFERENCES configure.bat \
30 build.com bison.cld bison.rnh vmshlp.mar
31
32bison.simple: bison.s1 Makefile
33 -rm -f $@
34 sed -e "/^#line/ s|bison|$(datadir)/bison|" -e "s/@bison_version@/$(VERSION)/" < $< > $@-tmp
35 mv $@-tmp $@