]>
Commit | Line | Data |
---|---|---|
f310d213 | 1 | #names of parser files |
ab137502 JT |
2 | PFILE = bison.simple |
3 | PFILE1 = bison.hairy | |
f310d213 | 4 | |
ab137502 | 5 | INCLUDES = -DXPFILE=\"$(datadir)/$(PFILE)\" \ |
f310d213 JT |
6 | -DXPFILE1=\"$(datadir)/$(PFILE1)\" |
7 | ||
ab137502 | 8 | bin_PROGRAMS = bison |
f310d213 | 9 | |
ab137502 JT |
10 | bison_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 | 15 | EXTRA_bison_SOURCES = vmsgetargs.c |
f310d213 | 16 | |
ab137502 | 17 | bison_LDADD = @ALLOCA@ |
f310d213 JT |
18 | |
19 | noinst_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 |
22 | data_DATA = $(PFILE) $(PFILE1) |
23 | info_TEXINFOS = bison.texinfo | |
24 | man_MANS = bison.1 | |
f310d213 JT |
25 | |
26 | EXTRA_DIST = $(PFILE) $(PFILE1) $(man_MANS) REFERENCES configure.bat \ | |
27 | build.com bison.cld bison.rnh vmshlp.mar | |
28 | ||
29 | bison.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 $@ |