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

AM_CPPFLAGS =\
    -I. -I.. \
5
    -I../../boost-workaround \
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
    -DHAVE_CONFIG_H

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

AM_CFLAGS=$(AM_CXXFLAGS)

libgraph_tool_generationdir = $(pythondir)/graph_tool/generation

libgraph_tool_generation_LTLIBRARIES = libgraph_tool_generation.la

libgraph_tool_generation_la_includedir = $(pythondir)/graph_tool/include

libgraph_tool_generation_la_SOURCES = \
    graph_generation.cc

libgraph_tool_generation_la_include_HEADERS = \
    graph_generation.hh

libgraph_tool_generation_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_generation_la_LDFLAGS = \
    -module \
    -avoid-version \
    -export-dynamic \
    -no-undefined \
    -Wl,-E