etc/services - sync with NetBSD-8
[minix.git] / external / bsd / bind / lib / libisc / Makefile
blobec247b9e912c2586811837af4cc3bd82e37d85bb
1 # $NetBSD: Makefile,v 1.7 2014/12/10 04:38:04 christos Exp $
3 LIB=isc
4 #USE_SHLIBDIR= yes
6 .include <bsd.own.mk>
8 .if defined(__MINIX)
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}
20 .else
21 .PATH.c: ${DIST}/unix ${DIST}/nls ${DIST}/nothreads ${DIST}
22 .endif
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 \
27 backtrace-emptytbl.c
28 NLS_SRCS= msgcat.c
29 PTHREAD_SRCS= condition.c mutex.c thread.c
31 .if ${MKCRYPTO} != "no"
32 CRYPTO_SRCS= aes.c
33 .endif
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 \
41 refcount.c regex.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
51 SRCS+= ipv6.c
52 .endif
54 .include <bsd.lib.mk>