summaryrefslogtreecommitdiffstats
path: root/usr.sbin/rpc.ypupdated
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2001-07-20 06:20:32 +0000
committerobrien <obrien@FreeBSD.org>2001-07-20 06:20:32 +0000
commit9c97c8f02d579c6988b1d150fd1c0fa8dacf2e87 (patch)
treefb97d8f0fea8f93b6e8bb70b86e003cf5cbc2b79 /usr.sbin/rpc.ypupdated
parentd3d1b151d3f3f67385b5e5adbbafd20527daa156 (diff)
downloadFreeBSD-src-9c97c8f02d579c6988b1d150fd1c0fa8dacf2e87.zip
FreeBSD-src-9c97c8f02d579c6988b1d150fd1c0fa8dacf2e87.tar.gz
Perform a major cleanup of the usr.sbin Makefiles.
These are not perfectly in agreement with each other style-wise, but they are orders of orders of magnitude more consistent style-wise than before.
Diffstat (limited to 'usr.sbin/rpc.ypupdated')
-rw-r--r--usr.sbin/rpc.ypupdated/Makefile14
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
OpenPOWER on IntegriCloud