summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorwollman <wollman@FreeBSD.org>1994-08-07 23:21:08 +0000
committerwollman <wollman@FreeBSD.org>1994-08-07 23:21:08 +0000
commit70046b9a22dc3126b757ceb028b8c57f2e241149 (patch)
treefc86c9e0cebb8950ec2ada11062e53a5a96d3930 /lib
parent905766ce2428b3b5027288a3dffb617ae26acd77 (diff)
downloadFreeBSD-src-70046b9a22dc3126b757ceb028b8c57f2e241149.zip
FreeBSD-src-70046b9a22dc3126b757ceb028b8c57f2e241149.tar.gz
Makefile to build librpcsvc. (All sources automatically generated.)
Taken from 1.1.5; not sure who originally wrote it.
Diffstat (limited to 'lib')
-rw-r--r--lib/rpcsvc/Makefile31
1 files changed, 31 insertions, 0 deletions
diff --git a/lib/rpcsvc/Makefile b/lib/rpcsvc/Makefile
new file mode 100644
index 0000000..291b091
--- /dev/null
+++ b/lib/rpcsvc/Makefile
@@ -0,0 +1,31 @@
+# from: @(#)Makefile 5.10 (Berkeley) 6/24/90
+# $Id: Makefile,v 1.6 1994/02/07 09:07:48 rgrimes 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