12345678910111213141516171819202122232425262728293031323334353637383940 |
- SUBDIRS = . tests
- AM_CPPFLAGS = -I$(top_srcdir)/src/lib -I$(top_builddir)/src/lib
- AM_CPPFLAGS += $(BOOST_INCLUDES)
- AM_CXXFLAGS = $(B10_CXXFLAGS)
- pyexec_LTLIBRARIES = pydnspp.la
- pydnspp_la_SOURCES = pydnspp.cc pydnspp_common.cc pydnspp_towire.h
- pydnspp_la_SOURCES += name_python.cc name_python.h
- pydnspp_la_SOURCES += messagerenderer_python.cc messagerenderer_python.h
- pydnspp_la_SOURCES += rcode_python.cc rcode_python.h
- pydnspp_la_SOURCES += tsigkey_python.cc tsigkey_python.h
- pydnspp_la_SOURCES += tsigerror_python.cc tsigerror_python.h
- pydnspp_la_SOURCES += tsig_rdata_python.cc tsig_rdata_python.h
- pydnspp_la_SOURCES += tsigrecord_python.cc tsigrecord_python.h
- pydnspp_la_SOURCES += tsig_python.cc tsig_python.h
- pydnspp_la_CPPFLAGS = $(AM_CPPFLAGS) $(PYTHON_INCLUDES)
- pydnspp_la_LDFLAGS = $(PYTHON_LDFLAGS)
- # directly included from source files, so these don't have their own
- # rules
- EXTRA_DIST = pydnspp_common.h
- EXTRA_DIST += edns_python.cc
- EXTRA_DIST += message_python.cc
- EXTRA_DIST += rrclass_python.cc
- EXTRA_DIST += opcode_python.cc
- 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
- EXTRA_DIST += tsigerror_python_inc.cc
- # Python prefers .so, while some OSes (specifically MacOS) use a different
- # suffix for dynamic objects. -module is necessary to work this around.
- 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)
|