mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-03 14:48:57 +00:00
Use a consistent name for librpcsvc.
Reviewed by: Submitted by: Found by Bruce Evans.
This commit is contained in:
parent
ae6bbc9a7b
commit
d2845bc56b
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=1983
31
lib/librpcsvc/Makefile
Normal file
31
lib/librpcsvc/Makefile
Normal file
@ -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}
|
Loading…
Reference in New Issue
Block a user