Browse Source

Install the headers for libdns and libexceptions.
I had tested this for building my host.cc outside of bind10 source.
This is for Trac #68.


git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1941 e5f2f494-b856-4b98-b285-d166d9295462

Jeremy C. Reed 15 years ago
parent
commit
2475a5ffc7
2 changed files with 29 additions and 0 deletions
  1. 26 0
      src/lib/dns/Makefile.am
  2. 3 0
      src/lib/exceptions/Makefile.am

+ 26 - 0
src/lib/dns/Makefile.am

@@ -107,3 +107,29 @@ rrtype.h: rrtype-placeholder.h
 rrparamregistry.cc: rrparamregistry-placeholder.cc
 rrclass.h rrtype.h rrparamregistry.cc rdataclass.h rdataclass.cc: Makefile
 	./gen-rdatacode.py
+
+libdns_includedir = $(includedir)/dns
+libdns_include_HEADERS = \
+	buffer.h \
+	dnssectime.h \
+	exceptions.h \
+	message.h \
+	messagerenderer.h \
+	name.h \
+	question.h \
+	rdata.h \
+	rdataclass.h \
+	rrclass.h \
+	rrparamregistry.h \
+	rrset.h \
+	rrsetlist.h \
+	rrttl.h \
+	rrtype.h \
+	tsig.h
+# Purposely not installing these headers:
+# base32.h # used only internally, and not actually DNS specific
+# base64.h # used only internally, and not actually DNS specific
+# hex.h # used only internally, and not actually DNS specific
+# sha1.h # used only internally, and not actually DNS specific
+# rrclass-placeholder.h
+# rrtype-placeholder.h

+ 3 - 0
src/lib/exceptions/Makefile.am

@@ -15,3 +15,6 @@ run_unittests_LDADD = .libs/libexceptions.a $(GTEST_LDADD)
 endif
 
 noinst_PROGRAMS = $(TESTS)
+
+libexceptions_includedir = $(includedir)/exceptions
+libexceptions_include_HEADERS = exceptions.h