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