if WITH_CGRAPH
GRAPH = cgraph
+COMMON = common_cgraph
+NEATOGEN = neatogen_cgraph
else
GRAPH = graph
+COMMON = cgraph
+NEATOGEN = neatogen
endif
AM_CPPFLAGS = -I$(top_srcdir) \
- -I$(top_srcdir)/lib/common \
+ -I$(top_srcdir)/lib/$(COMMON) \
-I$(top_srcdir)/lib/gvc \
- -I$(top_srcdir)/lib/neatogen \
+ -I$(top_srcdir)/lib/$(NEATOGEN) \
-I$(top_srcdir)/lib/pathplan \
-I$(top_srcdir)/lib/$(GRAPH) \
-I$(top_srcdir)/lib/cdt
**********************************************************/
-#include <render.h>
-#include <pack.h>
#include <ctype.h>
+#include "render.h"
+#include "pack.h"
#define MARKED(n) ((n)->u.mark)
#define MARK(n) ((n)->u.mark = 1)
# $Id$ $Revision$
## Process this file with automake to produce Makefile.in
+if WITH_CGRAPH
+GRAPH = cgraph
+COMMON = common_cgraph
+NEATOGEN = neatogen_cgraph
+FDPGEN = fdpgen_cgraph
+else
+GRAPH = graph
+COMMON = common
+NEATOGEN = neatogen
+FDPGEN = fdpgen
+endif
+
AM_CPPFLAGS = \
-I$(top_srcdir) \
- -I$(top_srcdir)/lib/common \
+ -I$(top_srcdir)/lib/$(COMMON) \
-I$(top_srcdir)/lib/gvc \
- -I$(top_srcdir)/lib/neatogen \
+ -I$(top_srcdir)/lib/$(NEATOGEN) \
+ -I$(top_srcdir)/lib/$(FDPGEN) \
-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 = patchwork.h
noinst_LTLIBRARIES = libpatchwork_C.la
+endif
libpatchwork_C_la_SOURCES = patchwork.c patchworkinit.c