freebsd-dev/sbin/dhclient/minires/Makefile

26 lines
734 B
Makefile
Raw Normal View History

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
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 \
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
CLEANFILES+= ns_parse%FIXED.c res_query%FIXED.c
ns_parse%FIXED.c: ns_parse.c
sed 's/struct _ns_flagdata _ns_flagdata/struct _ns_flagdata _ns_flagdata_DONT/' \
${.ALLSRC} > ${.TARGET}
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-19 12:57:18 +00:00
.include <bsd.lib.mk>