1
## Process this file with automake to produce Makefile.in
8
#LFLAGS = -Pag_yy -olex.yy.c
10
noinst_HEADERS = aghdr.h agraph.h malloc.h vmstub.h grammar.h
12
noinst_LTLIBRARIES = libagraph.la
15
libagraph_la_SOURCES = agerror.c apply.c attr.c \
16
edge.c flatten.c grammar.y graph.c id.c imap.c io.c \
17
mem.c node.c obj.c pend.c rec.c refstr.c scan.l subg.c \
18
utils.c write.c aghdr.h agraph.h malloc.h vmstub.h
20
INCLUDES = -I$(top_srcdir)/cdt
22
scan.o scan.lo : scan.c grammar.h
25
$(LEX) -oscan.t scan.l
26
$(SED) "s/yy/ag_yy/g" < scan.t > scan.c
31
$(SED) "s/yy/ag_yy/g" < y.tab.c > grammar.c
32
$(SED) "s/yy/ag_yy/g" < y.tab.h > grammar.h
37
DISTCLEANFILES = y.output
39
EXTRA_DIST = $(man_MANS) nmakefile Makefile.IN cmpnd.c dotdge.c \
40
grammar.grammar main.c tester.c README grammar.c grammar.h scan.c