]> granicus.if.org Git - graphviz/commitdiff
Hook up Glen's new -Tvdx Visio renderer
authorellson <devnull@localhost>
Tue, 31 Mar 2009 15:07:56 +0000 (15:07 +0000)
committerellson <devnull@localhost>
Tue, 31 Mar 2009 15:07:56 +0000 (15:07 +0000)
plugin/Makefile.am
plugin/visio/.cvsignore [new file with mode: 0644]
plugin/visio/Makefile.am [new file with mode: 0644]

index 3a958449d31374e66784a12b3a3cebf757729bad..9ea4acc1bc53a10c0218c6028fbfc918e17e3df5 100644 (file)
@@ -1,6 +1,6 @@
 # $Id$ $Revision$
 ## Process this file with automake to produce Makefile.in
 
-SUBDIRS = core devil gd gdk_pixbuf gdiplus glitz gs gtk lasi ming pango quartz rsvg xlib dot_layout neato_layout
+SUBDIRS = core devil gd gdk_pixbuf gdiplus glitz gs gtk lasi ming pango quartz rsvg visio xlib dot_layout neato_layout
 
 EXTRA_DIST = Makefile.old
diff --git a/plugin/visio/.cvsignore b/plugin/visio/.cvsignore
new file mode 100644 (file)
index 0000000..2ae5817
--- /dev/null
@@ -0,0 +1,7 @@
+*.la
+*.lo
+.deps
+.libs
+Makefile
+Makefile.in
+CMakeFiles CMakeTmp CMakeFiles CMakeCache.txt cmake_install.cmake
diff --git a/plugin/visio/Makefile.am b/plugin/visio/Makefile.am
new file mode 100644 (file)
index 0000000..883883e
--- /dev/null
@@ -0,0 +1,52 @@
+# $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/pathplan \
+       -I$(top_srcdir)/lib/gvc \
+       -I$(top_srcdir)/lib/$(GRAPH) \
+       -I$(top_srcdir)/lib/cdt \
+       $(VISIO_CFLAGS) 
+
+noinst_HEADERS = VisioGraphic.h VisioRender.h VisioText.h
+
+if WITH_VISIO
+noinst_LTLIBRARIES = libgvplugin_visio_C.la
+if WITH_WIN32
+lib_LTLIBRARIES = libgvplugin_visio.la
+else
+pkglib_LTLIBRARIES = libgvplugin_visio.la
+endif
+endif
+
+libgvplugin_visio_C_la_SOURCES = \
+       gvplugin_visio.c \
+       VisioGraphic.cpp \
+       VisioRender.cpp \
+       VisioText.cpp \
+       gvrender_visio_vdx.cpp
+
+libgvplugin_visio_la_LDFLAGS = -version-info @GVPLUGIN_VERSION_INFO@
+libgvplugin_visio_la_SOURCES = $(libgvplugin_visio_C_la_SOURCES)
+libgvplugin_visio_la_LIBADD = \
+       $(top_builddir)/lib/gvc/libgvc.la @VISIO_LIBS@ 
+
+if WITH_WIN32
+libgvplugin_visio_la_LDFLAGS += -no-undefined
+endif
+
+if WITH_DARWIN9
+libgvplugin_visio_la_LDFLAGS += -Wl,-exported_symbol,_gvplugin_visio_LTX_library
+endif
+
+EXTRA_DIST = 
+
+DISTCLEANFILES =