Makefile.am 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162
  1. SUBDIRS = . tests python benchmarks
  2. AM_CPPFLAGS = -I$(top_srcdir)/src/lib -I$(top_builddir)/src/lib
  3. AM_CPPFLAGS += -I$(top_srcdir)/src/lib/dns -I$(top_builddir)/src/lib/dns
  4. AM_CPPFLAGS += -I$(top_srcdir)/src/lib/util -I$(top_builddir)/src/lib/util
  5. AM_CPPFLAGS += $(BOOST_INCLUDES)
  6. AM_CXXFLAGS = $(B10_CXXFLAGS)
  7. CLEANFILES = *.gcno *.gcda
  8. CLEANFILES += rrclass.h rrtype.h rrparamregistry.cc rdataclass.h rdataclass.cc
  9. EXTRA_DIST = rrclass-placeholder.h
  10. EXTRA_DIST += rrparamregistry-placeholder.cc
  11. EXTRA_DIST += rrtype-placeholder.h
  12. # TODO: double-check that this is the only way
  13. # NOTE: when an rdata file is added, please also add to this list:
  14. EXTRA_DIST += rdata/any_255/tsig_250.cc
  15. EXTRA_DIST += rdata/any_255/tsig_250.h
  16. EXTRA_DIST += rdata/ch_3/a_1.cc
  17. EXTRA_DIST += rdata/ch_3/a_1.h
  18. EXTRA_DIST += rdata/generic/cname_5.cc
  19. EXTRA_DIST += rdata/generic/cname_5.h
  20. EXTRA_DIST += rdata/generic/detail/nsec_bitmap.cc
  21. EXTRA_DIST += rdata/generic/detail/nsec_bitmap.h
  22. EXTRA_DIST += rdata/generic/detail/nsec3param_common.cc
  23. EXTRA_DIST += rdata/generic/detail/nsec3param_common.h
  24. EXTRA_DIST += rdata/generic/detail/txt_like.h
  25. EXTRA_DIST += rdata/generic/detail/ds_like.h
  26. EXTRA_DIST += rdata/generic/dlv_32769.cc
  27. EXTRA_DIST += rdata/generic/dlv_32769.h
  28. EXTRA_DIST += rdata/generic/dname_39.cc
  29. EXTRA_DIST += rdata/generic/dname_39.h
  30. EXTRA_DIST += rdata/generic/dnskey_48.cc
  31. EXTRA_DIST += rdata/generic/dnskey_48.h
  32. EXTRA_DIST += rdata/generic/ds_43.cc
  33. EXTRA_DIST += rdata/generic/ds_43.h
  34. EXTRA_DIST += rdata/generic/hinfo_13.cc
  35. EXTRA_DIST += rdata/generic/hinfo_13.h
  36. EXTRA_DIST += rdata/generic/mx_15.cc
  37. EXTRA_DIST += rdata/generic/mx_15.h
  38. EXTRA_DIST += rdata/generic/naptr_35.cc
  39. EXTRA_DIST += rdata/generic/naptr_35.h
  40. EXTRA_DIST += rdata/generic/ns_2.cc
  41. EXTRA_DIST += rdata/generic/ns_2.h
  42. EXTRA_DIST += rdata/generic/nsec3_50.cc
  43. EXTRA_DIST += rdata/generic/nsec3_50.h
  44. EXTRA_DIST += rdata/generic/nsec3param_51.cc
  45. EXTRA_DIST += rdata/generic/nsec3param_51.h
  46. EXTRA_DIST += rdata/generic/nsec_47.cc
  47. EXTRA_DIST += rdata/generic/nsec_47.h
  48. EXTRA_DIST += rdata/generic/opt_41.cc
  49. EXTRA_DIST += rdata/generic/opt_41.h
  50. EXTRA_DIST += rdata/generic/ptr_12.cc
  51. EXTRA_DIST += rdata/generic/ptr_12.h
  52. EXTRA_DIST += rdata/generic/rp_17.cc
  53. EXTRA_DIST += rdata/generic/rp_17.h
  54. EXTRA_DIST += rdata/generic/rrsig_46.cc
  55. EXTRA_DIST += rdata/generic/rrsig_46.h
  56. EXTRA_DIST += rdata/generic/soa_6.cc
  57. EXTRA_DIST += rdata/generic/soa_6.h
  58. EXTRA_DIST += rdata/generic/spf_99.cc
  59. EXTRA_DIST += rdata/generic/spf_99.h
  60. EXTRA_DIST += rdata/generic/sshfp_44.cc
  61. EXTRA_DIST += rdata/generic/sshfp_44.h
  62. EXTRA_DIST += rdata/generic/txt_16.cc
  63. EXTRA_DIST += rdata/generic/txt_16.h
  64. EXTRA_DIST += rdata/generic/minfo_14.cc
  65. EXTRA_DIST += rdata/generic/minfo_14.h
  66. EXTRA_DIST += rdata/generic/afsdb_18.cc
  67. EXTRA_DIST += rdata/generic/afsdb_18.h
  68. EXTRA_DIST += rdata/hs_4/a_1.cc
  69. EXTRA_DIST += rdata/hs_4/a_1.h
  70. EXTRA_DIST += rdata/in_1/a_1.cc
  71. EXTRA_DIST += rdata/in_1/a_1.h
  72. EXTRA_DIST += rdata/in_1/aaaa_28.cc
  73. EXTRA_DIST += rdata/in_1/aaaa_28.h
  74. EXTRA_DIST += rdata/in_1/dhcid_49.cc
  75. EXTRA_DIST += rdata/in_1/dhcid_49.h
  76. EXTRA_DIST += rdata/in_1/srv_33.cc
  77. EXTRA_DIST += rdata/in_1/srv_33.h
  78. #EXTRA_DIST += rdata/template.cc
  79. #EXTRA_DIST += rdata/template.h
  80. # auto-generate by gen-rdatacode.py:
  81. BUILT_SOURCES = rrclass.h rrtype.h rrparamregistry.cc
  82. BUILT_SOURCES += rdataclass.h rdataclass.cc
  83. lib_LTLIBRARIES = libdns++.la
  84. libdns___la_LDFLAGS = -no-undefined -version-info 1:0:1
  85. libdns___la_SOURCES =
  86. libdns___la_SOURCES += edns.h edns.cc
  87. libdns___la_SOURCES += exceptions.h exceptions.cc
  88. libdns___la_SOURCES += labelsequence.h labelsequence.cc
  89. libdns___la_SOURCES += masterload.h masterload.cc
  90. libdns___la_SOURCES += message.h message.cc
  91. libdns___la_SOURCES += messagerenderer.h messagerenderer.cc
  92. libdns___la_SOURCES += name.h name.cc
  93. libdns___la_SOURCES += nsec3hash.h nsec3hash.cc
  94. libdns___la_SOURCES += opcode.h opcode.cc
  95. libdns___la_SOURCES += rcode.h rcode.cc
  96. libdns___la_SOURCES += rdata.h rdata.cc
  97. libdns___la_SOURCES += rdatafields.h rdatafields.cc
  98. libdns___la_SOURCES += rrclass.cc
  99. libdns___la_SOURCES += rrparamregistry.h
  100. libdns___la_SOURCES += rrset.h rrset.cc
  101. libdns___la_SOURCES += rrsetlist.h rrsetlist.cc
  102. libdns___la_SOURCES += rrttl.h rrttl.cc
  103. libdns___la_SOURCES += rrtype.cc
  104. libdns___la_SOURCES += question.h question.cc
  105. libdns___la_SOURCES += serial.h serial.cc
  106. libdns___la_SOURCES += tsig.h tsig.cc
  107. libdns___la_SOURCES += tsigerror.h tsigerror.cc
  108. libdns___la_SOURCES += tsigkey.h tsigkey.cc
  109. libdns___la_SOURCES += tsigrecord.h tsigrecord.cc
  110. libdns___la_SOURCES += character_string.h character_string.cc
  111. libdns___la_SOURCES += rdata/generic/detail/nsec_bitmap.h
  112. libdns___la_SOURCES += rdata/generic/detail/nsec_bitmap.cc
  113. libdns___la_SOURCES += rdata/generic/detail/nsec3param_common.cc
  114. libdns___la_SOURCES += rdata/generic/detail/nsec3param_common.h
  115. libdns___la_SOURCES += rdata/generic/detail/txt_like.h
  116. libdns___la_SOURCES += rdata/generic/detail/ds_like.h
  117. libdns___la_CPPFLAGS = $(AM_CPPFLAGS)
  118. # Most applications of libdns++ will only implicitly rely on libcryptolink,
  119. # so we add the dependency here so that the applications don't have to link
  120. # libcryptolink explicitly.
  121. libdns___la_LIBADD = $(top_builddir)/src/lib/cryptolink/libcryptolink.la
  122. libdns___la_LIBADD += $(top_builddir)/src/lib/util/libutil.la
  123. nodist_libdns___include_HEADERS = rdataclass.h rrclass.h rrtype.h
  124. nodist_libdns___la_SOURCES = rdataclass.cc rrparamregistry.cc
  125. rrclass.h: rrclass-placeholder.h
  126. rrtype.h: rrtype-placeholder.h
  127. rrparamregistry.cc: rrparamregistry-placeholder.cc
  128. rrclass.h rrtype.h rrparamregistry.cc rdataclass.h rdataclass.cc: Makefile
  129. ./gen-rdatacode.py
  130. libdns___includedir = $(includedir)/dns
  131. libdns___include_HEADERS = \
  132. edns.h \
  133. exceptions.h \
  134. labelsequence.h \
  135. message.h \
  136. messagerenderer.h \
  137. name.h \
  138. question.h \
  139. rcode.h \
  140. rdata.h \
  141. rrparamregistry.h \
  142. rrset.h \
  143. rrsetlist.h \
  144. rrttl.h \
  145. tsigkey.h
  146. # Purposely not installing these headers:
  147. # util/*.h: used only internally, and not actually DNS specific
  148. # rdata/*/detail/*.h: these are internal use only
  149. # rrclass-placeholder.h
  150. # rrtype-placeholder.h