Makefile.am 1.64 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
16
17
18
19
libgraph_tool_ladir = ${pythondir}
libgraph_tool_includedir = $(includedir)/graph_tool
install-data-hook:		
	chmod 755 $(includedir)/graph_tool

Tiago Peixoto's avatar
Tiago Peixoto committed
20
21
22
23
24
25

lib_LTLIBRARIES = libgraph_tool.la

libgraph_tool_la_SOURCES = \
    graph.hh\
    graph.cc\
26
    graph_python_interface.cc\
Tiago Peixoto's avatar
Tiago Peixoto committed
27
28
    graph_properties.cc\
    graph_correlations.cc\
29
    graph_edge_correlations.cc\
30
    graph_correlations_combined.cc\
Tiago Peixoto's avatar
Tiago Peixoto committed
31
32
33
    graph_correlations_neighbours.cc\
    graph_assortativity.cc\
    graph_clustering.cc\
34
    graph_extended_clustering.cc\
Tiago Peixoto's avatar
Tiago Peixoto committed
35
    graph_generation.cc\
36
    graph_distance.cc\
37
    graph_distance_sampled.cc\
38
    graph_reciprocity.cc\
39
    graph_minimum_spanning_tree.cc\
Tiago Peixoto's avatar
Tiago Peixoto committed
40
    graph_community.cc\
41
42
    graph_community_network.cc\
    graph_line_graph.cc\
43
    graph_betweenness.cc\
Ale Abdo's avatar
Ale Abdo committed
44
    graph_rewiring.cc\
45
    graph_layout.cc\
Tiago Peixoto's avatar
Tiago Peixoto committed
46
47
    graph_io.cc\
    graph_bind.cc\
48
    graphml.cpp\
49
50
51
52
    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
53

54
55
56
57
58
59
60
61
62
63
64
libgraph_tool_include_HEADERS = \
    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
65
66
67
libgraph_tool_la_LIBADD = \
    $(PYTHON_LDFLAGS) \
    $(BOOST_LDFLAGS) \
68
    $(OPENMP_LDFLAGS) \
Tiago Peixoto's avatar
Tiago Peixoto committed
69
70
71
    -lboost_python \
    -lboost_iostreams \
    -lexpat