2012-11-15 22:48:48 +04:00
|
|
|
# $NetBSD: Makefile,v 1.12 2012/11/15 18:48:48 christos Exp $
|
1993-08-01 09:37:30 +04:00
|
|
|
# from: @(#)Makefile 5.1 (Berkeley) 6/5/90
|
1993-03-21 12:45:37 +03:00
|
|
|
|
2002-08-19 13:41:27 +04:00
|
|
|
.include <bsd.own.mk>
|
|
|
|
|
2012-11-15 22:48:48 +04:00
|
|
|
LIBC= ${NETBSDSRCDIR}/lib/libc
|
|
|
|
|
1993-03-21 12:45:37 +03:00
|
|
|
LIB=resolv
|
2012-11-15 22:48:48 +04:00
|
|
|
CPPFLAGS+=-I${LIBC}/include -I${LIBC}/resolv -D_LIBRESOLV
|
2005-01-10 05:58:58 +03:00
|
|
|
|
|
|
|
.if (${USE_INET6} != "no")
|
1999-07-01 22:20:13 +04:00
|
|
|
CPPFLAGS+=-DINET6
|
2005-01-10 05:58:58 +03:00
|
|
|
.endif
|
1993-03-21 12:45:37 +03:00
|
|
|
|
2012-11-15 22:48:48 +04:00
|
|
|
.PATH: ${LIBC}/net ${LIBC}/resolv ${LIBC}/nameser
|
|
|
|
|
|
|
|
SRCS+= res_update.c res_findzonecut.c res_mkupdate.c
|
|
|
|
SRCS+= res_sendsigned.c
|
|
|
|
SRCS+= ns_date.c ns_samedomain.c ns_sign.c ns_verify.c
|
|
|
|
SRCS+= dst_api.c support.c hmac_link.c
|
1993-03-21 12:45:37 +03:00
|
|
|
|
2012-11-15 22:48:48 +04:00
|
|
|
# LIBC
|
|
|
|
# CPPFLAGS+=-D_LIBC -DCOMPAT__RES -DUSE_POLL -DLIBC_SCCS
|
|
|
|
# SRCS+= res_comp.c res_send.c res_data.c res_debug.c res_mkquery.c
|
|
|
|
# SRCS+= res_query.c res_mkupdate.c res_init.c res_state.c
|
|
|
|
# SRCS+= ns_netint.c ns_name.c ns_print.c ns_parse.c ns_ttl.c ns_samedomain.c
|
1993-03-21 12:45:37 +03:00
|
|
|
|
|
|
|
.include <bsd.lib.mk>
|