mirror of
https://github.com/boostorg/graph.git
synced 2026-02-02 08:52:10 +00:00
Finish renaming bgl-viz to boost_graph
[SVN r36404]
This commit is contained in:
@@ -84,6 +84,7 @@ September 27, 2000.
|
||||
<li><a href="sorted_erdos_renyi_gen.html"><tt>sorted_erdos_renyi_iterator</tt></a>, from Jeremiah Willcock of Indiana University.</li>
|
||||
</ul><br><b>Enhancements</b><br>
|
||||
<ul>
|
||||
<li>Note: the name of the compiled library for GraphViz reading is now called <code>boost_graph</code> rather than <code>bgl-viz</code>.</li>
|
||||
<li><a href="biconnected_components.html"><tt>biconnected_components</tt></a> now has a visitor parameter and supports named parameters, from Janusz Piwowarski.</li>
|
||||
<li><a href="adjacency_matrix.html"><tt>adjacency_matrix</tt></a> now models the <a href="BidirectionalGraph.html">Bidirectional Graph</a> concept.</li>
|
||||
<li><a href="adjacency_list.html"><tt>adjacency_list</tt></a> is now <a href="../../serialization/doc/index.html">Serializable</a>, from Jeremy Siek of Rice University.</li>
|
||||
|
||||
@@ -130,7 +130,7 @@ language.</p>
|
||||
<div class="section" id="building-the-graphviz-readers">
|
||||
<h1><a class="toc-backref" href="#id4" name="building-the-graphviz-readers">Building the GraphViz Readers</a></h1>
|
||||
<p>To use the GraphViz readers, you will need to build and link against
|
||||
the "bgl-viz" library. The library can be built by following the
|
||||
the "boost_graph" library. The library can be built by following the
|
||||
<a class="reference" href="../../../more/getting_started.html#Build_Install">Boost Jam Build Instructions</a> for the subdirectory <tt class="literal"><span class="pre">libs/graph/build</span></tt>.</p>
|
||||
</div>
|
||||
<div class="section" id="deprecated-readers">
|
||||
|
||||
@@ -125,7 +125,7 @@ language.
|
||||
Building the GraphViz Readers
|
||||
-----------------------------
|
||||
To use the GraphViz readers, you will need to build and link against
|
||||
the "bgl-viz" library. The library can be built by following the
|
||||
the "boost_graph" library. The library can be built by following the
|
||||
`Boost Jam Build Instructions`_ for the subdirectory ``libs/graph/build``.
|
||||
|
||||
Deprecated Readers
|
||||
|
||||
88
src/Makefile
88
src/Makefile
@@ -1,88 +0,0 @@
|
||||
# Copyright (c) 2002 Trustees of Indiana University
|
||||
#
|
||||
# Distributed under the Boost Software License, Version 1.0.
|
||||
# (See accompanying file LICENSE_1_0.txt or copy at
|
||||
# http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
# The files in this directory implement the read_graphviz() functions
|
||||
# declared in <boost/graph/graphviz.hpp>. There are both directed
|
||||
# and undirected graph versions of these functions. To use both, you
|
||||
# will need to compile the code generated from graphviz_parser.y twice,
|
||||
# once with -DGRAPHVIZ_DIRECTED=0 and once with -DGRAPHVIZ_DIRECTED=1.
|
||||
#
|
||||
# This Makefile will most likely *not* work on your system.
|
||||
# We have not yet had time to create a portable Makefile.
|
||||
# This is the Makefile we currently use.
|
||||
#
|
||||
|
||||
BOOST = ../../..
|
||||
|
||||
CXX = g++ -ftemplate-depth-50
|
||||
LEX = flex -L
|
||||
YACC = bison -l
|
||||
MV = /bin/mv
|
||||
|
||||
EXTRAFLAGS = -g
|
||||
|
||||
INCLUDES = -I$(BOOST)
|
||||
|
||||
CXXFLAGS = $(INCLUDES) $(EXTRAFLAGS)
|
||||
|
||||
LDFLAAGS =
|
||||
|
||||
LIBS =
|
||||
|
||||
AR = ar
|
||||
|
||||
|
||||
default: libbgl-viz.a libbgl-viz.so
|
||||
|
||||
OBJS = graphviz_graph_lex.o graphviz_digraph_lex.o graphviz_digraph_parser.o graphviz_graph_parser.o
|
||||
|
||||
libbgl-viz.a: $(OBJS)
|
||||
$(AR) -rc libbgl-viz.a $(OBJS)
|
||||
|
||||
GRAPH_SONAME_VERSION = 1
|
||||
|
||||
libbgl-viz.so: $(OBJS)
|
||||
$(CXX) -shared -Wl,-soname -Wl,$@.$(GRAPH_SONAME_VERSION) -o $@.$(GRAPH_SONAME_VERSION) $(OBJS)
|
||||
ln -s $@.$(GRAPH_SONAME_VERSION) $@
|
||||
|
||||
# this next part is a bit strange. We compile graphviz_parser.cpp twice.
|
||||
# Once with for undirected graphs with GRAPHVIZ_DIRECTED=0
|
||||
# and once for directed graphs with GRAPHVIZ_DIRECTED=1.
|
||||
|
||||
graphviz_graph_parser.o: graphviz_graph_parser.cpp
|
||||
$(CXX) -DGRAPHVIZ_DIRECTED=0 $(CXXFLAGS) -c graphviz_graph_parser.cpp -o graphviz_graph_parser.o
|
||||
|
||||
graphviz_digraph_parser.o: graphviz_digraph_parser.cpp
|
||||
$(CXX) -DGRAPHVIZ_DIRECTED=1 $(CXXFLAGS) -c graphviz_digraph_parser.cpp -o graphviz_digraph_parser.o
|
||||
|
||||
graphviz_graph_lex.o: graphviz_graph_lex.cpp graphviz_graph_parser.hpp
|
||||
$(CXX) -DGRAPHVIZ_DIRECTED=0 $(CXXFLAGS) -c graphviz_graph_lex.cpp
|
||||
|
||||
graphviz_digraph_lex.o: graphviz_digraph_lex.cpp graphviz_digraph_parser.hpp
|
||||
$(CXX) -DGRAPHVIZ_DIRECTED=1 $(CXXFLAGS) -c graphviz_digraph_lex.cpp
|
||||
|
||||
graphviz_graph_lex.cpp: graphviz_lex.ll
|
||||
$(LEX) -Pbgl_undir_ -ographviz_graph_lex.cpp graphviz_lex.ll
|
||||
|
||||
graphviz_digraph_lex.cpp: graphviz_lex.ll
|
||||
$(LEX) -Pbgl_dir_ -ographviz_digraph_lex.cpp graphviz_lex.ll
|
||||
|
||||
graphviz_graph_parser.cpp graphviz_graph_parser.hpp: graphviz_parser.yy
|
||||
$(YACC) -p bgl_undir_ -d -v -o graphviz_graph_parser.cpp graphviz_parser.yy
|
||||
mv graphviz_graph_parser.cpp tmp_graphviz_graph_parser.cpp
|
||||
echo "#define GRAPHVIZ_DIRECTED 0" > graphviz_graph_parser.cpp
|
||||
cat tmp_graphviz_graph_parser.cpp >> graphviz_graph_parser.cpp
|
||||
rm tmp_graphviz_graph_parser.cpp
|
||||
|
||||
graphviz_digraph_parser.cpp graphviz_digraph_parser.hpp: graphviz_parser.yy
|
||||
$(YACC) -p bgl_dir_ -d -v -o graphviz_digraph_parser.cpp graphviz_parser.yy
|
||||
mv graphviz_digraph_parser.cpp tmp_graphviz_digraph_parser.cpp
|
||||
echo "#define GRAPHVIZ_DIRECTED 1" > graphviz_digraph_parser.cpp
|
||||
cat tmp_graphviz_digraph_parser.cpp >> graphviz_digraph_parser.cpp
|
||||
rm tmp_graphviz_digraph_parser.cpp
|
||||
|
||||
clean:
|
||||
/bin/rm -rf *.o *.a *.so* *.output graphviz_digraph_parser.cpp graphviz_digraph_parser.hpp graphviz_graph_parser.cpp graphviz_graph_parser.hpp graphviz_digraph_lex.cpp graphviz_graph_lex.cpp
|
||||
Reference in New Issue
Block a user