]> git.saurik.com Git - bison.git/blame - Makefile.am
Don't declare calloc() and realloc() if not necessary.
[bison.git] / Makefile.am
CommitLineData
3202e651 1## Process this file with automake to produce Makefile.in -*-Makefile-*-
59b31ad9 2AUTOMAKE_OPTIONS = 1.4 ansi2knr
f310d213 3
bbcb769c
JT
4SUBDIRS = intl po
5
ab137502 6bin_PROGRAMS = bison
f310d213 7
ab137502
JT
8bison_SOURCES = LR0.c allocate.c closure.c conflicts.c derives.c \
9 files.c getargs.c gram.c lalr.c lex.c main.c nullable.c output.c \
10 print.c reader.c reduce.c symtab.c warshall.c version.c getopt.c \
11 getopt1.c
f310d213 12
ab137502 13EXTRA_bison_SOURCES = vmsgetargs.c
f310d213 14
ab137502 15bison_LDADD = @ALLOCA@
f310d213
JT
16
17noinst_HEADERS = alloc.h files.h gram.h lex.h machine.h state.h \
18 symtab.h system.h types.h getopt.h
19
9eceb6c6 20data_DATA = bison.simple bison.hairy
ab137502
JT
21info_TEXINFOS = bison.texinfo
22man_MANS = bison.1
f310d213 23
de4d0c75 24EXTRA_DIST = bison.1 bison.s1 bison.hairy REFERENCES configure.bat \
29620c5d 25 build.com bison.cld bison.rnh vmshlp.mar OChangeLog
f310d213
JT
26
27bison.simple: bison.s1 Makefile
de4d0c75 28 -rm -f $@
315f05ae 29 sed -e "/^#line/ s|bison|$(datadir)/bison|" -e "s/@bison_version@/$(VERSION)/" < $(srcdir)/bison.s1 > $@-tmp
f310d213 30 mv $@-tmp $@
e569a435 31
bbcb769c 32DISTCLEANFILES = bison.simple intl/libintl.h