aboutsummaryrefslogtreecommitdiff
path: root/tools/bison++/Makefile.am
blob: b25b23b2f966c0663e82c4f88de2c390efbc164e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
bin_PROGRAMS = bison++
AUTOMAKE_OPTIONS = foreign 

bison___SOURCES = closure.cc \
			derives.cc \
			getargs.cc \
			getopt1.cc \
			lalr.cc  \
			lr0.cc \
			nullable.cc \
			print.cc \
			reduce.cc \
			version.cc \
			warshall.cc \
			allocate.cc \
			conflict.cc \
			files.cc \
			getopt.cc \
			gram.cc \
			lex.cc \
			main.cc \
			output.cc \
			reader.cc \
			symtab.cc\
			old.c 

info_TEXINFOS = bison.texinfo
man_MANS = bison++.1 bison.1 bison++.yacc.1
pkgdata_DATA = bison.cc bison.hairy bison.h Example
CXX=g++
PFILE = bison.cc
PFILE1 = bison.hairy
HFILE = bison.h
INCLUDES = -DXPFILE=\"$(datadir)/bison++/$(PFILE)\" \
	 -DXHFILE=\"$(datadir)/bison++/$(HFILE)\" \
	 -DXPFILE1=\"$(datadir)/bison++/$(PFILE1)\"

install-exec-hook:
	cp bison $(bindir)
	cp bison++.yacc $(bindir)

uninstall-hook:
	rm $(bindir)/bison++.yacc
	rm $(bindir)/bison