Home | History | Annotate | Line # | Download | only in rpc
      1 # $NetBSD: Makefile,v 1.4 2023/06/03 09:09:15 lukem 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+=	${CC_WNO_CAST_FUNCTION_TYPE}
     22 
     23 .include <bsd.rpc.mk>
     24 .include <bsd.test.mk>
     25 
     26