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

https://bitbucket.org/freebsd/freebsd-head/ · Autoconf · 179 lines · 118 code · 42 blank · 19 comment · 0 complexity · 96c275af6a3abb362c315be82dc9f460 MD5 · raw file

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