# $Id$ $Revision$
## Process this file with automake to produce Makefile.in
+if WITH_CGRAPH
+GRAPH = cgraph
+else
+GRAPH = graph
+endif
+
pkgconfigdir = $(libdir)/pkgconfig
AM_CPPFLAGS = \
-I$(top_srcdir)/lib/neatogen \
-I$(top_srcdir)/lib/pack \
-I$(top_srcdir)/lib/pathplan \
- -I$(top_srcdir)/lib/graph \
+ -I$(top_srcdir)/lib/$(GRAPH) \
-I$(top_srcdir)/lib/cdt
-if WITH_CGRAPH
-else
noinst_HEADERS = block.h blockpath.h blocktree.h circo.h \
circpos.h circular.h deglist.h edgelist.h nodelist.h \
nodeset.h stack.h
noinst_LTLIBRARIES = libcircogen_C.la
-endif
libcircogen_C_la_SOURCES = circularinit.c nodelist.c block.c edgelist.c \
stack.c circular.c deglist.c blocktree.c blockpath.c \
# $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/neatogen \
-I$(top_srcdir)/lib/pack \
-I$(top_srcdir)/lib/pathplan \
- -I$(top_srcdir)/lib/graph \
+ -I$(top_srcdir)/lib/$(GRAPH) \
-I$(top_srcdir)/lib/cdt
-if WITH_CGRAPH
-else
noinst_HEADERS = comp.h dbg.h fdp.h grid.h tlayout.h xlayout.h \
clusteredges.h
noinst_LTLIBRARIES = libfdpgen_C.la
-endif
libfdpgen_C_la_SOURCES = comp.c dbg.c grid.c fdpinit.c layout.c \
tlayout.c xlayout.c clusteredges.c
# $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/neatogen \
-I$(top_srcdir)/lib/pack \
-I$(top_srcdir)/lib/pathplan \
- -I$(top_srcdir)/lib/graph \
+ -I$(top_srcdir)/lib/$(GRAPH) \
-I$(top_srcdir)/lib/cdt
-if WITH_CGRAPH
-else
noinst_HEADERS = circle.h
noinst_LTLIBRARIES = libtwopigen_C.la
-endif
libtwopigen_C_la_SOURCES = twopiinit.c circle.c