2002-02-19 12:57:18 +00:00
|
|
|
# minires
|
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
DIST_DIR= ${.CURDIR}/../../../contrib/isc-dhcp
|
|
|
|
|
|
|
|
.PATH: ${DIST_DIR}/minires
|
|
|
|
|
2002-02-19 22:23:49 +00:00
|
|
|
LIB= res
|
2002-02-19 12:57:18 +00:00
|
|
|
INTERNALLIB= true
|
|
|
|
|
2002-02-20 05:45:59 +00:00
|
|
|
SRCS= ns_date.c ns_name.c ns_parse%FIXED.c ns_samedomain.c ns_sign.c ns_verify.c \
|
2002-02-19 22:23:49 +00:00
|
|
|
res_comp.c res_findzonecut.c res_init.c res_mkquery.c res_mkupdate.c \
|
2002-02-28 16:17:18 +00:00
|
|
|
res_query%FIXED.c res_send.c res_sendsigned.c res_update.c
|
2002-02-19 12:57:18 +00:00
|
|
|
|
2002-02-19 22:23:49 +00:00
|
|
|
CFLAGS+= -DHMAC_MD5 -DMINIRES_LIB
|
|
|
|
|
2002-02-28 16:17:18 +00:00
|
|
|
CLEANFILES+= ns_parse%FIXED.c res_query%FIXED.c
|
2002-02-20 05:45:59 +00:00
|
|
|
ns_parse%FIXED.c: ns_parse.c
|
|
|
|
sed 's/struct _ns_flagdata _ns_flagdata/struct _ns_flagdata _ns_flagdata_DONT/' \
|
|
|
|
${.ALLSRC} > ${.TARGET}
|
2002-02-28 16:17:18 +00:00
|
|
|
res_query%FIXED.c: res_query.c
|
|
|
|
sed -e 's/RES_SET_H_ERRNO(\(.*\),\(.*\))/(h_errno = (\1)->res_h_errno = (\2))/' \
|
|
|
|
${.ALLSRC} > ${.TARGET}
|
2002-02-20 05:45:59 +00:00
|
|
|
|
2002-02-19 12:57:18 +00:00
|
|
|
.include <bsd.lib.mk>
|