2008-06-22 03:32:19 +04:00
|
|
|
# $NetBSD: Makefile,v 1.2 2008/06/21 23:32:19 christos Exp $
|
2004-05-18 04:06:57 +04:00
|
|
|
|
|
|
|
LIB=isc
|
|
|
|
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
|
2007-11-05 02:28:16 +03:00
|
|
|
.include "${NETBSDSRCDIR}/usr.sbin/bind/Makefile.inc"
|
2004-05-18 04:06:57 +04:00
|
|
|
|
|
|
|
DIST= ${IDIST}/lib/isc
|
|
|
|
.include "${DIST}/api"
|
|
|
|
|
|
|
|
.if ${NAMED_USE_PTHREADS} == "yes"
|
|
|
|
.PATH.c: ${DIST}/unix ${DIST}/nls ${DIST}/pthreads ${DIST}
|
|
|
|
.else
|
|
|
|
.PATH.c: ${DIST}/unix ${DIST}/nls ${DIST}/nothreads ${DIST}
|
|
|
|
.endif
|
|
|
|
|
|
|
|
UNIX_SRCS= app.c dir.c entropy.c errno2result.c file.c fsaccess.c \
|
|
|
|
interfaceiter.c keyboard.c net.c os.c resource.c socket.c \
|
|
|
|
stdio.c stdtime.c strerror.c syslog.c time.c
|
|
|
|
NLS_SRCS= msgcat.c
|
|
|
|
PTHREAD_SRCS= condition.c mutex.c thread.c
|
|
|
|
|
|
|
|
SRCS= assertions.c base64.c bitstring.c buffer.c \
|
|
|
|
bufferlist.c commandline.c error.c event.c \
|
2008-06-22 03:32:19 +04:00
|
|
|
hash.c heap.c hex.c hmacmd5.c hmacsha.c httpd.c lex.c lfsr.c \
|
2004-05-18 04:06:57 +04:00
|
|
|
lib.c log.c md5.c mem.c mutexblock.c netaddr.c \
|
2008-06-22 03:32:19 +04:00
|
|
|
netscope.c ondestroy.c parseint.c quota.c radix.c random.c \
|
2007-01-28 00:36:13 +03:00
|
|
|
ratelimiter.c refcount.c region.c result.c rwlock.c \
|
|
|
|
serial.c sha1.c sha2.c sockaddr.c string.c strtoul.c symtab.c \
|
2004-05-18 04:06:57 +04:00
|
|
|
task.c taskpool.c timer.c version.c ${UNIX_SRCS} \
|
|
|
|
${NLS_SRCS} ${PTHREAD_SRCS}
|
|
|
|
|
2005-01-10 06:01:18 +03:00
|
|
|
.if (${USE_INET6} == "no")
|
|
|
|
CPPFLAGS.net.c= -Wno-error
|
|
|
|
SRCS+= ipv6.c
|
|
|
|
.endif
|
|
|
|
|
2004-05-18 04:06:57 +04:00
|
|
|
.include <bsd.lib.mk>
|