1 1.12 christos # $NetBSD: Makefile,v 1.12 2012/11/15 18:48:48 christos Exp $ 2 1.2 mycroft # from: @(#)Makefile 5.1 (Berkeley) 6/5/90 3 1.1 cgd 4 1.9 lukem .include <bsd.own.mk> 5 1.9 lukem 6 1.12 christos LIBC= ${NETBSDSRCDIR}/lib/libc 7 1.12 christos 8 1.1 cgd LIB=resolv 9 1.12 christos CPPFLAGS+=-I${LIBC}/include -I${LIBC}/resolv -D_LIBRESOLV 10 1.11 lukem 11 1.11 lukem .if (${USE_INET6} != "no") 12 1.7 itojun CPPFLAGS+=-DINET6 13 1.11 lukem .endif 14 1.1 cgd 15 1.12 christos .PATH: ${LIBC}/net ${LIBC}/resolv ${LIBC}/nameser 16 1.1 cgd 17 1.12 christos SRCS+= res_update.c res_findzonecut.c res_mkupdate.c 18 1.12 christos SRCS+= res_sendsigned.c 19 1.12 christos SRCS+= ns_date.c ns_samedomain.c ns_sign.c ns_verify.c 20 1.12 christos SRCS+= dst_api.c support.c hmac_link.c 21 1.12 christos 22 1.12 christos # LIBC 23 1.12 christos # CPPFLAGS+=-D_LIBC -DCOMPAT__RES -DUSE_POLL -DLIBC_SCCS 24 1.12 christos # SRCS+= res_comp.c res_send.c res_data.c res_debug.c res_mkquery.c 25 1.12 christos # SRCS+= res_query.c res_mkupdate.c res_init.c res_state.c 26 1.12 christos # SRCS+= ns_netint.c ns_name.c ns_print.c ns_parse.c ns_ttl.c ns_samedomain.c 27 1.1 cgd 28 1.1 cgd .include <bsd.lib.mk> 29