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