]>
Commit | Line | Data |
---|---|---|
3202e651 JT |
1 | ## Process this file with automake to produce Makefile.in -*-Makefile-*- |
2 | AUTOMAKE_OPTIONS = 1.3 | |
3 | ||
f310d213 | 4 | #names of parser files |
ab137502 JT |
5 | PFILE = bison.simple |
6 | PFILE1 = bison.hairy | |
f310d213 | 7 | |
ab137502 | 8 | INCLUDES = -DXPFILE=\"$(datadir)/$(PFILE)\" \ |
f310d213 JT |
9 | -DXPFILE1=\"$(datadir)/$(PFILE1)\" |
10 | ||
ab137502 | 11 | bin_PROGRAMS = bison |
f310d213 | 12 | |
ab137502 JT |
13 | bison_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 | 18 | EXTRA_bison_SOURCES = vmsgetargs.c |
f310d213 | 19 | |
ab137502 | 20 | bison_LDADD = @ALLOCA@ |
f310d213 JT |
21 | |
22 | noinst_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 |
25 | data_DATA = $(PFILE) $(PFILE1) |
26 | info_TEXINFOS = bison.texinfo | |
27 | man_MANS = bison.1 | |
f310d213 | 28 | |
de4d0c75 | 29 | EXTRA_DIST = bison.1 bison.s1 bison.hairy REFERENCES configure.bat \ |
f310d213 JT |
30 | build.com bison.cld bison.rnh vmshlp.mar |
31 | ||
32 | bison.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 $@ |