Makefile.am 1.84 KB
Newer Older
Tiago Peixoto's avatar
Tiago Peixoto committed
1 2 3 4 5
## Process this file with automake to produce Makefile.in

AM_CPPFLAGS =\
    -I. -I.. \
    -I../boost-workaround \
6
    -DHAVE_CONFIG_H
Tiago Peixoto's avatar
Tiago Peixoto committed
7 8 9 10 11 12 13 14

AM_CXXFLAGS =\
    -Wall \
    $(PYTHON_CPPFLAGS) \
    $(BOOST_CPPFLAGS)

AM_CFLAGS=$(AM_CXXFLAGS)

15
libgraph_tooldir = $(pythondir)/graph_tool
16

17
libgraph_tool_LTLIBRARIES = libgraph_tool.la
Tiago Peixoto's avatar
Tiago Peixoto committed
18

19
libgraph_tool_la_includedir = $(pythondir)/graph_tool/include
Tiago Peixoto's avatar
Tiago Peixoto committed
20 21 22 23

libgraph_tool_la_SOURCES = \
    graph.hh\
    graph.cc\
24
    graph_python_interface.cc\
Tiago Peixoto's avatar
Tiago Peixoto committed
25 26
    graph_properties.cc\
    graph_correlations.cc\
27
    graph_edge_correlations.cc\
28
    graph_correlations_combined.cc\
Tiago Peixoto's avatar
Tiago Peixoto committed
29 30 31
    graph_correlations_neighbours.cc\
    graph_assortativity.cc\
    graph_clustering.cc\
32
    graph_extended_clustering.cc\
Tiago Peixoto's avatar
Tiago Peixoto committed
33
    graph_generation.cc\
34
    graph_distance.cc\
35
    graph_distance_sampled.cc\
36
    graph_reciprocity.cc\
37
    graph_minimum_spanning_tree.cc\
Tiago Peixoto's avatar
Tiago Peixoto committed
38
    graph_community.cc\
39 40
    graph_community_network.cc\
    graph_line_graph.cc\
41
    graph_betweenness.cc\
Ale Abdo's avatar
Ale Abdo committed
42
    graph_rewiring.cc\
43
    graph_layout.cc\
Tiago Peixoto's avatar
Tiago Peixoto committed
44 45
    graph_io.cc\
    graph_bind.cc\
46
    graphml.cpp\
47 48 49 50
    read_graphviz_spirit.cpp\
    ../boost-workaround/boost/graph/filtered_graph.hpp\
    ../boost-workaround/boost/graph/fruchterman_reingold.hpp\
    ../boost-workaround/boost/graph/graphml.hpp
Tiago Peixoto's avatar
Tiago Peixoto committed
51

52
libgraph_tool_la_include_HEADERS = \
53 54 55 56 57 58 59 60 61 62
    graph_adaptor.hh\
    graph.hh\
    graph_filtering.hh\
    graph_python_interface.hh\
    graph_selectors.hh\
    graph_properties.hh\
    shared_map.hh\
    histogram.hh\
    ../../config.h

Tiago Peixoto's avatar
Tiago Peixoto committed
63 64 65
libgraph_tool_la_LIBADD = \
    $(PYTHON_LDFLAGS) \
    $(BOOST_LDFLAGS) \
66
    $(OPENMP_LDFLAGS) \
Tiago Peixoto's avatar
Tiago Peixoto committed
67 68 69
    -lboost_python \
    -lboost_iostreams \
    -lexpat
70 71 72 73

# needed for typeinfo objects to work across DSO boundaries.
# see http://gcc.gnu.org/faq.html#dso
libgraph_tool_la_LDFLAGS = \
74 75 76 77
    -module \
    -avoid-version \
    -export-dynamic \
    -no-undefined \
78
    $(LD_EXPORT_DYNAMIC)