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