1994-08-07 23:04:55 +00:00
|
|
|
# from: @(#)Makefile.inc 5.3 (Berkeley) 2/20/91
|
1995-12-14 05:16:45 +00:00
|
|
|
# $Id: Makefile.inc,v 1.1 1994/08/07 23:04:53 wollman Exp $
|
1994-08-07 23:04:55 +00:00
|
|
|
|
|
|
|
# yp sources
|
|
|
|
.PATH: ${.CURDIR}/yp
|
|
|
|
|
1995-12-14 05:16:45 +00:00
|
|
|
SRCS+= xdryp.c yp_xdr.c yplib.c
|
|
|
|
CLEANFILES+= yp_xdr.c yp.h
|
1994-08-07 23:04:55 +00:00
|
|
|
|
1995-12-14 05:16:45 +00:00
|
|
|
RPCSRC= ${.DESTDIR}/usr/include/rpcsvc/yp.x
|
|
|
|
RPCGEN= rpcgen
|
|
|
|
|
|
|
|
yp_xdr.c: ${RPCSRC} yp.h
|
|
|
|
${RPCGEN} -c -o ${.TARGET} ${RPCSRC}
|
|
|
|
|
|
|
|
yp.h: ${RPCSRC}
|
|
|
|
${RPCGEN} -h -o ${.TARGET} ${RPCSRC}
|