1 # $NetBSD: Makefile,v 1.1 2009/04/12 03:46:10 christos Exp $
7 .
include "${.CURDIR}/../Makefile.inc"
10 .
include "${DIST}/api"
12 .if
${NAMED_USE_PTHREADS} == "yes"
13 .PATH.c
: ${DIST}/unix
${DIST}/nls
${DIST}/pthreads
${DIST}
15 .PATH.c
: ${DIST}/unix
${DIST}/nls
${DIST}/nothreads
${DIST}
18 UNIX_SRCS
= app.c backtrace.c
dir.c entropy.c errno2result.c file.c \
19 fsaccess.c interfaceiter.c keyboard.c net.c os.c resource.c \
20 socket.c stdio.c stdtime.c strerror.c syslog.c time.c \
23 PTHREAD_SRCS
= condition.c mutex.c thread.c
25 SRCS
= assertions.c base32.c base64.c bitstring.c buffer.c \
26 bufferlist.c commandline.c error.c event.c \
27 hash.c heap.c hex.c hmacmd5.c hmacsha.c httpd.c inet_aton.c \
28 iterated_hash.c
lex.c lfsr.c lib.c log.c md5.c mem.c \
29 mutexblock.c netaddr.c netscope.c ondestroy.c parseint.c \
30 portset.c quota.c radix.c random.c ratelimiter.c refcount.c \
31 region.c result.c rwlock.c serial.c sha1.c sha2.c sockaddr.c \
32 stats.c string.c strtoul.c symtab.c task.c taskpool.c timer.c \
33 version.c
${UNIX_SRCS} ${NLS_SRCS} ${PTHREAD_SRCS}
35 .if
(${USE_INET6} == "no")
36 CPPFLAGS.net.c
= -Wno-error