]> granicus.if.org Git - graphviz/commitdiff
Needed to move scipt language bindings to somewhere where it gets built
authorellson <devnull@localhost>
Sat, 26 Mar 2005 17:46:46 +0000 (17:46 +0000)
committerellson <devnull@localhost>
Sat, 26 Mar 2005 17:46:46 +0000 (17:46 +0000)
after the plugins so that plugins are available to be statically linked.

tclpkg/ is suitable, but now it is misnamed since it is not just tcl anymore .... oh well.
It has the advantage that gv can share the same pkgIndex.tcl construction mechanism
for its tcl binding.

configure.ac
lib/Makefile.am
tclpkg/Makefile.am
tclpkg/gv/gv.h [new file with mode: 0644]

index 8c73738317e6d0dd89d129573ff0d15a5d9063bc..36308ee09c650f2cf961bfb7633a5fce3462acdc 100644 (file)
@@ -229,7 +229,7 @@ else
   HAVE_PERL=1
   PERL_ARCHLIB=`perl -e 'use Config; print $Config{archlib};'`
   PERL_INCLUDES=-I$PERL_ARCHLIB/CORE
-  PERL_LIBS=-L$PERL_ARCHLIB/CORE -lperl
+  PERL_LIBS="-L$PERL_ARCHLIB/CORE -lperl"
 fi
 AC_SUBST(HAVE_PERL)
 AC_SUBST(PERL_INCLUDES)
@@ -259,7 +259,7 @@ if test "x$RUBY" = "x"; then
   HAVE_RUBY=0
 else
   HAVE_RUBY=1
-  RUBY_INCLUDES=-I`ruby $(top_srcdir)/config_ruby.rb INCLUDES`
+  RUBY_INCLUDES=-I`ruby $TOP_DIR/config_ruby.rb INCLUDES`
   RUBY_LIBS=-lruby
 fi
 AC_SUBST(HAVE_RUBY)
@@ -1349,7 +1349,6 @@ AC_CONFIG_FILES(Makefile
        lib/ingraphs/Makefile
        lib/gvc/Makefile
        lib/gvc/libgvc.pc
-       lib/gvapi/Makefile
        plugin/Makefile
        plugin/cairo/Makefile
        plugin/gd/Makefile
@@ -1385,6 +1384,7 @@ AC_CONFIG_FILES(Makefile
        tclpkg/tclpathplan/demo/pathplan_data/Makefile
        tclpkg/tkspline/Makefile
        tclpkg/tkspline/demo/Makefile
+       tclpkg/gv/Makefile
        graphviz.spec
        ast_common.h
        )
index f0a6380ffaf842eb0980e81f29b95b5c55f9c2bc..430ffaccfff606fb4db83b315bcd2763b4ea30f0 100644 (file)
@@ -1,6 +1,6 @@
 ## Process this file with automake to produce Makefile.in
 
 SUBDIRS = cdt graph agraph gd pathplan agutil sfio vmalloc ast circogen \
-       dotgen fdpgen neatogen pack twopigen common gvc ingraphs expr gvapi
+       dotgen fdpgen neatogen pack twopigen common gvc ingraphs expr
 
 EXTRA_DIST = Makefile.old
index 746d866056bd586a93df0749be2827a0661a2a1f..3b3dc0cedff497550e341fcbc941ce255f551bd7 100644 (file)
@@ -3,7 +3,7 @@
 pkgindexdir = $(libdir)/@PACKAGE@
 pkgindex_DATA = pkgIndex.tcl
 
-SUBDIRS = tclstubs tkstubs tclhandle gdtclft tcldot tclpathplan tkspline
+SUBDIRS = tclstubs tkstubs tclhandle gdtclft tcldot tclpathplan tkspline gv
 
 pkgIndex.tcl: @TCL_PKGINDEX@ @TK_PKGINDEX@
        echo "# end" >end
diff --git a/tclpkg/gv/gv.h b/tclpkg/gv/gv.h
new file mode 100644 (file)
index 0000000..d972ea1
--- /dev/null
@@ -0,0 +1,17 @@
+/* $Id$ $Revision$ */
+/* vim:set shiftwidth=4 ts=8: */
+
+/**********************************************************
+*      This software is part of the graphviz package      *
+*                http://www.graphviz.org/                 *
+*                                                         *
+*            Copyright (c) 1994-2004 AT&T Corp.           *
+*                and is licensed under the                *
+*            Common Public License, Version 1.0           *
+*                      by AT&T Corp.                      *
+*                                                         *
+*        Information and Software Systems Research        *
+*              AT&T Research, Florham Park NJ             *
+**********************************************************/
+
+#include "render.h"