1# $NetBSD: Makefile,v 1.4 2023/06/03 09:09:15 lukem Exp $ 2 3MKMAN= no 4 5.include <bsd.own.mk> 6 7TESTSDIR= ${TESTSBASE}/lib/libc/rpc 8 9TESTS_C= t_xdr 10SRCS.t_xdr= ${RPCSRCS:.x=_xdr.c} t_xdr.c 11 12TESTS_C+= t_rpc 13 14RPCSRCS= h_testbits.x 15DPSRCS= ${RPCSRCS:.x=.h} 16CLEANFILES+= ${RPCSRCS:.x=.h} ${RPCSRCS:.x=_xdr.c} 17CPPFLAGS+= -I. 18RPC_INCS= ${RPCSRCS:.x=.h} 19RPC_XDRFILES= ${RPCSRCS:.x=_xdr.c} 20 21COPTS.t_rpc.c+= ${CC_WNO_CAST_FUNCTION_TYPE} 22 23.include <bsd.rpc.mk> 24.include <bsd.test.mk> 25 26