Makefile.am 1.16 KB
Newer Older
1
SUBDIRS = . tests
2

3
AM_CPPFLAGS = -I$(top_srcdir)/src/lib -I$(top_builddir)/src/lib
4
AM_CPPFLAGS += $(BOOST_INCLUDES)
5
AM_CXXFLAGS = $(B10_CXXFLAGS)
6

Jelte Jansen's avatar
Jelte Jansen committed
7
8
9
10
pyexec_LTLIBRARIES = pydnspp.la
pydnspp_la_SOURCES = pydnspp.cc pydnspp_common.cc
pydnspp_la_CPPFLAGS = $(AM_CPPFLAGS) $(PYTHON_INCLUDES)
pydnspp_la_LDFLAGS = $(PYTHON_LDFLAGS)
11

Jelte Jansen's avatar
Jelte Jansen committed
12
13
# directly included from source files, so these don't have their own
# rules
Jelte Jansen's avatar
Jelte Jansen committed
14
EXTRA_DIST = pydnspp_common.h
JINMEI Tatuya's avatar
JINMEI Tatuya committed
15
EXTRA_DIST += edns_python.cc
Jelte Jansen's avatar
Jelte Jansen committed
16
17
18
19
EXTRA_DIST += messagerenderer_python.cc
EXTRA_DIST += message_python.cc
EXTRA_DIST += rrclass_python.cc
EXTRA_DIST += name_python.cc
20
EXTRA_DIST += opcode_python.cc
21
EXTRA_DIST += rcode_python.cc
Jelte Jansen's avatar
Jelte Jansen committed
22
23
24
25
26
EXTRA_DIST += rrset_python.cc
EXTRA_DIST += question_python.cc
EXTRA_DIST += rrttl_python.cc
EXTRA_DIST += rdata_python.cc
EXTRA_DIST += rrtype_python.cc
27
EXTRA_DIST += tsigkey_python.cc
28
29
30

# Python prefers .so, while some OSes (specifically MacOS) use a different
# suffix for dynamic objects.  -module is necessary to work this around.
Jelte Jansen's avatar
Jelte Jansen committed
31
32
33
34
pydnspp_la_LDFLAGS += -module
pydnspp_la_LIBADD = $(top_builddir)/src/lib/dns/libdns++.la
pydnspp_la_LIBADD += $(top_builddir)/src/lib/exceptions/libexceptions.la
pydnspp_la_LIBADD += $(PYTHON_LIB)