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