NetBSD/lib/libisc/Makefile
tls b21c402a7b Remove MKPRIVATELIB from BIND libraries; move library reachover
directories and Makefiles from src/usr.sbin/bind to src/lib; make
BIND libraries build shared.  Saves about 1MB-1.5MB per installed
executable, about 5MB for a base+etc minimal installation of NetBSD.
2007-11-04 23:28:16 +00:00

40 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.1 2007/11/04 23:28:18 tls Exp $
LIB=isc
.include <bsd.own.mk>
.include "${NETBSDSRCDIR}/usr.sbin/bind/Makefile.inc"
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 \
hash.c heap.c hex.c hmacmd5.c hmacsha.c lex.c lfsr.c \
lib.c log.c md5.c mem.c mutexblock.c netaddr.c \
netscope.c ondestroy.c parseint.c quota.c random.c \
ratelimiter.c refcount.c region.c result.c rwlock.c \
serial.c sha1.c sha2.c sockaddr.c string.c strtoul.c symtab.c \
task.c taskpool.c timer.c version.c ${UNIX_SRCS} \
${NLS_SRCS} ${PTHREAD_SRCS}
.if (${USE_INET6} == "no")
CPPFLAGS.net.c= -Wno-error
SRCS+= ipv6.c
.endif
.include <bsd.lib.mk>