Remove building with NOCRYPTO option
[minix.git] / external / bsd / bind / dist / lib / dns / Makefile.in
blob6dfd146f57039ff5dcd9086a78ebe1aebebb2e22
1 # Copyright (C) 2004-2014 Internet Systems Consortium, Inc. ("ISC")
2 # Copyright (C) 1998-2003 Internet Software Consortium.
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.
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.
16 srcdir = @srcdir@
17 VPATH = @srcdir@
18 top_srcdir = @top_srcdir@
20 # Attempt to disable parallel processing.
21 .NOTPARALLEL:
22 .NO_PARALLEL:
24 @BIND9_VERSION@
25 @BIND9_MAJOR@
27 @LIBDNS_MAPAPI@
29 @LIBDNS_API@
31 @BIND9_MAKE_INCLUDES@
33 USE_ISC_SPNEGO = @USE_ISC_SPNEGO@
35 CINCLUDES = -I. -I${top_srcdir}/lib/dns -Iinclude ${DNS_INCLUDES} \
36 ${ISC_INCLUDES} @DST_OPENSSL_INC@ @DST_GSSAPI_INC@
38 CDEFINES = -DUSE_MD5 @CRYPTO@ @USE_GSSAPI@ ${USE_ISC_SPNEGO}
40 CWARNINGS =
42 ISCLIBS = ../../lib/isc/libisc.@A@
44 ISCDEPLIBS = ../../lib/isc/libisc.@A@
46 LIBS = @LIBS@
48 # Alphabetically
50 OPENSSLGOSTLINKOBJS = opensslgost_link.@O@
51 OPENSSLLINKOBJS = openssl_link.@O@ openssldh_link.@O@ openssldsa_link.@O@ \
52 opensslecdsa_link.@O@ @OPENSSLGOSTLINKOBJS@ \
53 opensslrsa_link.@O@
55 PKCS11LINKOBJS = pkcs11dh_link.@O@ pkcs11dsa_link.@O@ pkcs11rsa_link.@O@ \
56 pkcs11ecdsa_link.@O@ pkcs11gost_link.@O@ pkcs11.@O@
58 DSTOBJS = @DST_EXTRA_OBJS@ @OPENSSLLINKOBJS@ @PKCS11LINKOBJS@ \
59 dst_api.@O@ dst_lib.@O@ dst_parse.@O@ dst_result.@O@ \
60 gssapi_link.@O@ gssapictx.@O@ hmac_link.@O@ key.@O@
62 GEOIPLINKOBJS = geoip.@O@
64 # Alphabetically
65 DNSOBJS = acache.@O@ acl.@O@ adb.@O@ byaddr.@O@ \
66 cache.@O@ callbacks.@O@ clientinfo.@O@ compress.@O@ \
67 db.@O@ dbiterator.@O@ dbtable.@O@ diff.@O@ dispatch.@O@ \
68 dlz.@O@ dns64.@O@ dnssec.@O@ ds.@O@ forward.@O@ \
69 iptable.@O@ journal.@O@ keydata.@O@ keytable.@O@ \
70 lib.@O@ log.@O@ lookup.@O@ \
71 master.@O@ masterdump.@O@ message.@O@ \
72 name.@O@ ncache.@O@ nsec.@O@ nsec3.@O@ order.@O@ peer.@O@ \
73 portlist.@O@ private.@O@ \
74 rbt.@O@ rbtdb.@O@ rbtdb64.@O@ rcode.@O@ rdata.@O@ \
75 rdatalist.@O@ rdataset.@O@ rdatasetiter.@O@ rdataslab.@O@ \
76 request.@O@ resolver.@O@ result.@O@ rootns.@O@ \
77 rpz.@O@ rrl.@O@ rriterator.@O@ sdb.@O@ \
78 sdlz.@O@ soa.@O@ ssu.@O@ ssu_external.@O@ \
79 stats.@O@ tcpmsg.@O@ time.@O@ timer.@O@ tkey.@O@ \
80 tsec.@O@ tsig.@O@ ttl.@O@ update.@O@ validator.@O@ \
81 version.@O@ view.@O@ xfrin.@O@ zone.@O@ zonekey.@O@ zt.@O@
82 PORTDNSOBJS = client.@O@ ecdb.@O@
84 OBJS= ${DNSOBJS} ${OTHEROBJS} ${DSTOBJS} ${PORTDNSOBJS} \
85 @GEOIPLINKOBJS@
88 # Alphabetically
89 OPENSSLGOSTLINKSRCS = opensslgost_link.c
90 OPENSSLLINKSRCS = openssl_link.c openssldh_link.c openssldsa_link.c \
91 opensslecdsa_link.c @OPENSSLGOSTLINKSRCS@ opensslrsa_link.c
93 PKCS11LINKSRCS = pkcs11dh_link.c pkcs11dsa_link.c pkcs11rsa_link.c \
94 pkcs11ecdsa_link.c pkcs11gost_link.c pkcs11.c
96 DSTSRCS = @DST_EXTRA_SRCS@ @OPENSSLLINKSRCS@ @PKCS11LINKSRCS@ \
97 dst_api.c dst_lib.c dst_parse.c \
98 dst_result.c gssapi_link.c gssapictx.c \
99 hmac_link.c key.c
101 GEOIOLINKSRCS = geoip.c
103 DNSSRCS = acache.c acl.c adb.c byaddr.c \
104 cache.c callbacks.c clientinfo.c compress.c \
105 db.c dbiterator.c dbtable.c diff.c dispatch.c \
106 dlz.c dns64.c dnssec.c ds.c forward.c geoip.c \
107 iptable.c journal.c keydata.c keytable.c lib.c log.c \
108 lookup.c master.c masterdump.c message.c \
109 name.c ncache.c nsec.c nsec3.c order.c peer.c portlist.c \
110 rbt.c rbtdb.c rbtdb64.c rcode.c rdata.c rdatalist.c \
111 rdataset.c rdatasetiter.c rdataslab.c request.c \
112 resolver.c result.c rootns.c rpz.c rrl.c rriterator.c \
113 sdb.c sdlz.c soa.c ssu.c ssu_external.c \
114 stats.c tcpmsg.c time.c timer.c tkey.c \
115 tsec.c tsig.c ttl.c update.c validator.c \
116 version.c view.c xfrin.c zone.c zonekey.c zt.c ${OTHERSRCS}
117 PORTDNSSRCS = client.c ecdb.c
119 SRCS = ${DSTSRCS} ${DNSSRCS} ${PORTDNSSRCS} @GEOIPLINKSRCS@
121 SUBDIRS = include
122 TARGETS = include/dns/enumtype.h include/dns/enumclass.h \
123 include/dns/rdatastruct.h timestamp
124 TESTDIRS = @UNITTESTS@
126 DEPENDEXTRA = ./gen -F include/dns/rdatastruct.h \
127 -s ${srcdir} -d >> Makefile ;
129 @BIND9_MAKE_RULES@
131 version.@O@: version.c
132 ${LIBTOOL_MODE_COMPILE} ${CC} ${ALL_CFLAGS} \
133 -DVERSION=\"${VERSION}\" \
134 -DMAJOR=\"${MAJOR}\" \
135 -DMAPAPI=\"${MAPAPI}\" \
136 -DLIBINTERFACE=${LIBINTERFACE} \
137 -DLIBREVISION=${LIBREVISION} \
138 -DLIBAGE=${LIBAGE} \
139 -c ${srcdir}/version.c
141 libdns.@SA@: ${OBJS}
142 ${AR} ${ARFLAGS} $@ ${OBJS}
143 ${RANLIB} $@
145 libdns.la: ${OBJS}
146 ${LIBTOOL_MODE_LINK} \
147 ${CC} ${ALL_CFLAGS} ${LDFLAGS} -o libdns.la -rpath ${libdir} \
148 -version-info ${LIBINTERFACE}:${LIBREVISION}:${LIBAGE} \
149 ${OBJS} ${ISCLIBS} @DNS_CRYPTO_LIBS@ ${LIBS}
151 timestamp: libdns.@A@
152 touch timestamp
154 installdirs:
155 $(SHELL) ${top_srcdir}/mkinstalldirs ${DESTDIR}${libdir}
157 install:: timestamp installdirs
158 ${LIBTOOL_MODE_INSTALL} ${INSTALL_LIBRARY} libdns.@A@ ${DESTDIR}${libdir}
160 clean distclean::
161 rm -f libdns.@A@ timestamp
162 rm -f gen code.h include/dns/enumtype.h include/dns/enumclass.h
163 rm -f include/dns/rdatastruct.h
165 newrr::
166 rm -f code.h include/dns/enumtype.h include/dns/enumclass.h
167 rm -f include/dns/rdatastruct.h
169 include: include/dns/enumtype.h include/dns/enumclass.h \
170 include/dns/rdatastruct.h
172 rdata.@O@: code.h
174 include/dns/enumtype.h: gen
175 ./gen -s ${srcdir} -t > $@
177 include/dns/enumclass.h: gen
178 ./gen -s ${srcdir} -c > $@
180 include/dns/rdatastruct.h: gen \
181 ${srcdir}/rdata/rdatastructpre.h \
182 ${srcdir}/rdata/rdatastructsuf.h
183 ./gen -s ${srcdir} -i \
184 -P ${srcdir}/rdata/rdatastructpre.h \
185 -S ${srcdir}/rdata/rdatastructsuf.h > $@
187 code.h: gen
188 ./gen -s ${srcdir} > code.h
190 gen: gen.c
191 ${BUILD_CC} ${BUILD_CFLAGS} -I${top_srcdir}/lib/isc/include \
192 ${BUILD_CPPFLAGS} ${BUILD_LDFLAGS} -o $@ ${srcdir}/gen.c ${BUILD_LIBS}
194 rbtdb64.@O@: rbtdb64.c rbtdb.c
196 depend: include/dns/enumtype.h include/dns/enumclass.h \
197 include/dns/rdatastruct.h code.h
198 subdirs: include/dns/enumtype.h include/dns/enumclass.h \
199 include/dns/rdatastruct.h code.h
200 ${OBJS}: include/dns/enumtype.h include/dns/enumclass.h \
201 include/dns/rdatastruct.h
203 spnego.@O@: spnego_asn1.c spnego.h