summaryrefslogtreecommitdiffstats
path: root/lib/librpcsvc/Makefile
diff options
context:
space:
mode:
authorwollman <wollman@FreeBSD.org>1994-08-09 16:56:28 +0000
committerwollman <wollman@FreeBSD.org>1994-08-09 16:56:28 +0000
commit42e9230261631af61f03b6a1fd3f13078ab44ba1 (patch)
treeaf1f44e4dcb3433afcf808b93856eace04bfdd10 /lib/librpcsvc/Makefile
parentc52c9612a7a2e7bec15dab58fe0ab27030afaccb (diff)
downloadFreeBSD-src-42e9230261631af61f03b6a1fd3f13078ab44ba1.zip
FreeBSD-src-42e9230261631af61f03b6a1fd3f13078ab44ba1.tar.gz
Use a consistent name for librpcsvc.
Reviewed by: Submitted by: Found by Bruce Evans.
Diffstat (limited to 'lib/librpcsvc/Makefile')
-rw-r--r--lib/librpcsvc/Makefile31
1 files changed, 31 insertions, 0 deletions
diff --git a/lib/librpcsvc/Makefile b/lib/librpcsvc/Makefile
new file mode 100644
index 0000000..4a251c8
--- /dev/null
+++ b/lib/librpcsvc/Makefile
@@ -0,0 +1,31 @@
+# from: @(#)Makefile 5.10 (Berkeley) 6/24/90
+# $Id: Makefile,v 1.1 1994/08/07 23:21:08 wollman Exp $
+
+.PATH: ${DESTDIR}/usr/include/rpcsvc
+
+LIB= rpcsvc
+
+RPCSRCS= klm_prot.x mount.x nfs_prot.x nlm_prot.x rex.x rnusers.x \
+ rquota.x rstat.x rwall.x sm_inter.x spray.x yppasswd.x
+
+RPCCOM = rpcgen
+
+INCDIRS= -I/usr/include/rpcsvc
+CFLAGS+= ${INCDIRS}
+
+SRCS= ${RPCSRCS:R:S/$/_xdr.c/g}
+
+CLEANFILES+= ${SRCS} ${RPCSRCS}
+
+NOMAN= noman
+
+.include <bsd.lib.mk>
+
+.SUFFIXES: .x _xdr.c
+
+.x_xdr.c:
+ @echo generating $@...
+ @PWD=`pwd` ; cd ${.CURDIR} ; if cmp -s ${.IMPSRC} ${*F}.x > /dev/null; then :; else cp -f ${.IMPSRC} $$PWD/${*F}.x ; fi
+ @${RPCCOM} -c ${*F}.x -o ${.TARGET}
+
+OBJS+= ${RPCSRCS:R:S/$/_xdr.o/g}
OpenPOWER on IntegriCloud