diff options
Diffstat (limited to 'usr.sbin/rpc.ypupdated/Makefile')
-rw-r--r-- | usr.sbin/rpc.ypupdated/Makefile | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/usr.sbin/rpc.ypupdated/Makefile b/usr.sbin/rpc.ypupdated/Makefile index 5b24575..78dec49 100644 --- a/usr.sbin/rpc.ypupdated/Makefile +++ b/usr.sbin/rpc.ypupdated/Makefile @@ -1,19 +1,14 @@ # $FreeBSD$ +.PATH: ${.CURDIR}/../ypserv ${.CURDIR}/../../libexec/ypxfr + PROG= rpc.ypupdated +NOMAN= yes SRCS= ypupdate_prot_svc.c ypupdate_prot.h ypupdated_main.c \ yp_error.c update.c ypupdated_server.c \ yp_dblookup.c yp_dbwrite.c yp_dbdelete.c yp_dbupdate.c -.PATH: ${.CURDIR}/../ypserv ${.CURDIR}/../../libexec/ypxfr - -RPCDIR= ${DESTDIR}/usr/include/rpcsvc - -NOMAN= yes - -CFLAGS+= -I${.CURDIR}/../ypserv -I. -CFLAGS+= -I${.CURDIR}/../../libexec/ypxfr - +CFLAGS+= -I${.CURDIR}/../ypserv -I. -I${.CURDIR}/../../libexec/ypxfr #CFLAGS+= -DYP DPADD= ${LIBRPCSVC} @@ -21,6 +16,7 @@ LDADD= -lrpcsvc CLEANFILES= ypupdate_prot_svc.c ypupdate_prot.h +RPCDIR= ${DESTDIR}/usr/include/rpcsvc RPCGEN= rpcgen -I -C # We need to remove the 'static' keyword from _rpcsvcstate so that |