1 2SRCS.xdr_test= ${RPCSRC:.x=_xdr.c} t_xdr.c ${RPCSRC:.x=.h} \ 3 h_testbits.h 4 5NETBSD_ATF_TESTS_C= rpc_test 6NETBSD_ATF_TESTS_C+= xdr_test 7 8RPCSRC= h_testbits.x 9RPCGEN= RPCGEN_CPP=${CPP:Q} rpcgen -L -C 10 11h_testbits.h: ${RPCSRC} 12 ${RPCGEN} -h -o ${.TARGET} ${.ALLSRC} 13 14h_testbits_xdr.c: ${RPCSRC} h_testbits.h 15 ${RPCGEN} ${.ALLSRC:M*.x} 16 17CLEANFILES+= ${RPCSRC:.x=.h} ${RPCSRC:.x=.c} h_testbits_xdr.c 18CFLAGS+= -I${.OBJDIR} 19 20LIBADD+= rpcsvc util 21 22.include "../Makefile.netbsd-tests" 23 24.include <bsd.test.mk> 25