1 # $FreeBSD: src/usr.sbin/rpc.ypxfrd/Makefile,v 1.8.2.1 2001/04/25 12:10:47 ru Exp $
4 SRCS
= ypxfrd_svc.c ypxfrd.h ypxfrd_server.c yp_error.c \
5 yp_access.c ypxfrd_main.c
8 RPCDIR
= ${.CURDIR
}/..
/..
/include/rpcsvc
10 .PATH
: ${.CURDIR
}/..
/ypserv
14 CFLAGS
+= -I.
-DXFRBLOCKSIZE
=65535
19 CLEANFILES
= ypxfrd_svc.c ypxfrd.h
23 # We need to remove the 'static' keyword from _rpcsvcstate so that
24 # ypxfrd_main.c can see it.
25 ypxfrd_svc.c
: ${RPCDIR}/ypxfrd.x
27 ${RPCGEN} -m
${RPCDIR}/ypxfrd.x | \
28 sed s
/"static int _rpcsvcstate"/"int _rpcsvcstate"/g
> ${.TARGET
}
30 # ypxfrd_xdr.c: ${RPCDIR}/ypxfrd.x
32 # ${RPCGEN} -c -o ${.TARGET} ${RPCDIR}/ypxfrd.x
34 ypxfrd.h
: ${RPCDIR}/ypxfrd.x
36 ${RPCGEN} -h
-o
${.TARGET
} ${RPCDIR}/ypxfrd.x
38 .
include <bsd.prog.mk
>