]> git.saurik.com Git - bison.git/blob - Makefile.am
Require Automake 1.3 or later.
[bison.git] / Makefile.am
1 ## Process this file with automake to produce Makefile.in -*-Makefile-*-
2 AUTOMAKE_OPTIONS = 1.3
3
4 #names of parser files
5 PFILE = bison.simple
6 PFILE1 = bison.hairy
7
8 INCLUDES = -DXPFILE=\"$(datadir)/$(PFILE)\" \
9 -DXPFILE1=\"$(datadir)/$(PFILE1)\"
10
11 bin_PROGRAMS = bison
12
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
17
18 EXTRA_bison_SOURCES = vmsgetargs.c
19
20 bison_LDADD = @ALLOCA@
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
25 data_DATA = $(PFILE) $(PFILE1)
26 info_TEXINFOS = bison.texinfo
27 man_MANS = bison.1
28
29 EXTRA_DIST = bison.1 bison.s1 bison.hairy REFERENCES configure.bat \
30 build.com bison.cld bison.rnh vmshlp.mar
31
32 bison.simple: bison.s1 Makefile
33 -rm -f $@
34 sed -e "/^#line/ s|bison|$(datadir)/bison|" -e "s/@bison_version@/$(VERSION)/" < $< > $@-tmp
35 mv $@-tmp $@