From: erg Date: Tue, 27 Jul 2010 15:33:38 +0000 (+0000) Subject: Add cgraph specific makefiles for dotgen2 X-Git-Tag: LAST_LIBGRAPH~32^2~1240 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=08053d91a9c7a18d4724bc0830f71d79207bc1c5;p=graphviz Add cgraph specific makefiles for dotgen2 --- diff --git a/lib/Makefile.am b/lib/Makefile.am index ae3083375..57e2861c2 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am @@ -1,9 +1,17 @@ # $Id$ $Revision$ ## Process this file with automake to produce Makefile.in + +if WITH_CGRAPH +SUBDIRS = cdt graph cgraph gd pathplan sfio vmalloc ast \ + vpsc rbtree ortho sparse patchwork expr common \ + pack xdot gvc ingraphs topfish glcomp \ + circogen dotgen2 fdpgen neatogen twopigen sfdpgen osage gvpr +else SUBDIRS = cdt graph cgraph gd pathplan sfio vmalloc ast \ vpsc rbtree ortho sparse patchwork expr common \ pack xdot gvc ingraphs topfish glcomp \ circogen dotgen fdpgen neatogen twopigen sfdpgen osage gvpr +endif EXTRA_DIST = Makefile.old gvc.vcproj gvc.def diff --git a/plugin/dot_layout/Makefile.am b/plugin/dot_layout/Makefile.am index c8a3ded56..ef843fb52 100644 --- a/plugin/dot_layout/Makefile.am +++ b/plugin/dot_layout/Makefile.am @@ -27,8 +27,13 @@ endif libgvplugin_dot_layout_C_la_SOURCES = \ gvplugin_dot_layout.c \ gvlayout_dot_layout.c +if WITH_CGRAPH +libgvplugin_dot_layout_C_la_LIBADD = \ + $(top_builddir)/lib/dotgen2/libdotgen2_C.la +else libgvplugin_dot_layout_C_la_LIBADD = \ - $(top_builddir)/lib/dotgen/libdotgen_C.la + $(top_builddir)/lib/dotgen/libdotgen_C.la +endif libgvplugin_dot_layout_la_LDFLAGS = -version-info $(GVPLUGIN_VERSION_INFO) libgvplugin_dot_layout_la_SOURCES = $(libgvplugin_dot_layout_C_la_SOURCES)