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