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