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