Makefile.am 805 Bytes
Newer Older
1
2
AM_CPPFLAGS = -I$(top_srcdir)/src/lib -I$(top_builddir)/src/lib
AM_CPPFLAGS += -I$(top_srcdir)/src/lib/dns -I$(top_builddir)/src/lib/dns
3

4
5
AM_CXXFLAGS = $(B10_CXXFLAGS) -Wno-strict-aliasing
AM_CXXFLAGS += -Wno-unused-parameter # see src/lib/cc/Makefile.am
6
7
8
9
10
11
12

CLEANFILES = *.gcno *.gcda

lib_LTLIBRARIES = libxfr.la
libxfr_la_SOURCES = xfrout_client.h xfrout_client.cc 
libxfr_la_SOURCES += fd_share.h fd_share.cc

13
pyexec_LTLIBRARIES = libxfr_python.la
14
15
16
# Python prefers .so, while some OSes (specifically MacOS) use a different
# suffix for dynamic objects.  -module is necessary to work this around.
libxfr_python_la_LDFLAGS = -module
17
libxfr_python_la_SOURCES = fdshare_python.cc fd_share.cc fd_share.h
18
libxfr_python_la_CPPFLAGS = $(AM_CPPFLAGS) $(PYTHON_INCLUDES)
19
libxfr_python_la_CXXFLAGS = $(AM_CXXFLAGS)