/contrib/bind9/lib/dns/Makefile.in

https://bitbucket.org/freebsd/freebsd-head/ · Autoconf · 183 lines · 121 code · 43 blank · 19 comment · 0 complexity · 11008d65331dffe2d35dbedb20f7713d MD5 · raw file

  1. # Copyright (C) 2004-2012 Internet Systems Consortium, Inc. ("ISC")
  2. # Copyright (C) 1998-2003 Internet Software Consortium.
  3. #
  4. # Permission to use, copy, modify, and/or distribute this software for any
  5. # purpose with or without fee is hereby granted, provided that the above
  6. # copyright notice and this permission notice appear in all copies.
  7. #
  8. # THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
  9. # REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
  10. # AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
  11. # INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
  12. # LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
  13. # OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
  14. # PERFORMANCE OF THIS SOFTWARE.
  15. # $Id$
  16. srcdir = @srcdir@
  17. VPATH = @srcdir@
  18. top_srcdir = @top_srcdir@
  19. # Attempt to disable parallel processing.
  20. .NOTPARALLEL:
  21. .NO_PARALLEL:
  22. @BIND9_VERSION@
  23. @LIBDNS_API@
  24. @BIND9_MAKE_INCLUDES@
  25. USE_ISC_SPNEGO = @USE_ISC_SPNEGO@
  26. CINCLUDES = -I. -Iinclude ${DNS_INCLUDES} \
  27. ${ISC_INCLUDES} @DST_OPENSSL_INC@ @DST_GSSAPI_INC@
  28. CDEFINES = -DUSE_MD5 @USE_OPENSSL@ @USE_GSSAPI@ ${USE_ISC_SPNEGO}
  29. CWARNINGS =
  30. ISCLIBS = ../../lib/isc/libisc.@A@
  31. ISCDEPLIBS = ../../lib/isc/libisc.@A@
  32. LIBS = @LIBS@
  33. # Alphabetically
  34. OPENSSLLINKOBJS = openssl_link.@O@ openssldh_link.@O@ openssldsa_link.@O@ \
  35. opensslgost_link.@O@ opensslrsa_link.@O@
  36. DSTOBJS = @DST_EXTRA_OBJS@ @OPENSSLLINKOBJS@ \
  37. dst_api.@O@ dst_lib.@O@ dst_parse.@O@ dst_result.@O@ \
  38. gssapi_link.@O@ gssapictx.@O@ hmac_link.@O@ key.@O@
  39. # Alphabetically
  40. DNSOBJS = acache.@O@ acl.@O@ adb.@O@ byaddr.@O@ \
  41. cache.@O@ callbacks.@O@ compress.@O@ \
  42. db.@O@ dbiterator.@O@ dbtable.@O@ diff.@O@ dispatch.@O@ \
  43. dlz.@O@ dns64.@O@ dnssec.@O@ ds.@O@ forward.@O@ iptable.@O@ \
  44. journal.@O@ keydata.@O@ keytable.@O@ \
  45. lib.@O@ log.@O@ lookup.@O@ \
  46. master.@O@ masterdump.@O@ message.@O@ \
  47. name.@O@ ncache.@O@ nsec.@O@ nsec3.@O@ order.@O@ peer.@O@ \
  48. portlist.@O@ private.@O@ \
  49. rbt.@O@ rbtdb.@O@ rbtdb64.@O@ rcode.@O@ rdata.@O@ \
  50. rdatalist.@O@ rdataset.@O@ rdatasetiter.@O@ rdataslab.@O@ \
  51. request.@O@ resolver.@O@ result.@O@ rootns.@O@ rpz.@O@ \
  52. rriterator.@O@ sdb.@O@ \
  53. sdlz.@O@ soa.@O@ ssu.@O@ ssu_external.@O@ \
  54. stats.@O@ tcpmsg.@O@ time.@O@ timer.@O@ tkey.@O@ \
  55. tsec.@O@ tsig.@O@ ttl.@O@ validator.@O@ \
  56. version.@O@ view.@O@ xfrin.@O@ zone.@O@ zonekey.@O@ zt.@O@
  57. OBJS= ${DNSOBJS} ${OTHEROBJS} ${DSTOBJS}
  58. # Alphabetically
  59. OPENSSLLINKSRCS = openssl_link.c openssldh_link.c openssldsa_link.c \
  60. opensslgost_link.c opensslrsa_link.c
  61. DSTSRCS = @DST_EXTRA_SRCS@ @OPENSSLLINKSRCS@ \
  62. dst_api.c dst_lib.c dst_parse.c \
  63. dst_result.c gssapi_link.c gssapictx.c \
  64. hmac_link.c key.c
  65. DNSSRCS = acache.c acl.c adb.c byaddr.c \
  66. cache.c callbacks.c compress.c \
  67. db.c dbiterator.c dbtable.c diff.c dispatch.c \
  68. dlz.c dns64.c dnssec.c ds.c forward.c iptable.c journal.c \
  69. keydata.c keytable.c lib.c log.c lookup.c \
  70. master.c masterdump.c message.c \
  71. name.c ncache.c nsec.c nsec3.c order.c peer.c portlist.c \
  72. rbt.c rbtdb.c rbtdb64.c rcode.c rdata.c rdatalist.c \
  73. rdataset.c rdatasetiter.c rdataslab.c request.c \
  74. resolver.c result.c rootns.c rpz.c rriterator.c \
  75. sdb.c sdlz.c soa.c ssu.c ssu_external.c \
  76. stats.c tcpmsg.c time.c timer.c tkey.c \
  77. tsec.c tsig.c ttl.c validator.c \
  78. version.c view.c xfrin.c zone.c zonekey.c zt.c ${OTHERSRCS}
  79. SRCS = ${DSTSRCS} ${DNSSRCS}
  80. SUBDIRS = include
  81. TARGETS = include/dns/enumtype.h include/dns/enumclass.h \
  82. include/dns/rdatastruct.h timestamp
  83. TESTDIRS = @UNITTESTS@
  84. DEPENDEXTRA = ./gen -F include/dns/rdatastruct.h \
  85. -s ${srcdir} -d >> Makefile ;
  86. @BIND9_MAKE_RULES@
  87. version.@O@: version.c
  88. ${LIBTOOL_MODE_COMPILE} ${CC} ${ALL_CFLAGS} \
  89. -DVERSION=\"${VERSION}\" \
  90. -DLIBINTERFACE=${LIBINTERFACE} \
  91. -DLIBREVISION=${LIBREVISION} \
  92. -DLIBAGE=${LIBAGE} \
  93. -c ${srcdir}/version.c
  94. libdns.@SA@: ${OBJS}
  95. ${AR} ${ARFLAGS} $@ ${OBJS}
  96. ${RANLIB} $@
  97. libdns.la: ${OBJS}
  98. ${LIBTOOL_MODE_LINK} \
  99. ${CC} ${ALL_CFLAGS} ${LDFLAGS} -o libdns.la -rpath ${libdir} \
  100. -version-info ${LIBINTERFACE}:${LIBREVISION}:${LIBAGE} \
  101. ${OBJS} ${ISCLIBS} @DNS_CRYPTO_LIBS@ ${LIBS}
  102. timestamp: libdns.@A@
  103. touch timestamp
  104. installdirs:
  105. $(SHELL) ${top_srcdir}/mkinstalldirs ${DESTDIR}${libdir}
  106. install:: timestamp installdirs
  107. ${LIBTOOL_MODE_INSTALL} ${INSTALL_DATA} libdns.@A@ ${DESTDIR}${libdir}
  108. clean distclean::
  109. rm -f libdns.@A@ timestamp
  110. rm -f gen code.h include/dns/enumtype.h include/dns/enumclass.h
  111. rm -f include/dns/rdatastruct.h
  112. newrr::
  113. rm -f code.h include/dns/enumtype.h include/dns/enumclass.h
  114. rm -f include/dns/rdatastruct.h
  115. include: include/dns/enumtype.h include/dns/enumclass.h \
  116. include/dns/rdatastruct.h
  117. rdata.@O@: code.h
  118. include/dns/enumtype.h: gen
  119. ./gen -s ${srcdir} -t > $@
  120. include/dns/enumclass.h: gen
  121. ./gen -s ${srcdir} -c > $@
  122. include/dns/rdatastruct.h: gen \
  123. ${srcdir}/rdata/rdatastructpre.h \
  124. ${srcdir}/rdata/rdatastructsuf.h
  125. ./gen -s ${srcdir} -i \
  126. -P ${srcdir}/rdata/rdatastructpre.h \
  127. -S ${srcdir}/rdata/rdatastructsuf.h > $@
  128. code.h: gen
  129. ./gen -s ${srcdir} > code.h
  130. gen: gen.c
  131. ${BUILD_CC} ${BUILD_CFLAGS} -I${top_srcdir}/lib/isc/include \
  132. ${BUILD_CPPFLAGS} ${BUILD_LDFLAGS} -o $@ ${srcdir}/gen.c ${BUILD_LIBS}
  133. rbtdb64.@O@: rbtdb.c
  134. depend: include/dns/enumtype.h include/dns/enumclass.h \
  135. include/dns/rdatastruct.h code.h
  136. subdirs: include/dns/enumtype.h include/dns/enumclass.h \
  137. include/dns/rdatastruct.h code.h
  138. ${OBJS}: include/dns/enumtype.h include/dns/enumclass.h \
  139. include/dns/rdatastruct.h
  140. spnego.@O@: spnego_asn1.c spnego.h