opnsense-src/lib/libc/tests/rpc/Makefile
Warner Losh e9ac41698b Remove residual blank line at start of Makefile
This is a residual of the $FreeBSD$ removal.

MFC After: 3 days (though I'll just run the command on the branches)
Sponsored by: Netflix
2024-07-15 16:43:39 -06:00

23 lines
506 B
Makefile

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>