]>
Commit | Line | Data |
---|---|---|
8ebbae2a JT |
1 | ## Process this file with automake to produce Makefile.in -*-Makefile-*- |
2 | AUTOMAKE_OPTIONS = 1.4 ansi2knr | |
3 | ||
4 | bin_PROGRAMS = bison | |
5 | ||
6 | bison_SOURCES = LR0.c allocate.c closure.c conflicts.c derives.c \ | |
7 | files.c getargs.c gram.c lalr.c lex.c main.c nullable.c output.c \ | |
6ed61226 | 8 | print.c reader.c reduce.c symtab.c warshall.c getopt.c getopt1.c |
8ebbae2a JT |
9 | |
10 | EXTRA_bison_SOURCES = vmsgetargs.c | |
11 | ||
8a278a04 | 12 | bison_LDADD = @INTLLIBS@ @ALLOCA@ |
8c44d3ec AD |
13 | |
14 | DEFS = @DEFS@ \ | |
15 | -DXPFILE=\"${datadir}/bison.simple\" \ | |
16 | -DXPFILE1=\"${datadir}/bison.hairy\" \ | |
17 | -DLOCALEDIR=\"${datadir}/locale\" | |
18 | INCLUDES = -I../intl -I$(top_srcdir)/intl -I.. | |
8ebbae2a JT |
19 | |
20 | noinst_HEADERS = alloc.h files.h gram.h lex.h machine.h state.h \ | |
21 | symtab.h system.h types.h getopt.h | |
22 | ||
23 | data_DATA = bison.simple bison.hairy | |
24 | ||
25 | EXTRA_DIST = bison.s1 bison.hairy build.com bison.cld vmshlp.mar | |
26 | ||
27 | bison.simple: bison.s1 Makefile | |
8c44d3ec AD |
28 | sed -e "s/@bison_version@/$(VERSION)/" $(srcdir)/bison.s1 | \ |
29 | awk '\ | |
dbe7f271 | 30 | /^#line/ { printf "#line %d \"$(datadir)/bison.simple\"\n", NR+1; next }\ |
8c44d3ec AD |
31 | { print }' >$@t |
32 | mv $@t $@ | |
8ebbae2a JT |
33 | |
34 | DISTCLEANFILES = bison.simple |