From 5e1597f4923fba7164a03a3df877cb441cd487fd Mon Sep 17 00:00:00 2001 From: fvdl Date: Sat, 3 Jun 2000 11:23:54 +0000 Subject: [PATCH] Use a seperate Makefile in the rpc/ subdir. Needed because it generates a file (rpcb_prot.h). --- include/Makefile | 15 ++++----------- include/rpc/Makefile | 17 +++++++++++++++++ 2 files changed, 21 insertions(+), 11 deletions(-) create mode 100644 include/rpc/Makefile diff --git a/include/Makefile b/include/Makefile index 4664e0dcae9d..f5c3c98b15c8 100644 --- a/include/Makefile +++ b/include/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.89 2000/06/03 10:17:59 fvdl Exp $ +# $NetBSD: Makefile,v 1.90 2000/06/03 11:23:54 fvdl Exp $ # @(#)Makefile 8.2 (Berkeley) 1/4/94 SRCTOP= .. @@ -24,24 +24,17 @@ INCS= a.out.h ar.h assert.h bitstring.h bm.h cpio.h ctype.h db.h dirent.h \ INCS+= arpa/ftp.h arpa/inet.h arpa/nameser.h arpa/telnet.h arpa/tftp.h INCS+= protocols/dumprestore.h protocols/routed.h protocols/rwhod.h \ protocols/talkd.h protocols/timed.h -INCS+= rpc/auth.h rpc/auth_unix.h rpc/clnt.h rpc/clnt_soc.h rpc/nettype.h \ - rpc/pmap_clnt.h rpc/pmap_prot.h rpc/pmap_rmt.h rpc/raw.h rpc/rpc.h \ - rpc/rpc_msg.h rpc/rpcb_clnt.h rpc/rpcb_prot.h rpc/rpcent.h \ - rpc/svc.h rpc/svc_auth.h rpc/svc_soc.h rpc/types.h rpc/xdr.h INCS+= rpcsvc/yp_prot.h rpcsvc/ypclnt.h - -rpc/rpcb_prot.h: rpc/rpcb_prot.x - rpcgen -h ${.ALLSRC} -o ${.TARGET} - -CLEANFILES+= rpc/rpcb_prot.h - INCSDIR=/usr/include MKOBJ= no +SUBDIR= rpc + .if defined(CRYPTOPATH) .sinclude "${CRYPTOPATH}/include/Makefile.frag" .endif .include +.include diff --git a/include/rpc/Makefile b/include/rpc/Makefile new file mode 100644 index 000000000000..6227d37b4747 --- /dev/null +++ b/include/rpc/Makefile @@ -0,0 +1,17 @@ +# $NetBSD: Makefile,v 1.1 2000/06/03 11:23:55 fvdl Exp $ +# + +INCS= auth.h auth_unix.h clnt.h clnt_soc.h nettype.h \ + pmap_clnt.h pmap_prot.h pmap_rmt.h raw.h rpc.h \ + rpc_msg.h rpcb_clnt.h rpcb_prot.h rpcent.h \ + svc.h svc_auth.h svc_soc.h types.h xdr.h + + +rpcb_prot.h: rpcb_prot.x + rpcgen -h ${.ALLSRC} -o ${.TARGET} + +CLEANFILES+= rpcb_prot.h + +INCSDIR= /usr/include/rpc + +.include