Skip to content

Commit cdf8fa1

Browse files
committed
ISC DNS library
svn path=/branches/nslookup/; revision=43760
1 parent 2773025 commit cdf8fa1

File tree

292 files changed

+144085
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

292 files changed

+144085
-0
lines changed

dll/3rdparty/dns/Makefile.in

Lines changed: 179 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,179 @@
1+
# Copyright (C) 2004-2008 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+
16+
# $Id: Makefile.in,v 1.163 2008/09/24 02:46:22 marka Exp $
17+
18+
srcdir = @srcdir@
19+
VPATH = @srcdir@
20+
top_srcdir = @top_srcdir@
21+
22+
# Attempt to disable parallel processing.
23+
.NOTPARALLEL:
24+
.NO_PARALLEL:
25+
26+
@BIND9_VERSION@
27+
28+
@LIBDNS_API@
29+
30+
@BIND9_MAKE_INCLUDES@
31+
32+
USE_ISC_SPNEGO = @USE_ISC_SPNEGO@
33+
34+
CINCLUDES = -I. -Iinclude ${DNS_INCLUDES} \
35+
${ISC_INCLUDES} @DST_OPENSSL_INC@ @DST_GSSAPI_INC@
36+
37+
CDEFINES = -DUSE_MD5 @USE_OPENSSL@ @USE_PKCS11@ @USE_GSSAPI@ \
38+
${USE_ISC_SPNEGO}
39+
40+
CWARNINGS =
41+
42+
ISCLIBS = ../../lib/isc/libisc.@A@
43+
44+
ISCDEPLIBS = ../../lib/isc/libisc.@A@
45+
46+
LIBS = @LIBS@
47+
48+
# Alphabetically
49+
50+
DSTOBJS = @DST_EXTRA_OBJS@ \
51+
dst_api.@O@ dst_lib.@O@ dst_parse.@O@ dst_result.@O@ \
52+
gssapi_link.@O@ gssapictx.@O@ hmac_link.@O@ key.@O@ \
53+
openssl_link.@O@ openssldh_link.@O@ openssldsa_link.@O@ \
54+
opensslrsa_link.@O@
55+
56+
# Alphabetically
57+
DNSOBJS = acache.@O@ acl.@O@ adb.@O@ byaddr.@O@ \
58+
cache.@O@ callbacks.@O@ compress.@O@ \
59+
db.@O@ dbiterator.@O@ dbtable.@O@ diff.@O@ dispatch.@O@ \
60+
dlz.@O@ dnssec.@O@ ds.@O@ forward.@O@ iptable.@O@ journal.@O@ \
61+
keytable.@O@ lib.@O@ log.@O@ lookup.@O@ \
62+
master.@O@ masterdump.@O@ message.@O@ \
63+
name.@O@ ncache.@O@ nsec.@O@ nsec3.@O@ order.@O@ peer.@O@ portlist.@O@ \
64+
rbt.@O@ rbtdb.@O@ rbtdb64.@O@ rcode.@O@ rdata.@O@ \
65+
rdatalist.@O@ \
66+
rdataset.@O@ rdatasetiter.@O@ rdataslab.@O@ request.@O@ \
67+
resolver.@O@ result.@O@ rootns.@O@ sdb.@O@ sdlz.@O@ \
68+
soa.@O@ ssu.@O@ \
69+
stats.@O@ tcpmsg.@O@ time.@O@ timer.@O@ tkey.@O@ \
70+
tsig.@O@ ttl.@O@ validator.@O@ \
71+
version.@O@ view.@O@ xfrin.@O@ zone.@O@ zonekey.@O@ zt.@O@
72+
73+
OBJS= ${DNSOBJS} ${OTHEROBJS} ${DSTOBJS}
74+
75+
# Alphabetically
76+
DSTSRCS = @DST_EXTRA_SRCS@ \
77+
dst_api.c dst_lib.c dst_parse.c \
78+
dst_result.c gssapi_link.c gssapictx.c \
79+
hmac_link.c key.c \
80+
openssl_link.c openssldh_link.c \
81+
openssldsa_link.c opensslrsa_link.c
82+
83+
DNSSRCS = acache.c acl.c adb.c byaddr.c \
84+
cache.c callbacks.c compress.c \
85+
db.c dbiterator.c dbtable.c diff.c dispatch.c \
86+
dlz.c dnssec.c ds.c forward.c iptable.c journal.c \
87+
keytable.c lib.c log.c lookup.c \
88+
master.c masterdump.c message.c \
89+
name.c ncache.c nsec.c nsec3.c order.c peer.c portlist.c \
90+
rbt.c rbtdb.c rbtdb64.c rcode.c rdata.c \
91+
rdatalist.c \
92+
rdataset.c rdatasetiter.c rdataslab.c request.c \
93+
resolver.c result.c rootns.c sdb.c sdlz.c \
94+
soa.c ssu.c \
95+
stats.c tcpmsg.c time.c timer.c tkey.c \
96+
tsig.c ttl.c validator.c \
97+
version.c view.c xfrin.c zone.c zonekey.c zt.c ${OTHERSRCS}
98+
SRCS = ${DSTSRCS} ${DNSSRCS}
99+
100+
SUBDIRS = include
101+
TARGETS = include/dns/enumtype.h include/dns/enumclass.h \
102+
include/dns/rdatastruct.h timestamp
103+
104+
DEPENDEXTRA = ./gen -F include/dns/rdatastruct.h \
105+
-s ${srcdir} -d >> Makefile ;
106+
107+
@BIND9_MAKE_RULES@
108+
109+
version.@O@: version.c
110+
${LIBTOOL_MODE_COMPILE} ${CC} ${ALL_CFLAGS} \
111+
-DVERSION=\"${VERSION}\" \
112+
-DLIBINTERFACE=${LIBINTERFACE} \
113+
-DLIBREVISION=${LIBREVISION} \
114+
-DLIBAGE=${LIBAGE} \
115+
-c ${srcdir}/version.c
116+
117+
libdns.@SA@: ${OBJS}
118+
${AR} ${ARFLAGS} $@ ${OBJS}
119+
${RANLIB} $@
120+
121+
libdns.la: ${OBJS}
122+
${LIBTOOL_MODE_LINK} \
123+
${CC} ${ALL_CFLAGS} ${LDFLAGS} -o libdns.la -rpath ${libdir} \
124+
-version-info ${LIBINTERFACE}:${LIBREVISION}:${LIBAGE} \
125+
${OBJS} ${ISCLIBS} @DNS_CRYPTO_LIBS@ ${LIBS}
126+
127+
timestamp: libdns.@A@
128+
touch timestamp
129+
130+
installdirs:
131+
$(SHELL) ${top_srcdir}/mkinstalldirs ${DESTDIR}${libdir}
132+
133+
install:: timestamp installdirs
134+
${LIBTOOL_MODE_INSTALL} ${INSTALL_DATA} libdns.@A@ ${DESTDIR}${libdir}
135+
136+
clean distclean::
137+
rm -f libdns.@A@ timestamp
138+
rm -f gen code.h include/dns/enumtype.h include/dns/enumclass.h
139+
rm -f include/dns/rdatastruct.h
140+
141+
newrr::
142+
rm -f code.h include/dns/enumtype.h include/dns/enumclass.h
143+
rm -f include/dns/rdatastruct.h
144+
145+
include: include/dns/enumtype.h include/dns/enumclass.h \
146+
include/dns/rdatastruct.h
147+
148+
rdata.@O@: code.h
149+
150+
include/dns/enumtype.h: gen
151+
./gen -s ${srcdir} -t > $@
152+
153+
include/dns/enumclass.h: gen
154+
./gen -s ${srcdir} -c > $@
155+
156+
include/dns/rdatastruct.h: gen \
157+
${srcdir}/rdata/rdatastructpre.h \
158+
${srcdir}/rdata/rdatastructsuf.h
159+
./gen -s ${srcdir} -i \
160+
-P ${srcdir}/rdata/rdatastructpre.h \
161+
-S ${srcdir}/rdata/rdatastructsuf.h > $@
162+
163+
code.h: gen
164+
./gen -s ${srcdir} > code.h
165+
166+
gen: gen.c
167+
${BUILD_CC} ${BUILD_CFLAGS} -I${top_srcdir}/lib/isc/include \
168+
${BUILD_CPPFLAGS} ${BUILD_LDFLAGS} -o $@ ${srcdir}/gen.c ${BUILD_LIBS}
169+
170+
rbtdb64.@O@: rbtdb.c
171+
172+
depend: include/dns/enumtype.h include/dns/enumclass.h \
173+
include/dns/rdatastruct.h code.h
174+
subdirs: include/dns/enumtype.h include/dns/enumclass.h \
175+
include/dns/rdatastruct.h code.h
176+
${OBJS}: include/dns/enumtype.h include/dns/enumclass.h \
177+
include/dns/rdatastruct.h
178+
179+
spnego.@O@: spnego_asn1.c spnego.h

0 commit comments

Comments
 (0)