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