File: Makefile.am

package info (click to toggle)
graphviz 2.8-3%2Betch1
  • links: PTS
  • area: main
  • in suites: etch
  • size: 20,480 kB
  • ctags: 22,071
  • sloc: ansic: 163,260; cpp: 36,565; sh: 25,024; yacc: 2,358; tcl: 1,808; makefile: 1,745; cs: 805; perl: 801; ml: 649; awk: 160; lex: 153; python: 105; ruby: 32; php: 6
file content (47 lines) | stat: -rw-r--r-- 1,148 bytes parent folder | download | duplicates (2)
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
## Process this file with automake to produce Makefile.in

pdfdir = $(pkgdatadir)/doc/pdf
pkgconfigdir = $(libdir)/pkgconfig

man = graph.3
pdf = graph.pdf

AM_CPPFLAGS = \
	-I$(top_srcdir) \
	-I$(top_srcdir)/lib/cdt

pkginclude_HEADERS = graph.h libgraph.h triefa.h parser.h agxbuf.h
pkglib_LTLIBRARIES = libgraph.la
pkgconfig_DATA = libgraph.pc
man_MANS = $(man)
pdf_DATA = $(pdf)

libgraph_la_LDFLAGS = -version-info @VERSION_INFO@ -no-undefined

libgraph_la_SOURCES = attribs.c agxbuf.c edge.c graph.c graphio.c lexer.c \
	node.c parser.y refstr.c trie.c
 
libgraph_la_LIBADD = $(top_builddir)/lib/cdt/libcdt.la

lexer.o lexer.lo: parser.h

parser.c: y.output
	@SED@ "s/yy/ag/g" < y.tab.c > parser.c

parser.h: y.output
	@SED@ "s/yy/ag/g" < y.tab.h > parser.h

y.output: $(top_srcdir)/lib/graph/parser.y
	@YACC@ -dv $(top_srcdir)/lib/graph/parser.y

# this is a home-made tool
# trie.c : trie_input
#       triegen  < trie_input > trie.c

.3.pdf:
	groff -Tps -man $< | ps2pdf - - > $@

EXTRA_DIST = $(man) $(pdf) triefa.cP parser.grammar \
	Makefile.old parser.c parser.h y.output

DISTCLEANFILES = y.output parser.c parser.h y.tab.[ch] $(pdf)