]> granicus.if.org Git - graphviz/commitdiff
make ortho a component of layout engines, not gvc, so that dotlayout has no (well...
authorJohn Ellson <ellson@research.att.com>
Thu, 16 Aug 2012 18:06:57 +0000 (14:06 -0400)
committerJohn Ellson <ellson@research.att.com>
Thu, 16 Aug 2012 18:06:57 +0000 (14:06 -0400)
lib/dotgen/Makefile.am
lib/dotgen2/Makefile.am
lib/gvc/Makefile.am
lib/neatogen/Makefile.am
plugin/dot_layout/Makefile.am
plugin/neato_layout/Makefile.am
tclpkg/tcldot/Makefile.am

index 4c6474c5bf41ab7ede13a783b20cb12d2fd60466..f0e794295becac076fe00029c745337bf9aa472d 100644 (file)
@@ -29,4 +29,10 @@ libdotgen_C_la_SOURCES = acyclic.c class1.c class2.c cluster.c compound.c \
        conc.c decomp.c fastgr.c flat.c dotinit.c mincross.c \
        position.c rank.c sameport.c dotsplines.c aspect.c
 
+if WITH_ORTHO
+libdotgen_C_la_DEPENDENCIES = \
+        $(top_builddir)/lib/ortho/libortho_C.la
+endif
+
+
 EXTRA_DIST = Makefile.old gvdotgen.vcproj
index b27dac2000c35d4814375908a1a7f6a9af57d626..933505169b11692fe7241ef68c9b43a052e3c033 100644 (file)
@@ -24,4 +24,8 @@ endif
 libdotgen2_C_la_LDFLAGS = -no-undefined
 libdotgen2_C_la_SOURCES = dotinit.c level.c minc2.c ns.c groups.c minc_utils.c decomp.c
 
+if WITH_ORTHO
+libdotgen2_C_la_DEPENDENCIES =  $(top_builddir)/lib/ortho/libortho_C.la
+endif
+
 # EXTRA_DIST = dotgen2.vcproj
index b2f88b61ceaf2161450263ce1ad8f91e68cea703..c35508a2fbadd21313bb776b496a9f8d9b8222a6 100644 (file)
@@ -52,10 +52,6 @@ libgvc_C_la_DEPENDENCIES = \
        $(top_builddir)/lib/xdot/libxdot_C.la \
        $(top_builddir)/lib/label/liblabel_C.la \
        $(top_builddir)/lib/common/libcommon_C.la
-if WITH_ORTHO
-libgvc_C_la_LIBADD += $(top_builddir)/lib/ortho/libortho_C.la
-libgvc_C_la_DEPENDENCIES +=  $(top_builddir)/lib/ortho/libortho_C.la
-endif
 if ENABLE_LTDL
 libgvc_C_la_LIBADD += @LIBLTDL@ $(LIBLTDL_LDFLAGS)
 endif
index 13a64631f916fcc91ebf056d3f692db26e391be5..deead2ce250482da8a53a3fa1b3811dd86dee390 100644 (file)
@@ -45,4 +45,9 @@ libneatogen_C_la_SOURCES = adjust.c circuit.c edges.c geometry.c \
     overlap.c call_tri.c \
        compute_hierarchy.c delaunay.c multispline.c $(WITH_IPSEPCOLA_SOURCES)
 
+if WITH_ORTHO
+libneatogen_C_la_DEPENDENCIES = \
+       $(top_builddir)/lib/ortho/libortho_C.la
+endif
+
 EXTRA_DIST = Makefile.old $(IPSEPCOLA_SOURCES) gvneatogen.vcproj
index 6def5985fba9873d380bb35c606987a302f59308..7d03d722b4c198fad136efc9732cd52209c29802 100644 (file)
@@ -27,13 +27,9 @@ 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/dotgen/libdotgen_C.la
-else
-libgvplugin_dot_layout_C_la_LIBADD = \
-       $(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)
@@ -43,6 +39,11 @@ libgvplugin_dot_layout_la_LIBADD = $(libgvplugin_dot_layout_C_la_LIBADD) \
        $(top_builddir)/lib/cdt/libcdt.la \
        $(top_builddir)/lib/pathplan/libpathplan.la $(MATH_LIBS)
        
+if WITH_ORTHO
+libgvplugin_dot_layout_la_LIBADD += \
+       $(top_builddir)/lib/ortho/libortho_C.la 
+endif
+
 if WITH_WIN32
 libgvplugin_dot_layout_la_LDFLAGS += -no-undefined
 libgvplugin_dot_layout_la_LIBADD += $(top_builddir)/lib/$(GRAPH)/lib$(GRAPH).la
index ceb4b522eec715ba78a72667cec800bed35f3136..2c019c46a3211364fa757c41e86d8a3f8530ad94 100644 (file)
@@ -46,6 +46,11 @@ libgvplugin_neato_layout_la_LIBADD = $(libgvplugin_neato_layout_C_la_LIBADD) \
        $(top_builddir)/lib/pathplan/libpathplan.la \
        $(GTS_LIBS) $(IPSEPCOLA_LIBS) $(MATH_LIBS)
        
+if WITH_ORTHO
+libgvplugin_neato_layout_la_LIBADD += \
+       $(top_builddir)/lib/ortho/libortho_C.la 
+endif
+
 if WITH_SFDP
 libgvplugin_neato_layout_C_la_LIBADD += $(top_builddir)/lib/sfdpgen/libsfdpgen_C.la
 endif
index 7989e0283b682b80ea1baffbddd919af562d1415..cdc7c8588dfb1b53ec784c6a0a7b84a18070aa8b 100644 (file)
@@ -98,12 +98,18 @@ libtcldot_builtin_la_LIBADD = $(TCLHANDLE_LIBS) \
        $(top_builddir)/tclpkg/tclstubs/libtclstubs_C.la $(GTS_LIBS)
 
 if WITH_PANGOCAIRO
-libtcldot_builtin_la_LIBADD += $(top_builddir)/plugin/pango/libgvplugin_pango_C.la $(PANGOCAIRO_LIBS) $(PANGOFT2_LIBS)
+libtcldot_builtin_la_LIBADD += \
+       $(top_builddir)/plugin/pango/libgvplugin_pango_C.la $(PANGOCAIRO_LIBS) $(PANGOFT2_LIBS)
 endif
 
 if WITH_LIBGD
-libtcldot_builtin_la_LIBADD += $(top_builddir)/plugin/gd/libgvplugin_gd_C.la
-libtcldot_builtin_la_LIBADD += $(GD_LIBS)
+libtcldot_builtin_la_LIBADD += \
+       $(top_builddir)/plugin/gd/libgvplugin_gd_C.la $(GD_LIBS)
+endif
+
+if WITH_ORTHO
+libtcldot_builtin_la_LIBADD += \
+        $(top_builddir)/lib/ortho/libortho_C.la
 endif
 
 libtcldot_builtin_la_LIBADD += $(EXPAT_LIBS) $(LIBGEN_LIBS) $(SOCKET_LIBS) $(IPSEPCOLA_LIBS) $(MATH_LIBS)