#ifndef WITH_CGRAPH
node[j] = agnode(g, name);
#else /* WITH_CGRAPH */
- node[j] = agnode(g, name, NULL, 1);
- agbindrec(node[j], "Agnodeinfo_t", sizeof(Agnodeinfo_t), TRUE); //node custom data
+ node[j] = agnode(g, name, 1);
+ agbindrec(node[j], "Agnodeinfo_t", sizeof(Agnodeinfo_t), TRUE); //node custom data
#endif /* WITH_CGRAPH */
}
# $Id$ $Revision$
## Process this file with automake to produce Makefile.in
+if WITH_CGRAPH
+GRAPH = cgraph
+else
+GRAPH = graph
+endif
+
AM_CPPFLAGS = \
-I$(top_srcdir) \
-I$(top_srcdir)/lib/common \
-I$(top_srcdir)/lib/gvc \
- -I$(top_srcdir)/lib/graph \
+ -I$(top_srcdir)/lib/$(GRAPH) \
-I$(top_srcdir)/lib/cdt \
-I$(top_srcdir)/lib/pathplan
-if WITH_CGRAPH
-else
noinst_HEADERS = dot.h dotprocs.h aspect.h
noinst_LTLIBRARIES = libdotgen_C.la
-endif
libdotgen_C_la_LDFLAGS = -no-undefined
libdotgen_C_la_SOURCES = acyclic.c class1.c class2.c cluster.c compound.c \