Makefile.am 1.18 KB
Newer Older
1 2 3 4
## Process this file with automake to produce Makefile.in

AM_CPPFLAGS =\
    -I. -I.. \
5
    -I $(pythondir)/numpy/core/include/numpy/ \
6 7 8 9 10 11 12 13 14 15
    -I../boost-workaround \
    -DHAVE_CONFIG_H

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

AM_CFLAGS=$(AM_CXXFLAGS)

16
libgraph_tool_correlationsdir = $(pythondir)/graph_tool/correlations
17 18 19 20 21 22 23 24 25

libgraph_tool_correlations_LTLIBRARIES = libgraph_tool_correlations.la

libgraph_tool_correlations_la_includedir = $(pythondir)/graph_tool/include

libgraph_tool_correlations_la_SOURCES = \
    graph_assortativity.cc \
    graph_correlations.cc \
    graph_correlations_imp1.cc \
26 27
    graph_correlations_combined.cc \
    graph_correlations_bind.cc
28 29 30

libgraph_tool_correlations_la_include_HEADERS = \
    graph_assortativity.hh \
31
    graph_correlations.hh
32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48

libgraph_tool_correlations_la_LIBADD = \
    $(PYTHON_LDFLAGS) \
    $(BOOST_LDFLAGS) \
    $(OPENMP_LDFLAGS) \
    -lboost_python \
    -lboost_iostreams \
    -lexpat

# needed for typeinfo objects to work across DSO boundaries.
# see http://gcc.gnu.org/faq.html#dso
libgraph_tool_correlations_la_LDFLAGS = \
    -module \
    -avoid-version \
    -export-dynamic \
    -no-undefined \
    -Wl,-E