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