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