1 1.1 christos # $NetBSD: Makefile,v 1.1 2018/08/12 13:02:43 christos Exp $ 2 1.1 christos 3 1.1 christos LIB=isc 4 1.1 christos #USE_SHLIBDIR= yes 5 1.1 christos 6 1.1 christos .include <bsd.own.mk> 7 1.1 christos 8 1.1 christos .include "${.CURDIR}/../Makefile.inc" 9 1.1 christos 10 1.1 christos DIST= ${IDIST}/lib/isc 11 1.1 christos .include "${DIST}/api" 12 1.1 christos 13 1.1 christos .if ${NAMED_USE_PTHREADS} == "yes" 14 1.1 christos .PATH.c: ${DIST}/unix ${DIST}/nls ${DIST}/pthreads ${DIST} 15 1.1 christos .else 16 1.1 christos .PATH.c: ${DIST}/unix ${DIST}/nls ${DIST}/nothreads ${DIST} 17 1.1 christos .endif 18 1.1 christos 19 1.1 christos UNIX_SRCS= app.c backtrace.c dir.c entropy.c errno2result.c file.c \ 20 1.1 christos fsaccess.c interfaceiter.c keyboard.c net.c os.c resource.c \ 21 1.1 christos socket.c stdio.c stdtime.c strerror.c syslog.c time.c \ 22 1.1 christos backtrace-emptytbl.c meminfo.c 23 1.1 christos NLS_SRCS= msgcat.c 24 1.1 christos PTHREAD_SRCS= condition.c mutex.c thread.c 25 1.1 christos 26 1.1 christos CRYPTO_SRCS= aes.c 27 1.1 christos 28 1.1 christos SRCS= assertions.c base32.c base64.c bind9.c buffer.c \ 29 1.1 christos bufferlist.c commandline.c crc64.c counter.c error.c event.c \ 30 1.1 christos hash.c heap.c hex.c hmacmd5.c hmacsha.c httpd.c ht.c \ 31 1.1 christos inet_aton.c \ 32 1.1 christos iterated_hash.c lex.c lfsr.c lib.c log.c md5.c mem.c \ 33 1.1 christos mutexblock.c netaddr.c netscope.c ondestroy.c parseint.c \ 34 1.1 christos pool.c portset.c quota.c radix.c random.c ratelimiter.c \ 35 1.1 christos refcount.c regex.c \ 36 1.1 christos region.c result.c rwlock.c safe.c serial.c sha1.c sha2.c \ 37 1.1 christos sockaddr.c stats.c string.c strtoul.c symtab.c task.c \ 38 1.1 christos taskpool.c timer.c tm.c version.c \ 39 1.1 christos ${UNIX_SRCS} ${NLS_SRCS} ${PTHREAD_SRCS} ${CRYPTO_SRCS} 40 1.1 christos 41 1.1 christos 42 1.1 christos 43 1.1 christos .if (${USE_INET6} == "no") 44 1.1 christos CPPFLAGS.net.c= -Wno-error 45 1.1 christos SRCS+= ipv6.c 46 1.1 christos .endif 47 1.1 christos 48 1.1 christos .include <bsd.lib.mk> 49