File: Makefile.am

package info (click to toggle)
graphviz 1.7.16-2
  • links: PTS
  • area: non-free
  • in suites: woody
  • size: 11,124 kB
  • ctags: 12,650
  • sloc: ansic: 131,002; sh: 7,483; makefile: 1,954; tcl: 1,760; yacc: 1,758; perl: 253; awk: 150; lex: 96
file content (36 lines) | stat: -rw-r--r-- 799 bytes parent folder | download
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
## Process this file with automake to produce Makefile.in

AUTOMAKE_OPTIONS = 1.4

LIBS=

#YFLAGS = -dv -pag
#LFLAGS = -Pag -olex.yy.c

noinst_HEADERS = graph.h libgraph.h triefa.h parser.h
noinst_LTLIBRARIES = libgraph.la
man_MANS = graph.3

libgraph_la_SOURCES = attribs.c edge.c graph.c graphio.c lexer.c node.c \
	parser.y refstr.c trie.c graph.h libgraph.h

INCLUDES = -I$(top_srcdir)/cdt

lexer.o lexer.lo : parser.h

parser.c : parser.y
	$(YACC) -dv parser.y
	$(SED) "s/yy/ag/g" < y.tab.c > parser.c
	$(SED) "s/yy/ag/g" < y.tab.h > parser.h
	rm y.tab.c y.tab.h

parser.h : parser.c

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

DISTCLEANFILES = y.output

EXTRA_DIST = $(man_MANS) triefa.cP parser.grammar \
	nmakefile Makefile.IN parser.c parser.h