1 # $NetBSD: Makefile,v 1.7 2014/12/10 04:38:04 christos Exp $
9 #LSC: -Wno-maybe-uninitialized while compiling with -DNDEBUG -Os
10 CWARNFLAGS.gcc
+= -Wno-maybe-uninitialized
11 .
endif # defined(__MINIX)
13 .
include "${.CURDIR}/../Makefile.inc"
15 DIST
= ${IDIST}/lib
/isc
16 .
include "${DIST}/api"
18 .if
${NAMED_USE_PTHREADS} == "yes"
19 .PATH.c
: ${DIST}/unix
${DIST}/nls
${DIST}/pthreads
${DIST}
21 .PATH.c
: ${DIST}/unix
${DIST}/nls
${DIST}/nothreads
${DIST}
24 UNIX_SRCS
= app.c backtrace.c
dir.c entropy.c errno2result.c file.c \
25 fsaccess.c interfaceiter.c keyboard.c net.c os.c resource.c \
26 socket.c stdio.c stdtime.c strerror.c syslog.c time.c \
29 PTHREAD_SRCS
= condition.c mutex.c thread.c
31 .if
${MKCRYPTO} != "no"
35 SRCS
= assertions.c base32.c base64.c bind9.c buffer.c \
36 bufferlist.c commandline.c crc64.c counter.c error.c event.c \
37 hash.c heap.c hex.c hmacmd5.c hmacsha.c httpd.c inet_aton.c \
38 iterated_hash.c
lex.c lfsr.c lib.c log.c md5.c mem.c \
39 mutexblock.c netaddr.c netscope.c ondestroy.c parseint.c \
40 pool.c portset.c quota.c radix.c random.c ratelimiter.c \
42 region.c result.c rwlock.c safe.c serial.c sha1.c sha2.c \
43 sockaddr.c stats.c string.c strtoul.c symtab.c task.c \
44 taskpool.c timer.c tm.c version.c \
45 ${UNIX_SRCS} ${NLS_SRCS} ${PTHREAD_SRCS} ${CRYPTO_SRCS}
49 .if
(${USE_INET6} == "no")
50 CPPFLAGS.net.c
= -Wno-error