From: erg Date: Tue, 8 Jul 2008 19:32:50 +0000 (+0000) Subject: Note that integrating into Graphviz tree and build process is optional. X-Git-Tag: LAST_LIBGRAPH~32^2~3872 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c53f58bd768fb941583c77d7c8b76b91112d1420;p=graphviz Note that integrating into Graphviz tree and build process is optional. --- diff --git a/doc/addingLayout.txt b/doc/addingLayout.txt index 2c08b46e1..777b13235 100644 --- a/doc/addingLayout.txt +++ b/doc/addingLayout.txt @@ -178,11 +178,23 @@ statically know about layout algorithms. Software configuration - automake +If you want to integrate your code into the Graphviz software +and use its build system, follow the instructions below. +You can certainly build and install your plugin using your own +build software. + +0. Put your software in lib/xxxgen, and added the hooks describe above +into gvlayout_neato_layout.c 1. In lib/xxxgen, provide a Makefile.am (based on a simple example +like lib/fdpgen/Makefile.am) 3. In lib/Makefile.am, add xxxgen to SUBDIRS 2. In configure.ac, add lib/xxxgen/Makefile to AC_CONFIG_FILES. -like lib/fdpgen/Makefile.am) 4. In lib/plugin/neato_layout/Makefile.am, insert $(top_builddir)/lib/xxxgen/libxxxgen_C.la in libgvplugin_neato_layout_C_la_LIBADD 5. Remember to run autogen.sh because on its own configure can guess wrong. + +This also assumes you have a good version of the various automake tools +on your system. + +