Use rpcgen's -C option to get prototypes in nfs_prot.h.

This commit is contained in:
Bruce Evans 1998-05-10 15:16:04 +00:00
parent 5b44ce4f91
commit 5e97204684
2 changed files with 2 additions and 2 deletions

View File

@ -12,7 +12,7 @@ CFLAGS+=-DOS_REP=\"bsd44\"
CFLAGS+=-DOS_HDR=\"os-bsd44.h\"
.PATH: ${.CURDIR}/../rpcx ${.CURDIR}/../amd
CLEANFILES+=nfs_prot.h
RPCCOM = rpcgen
RPCCOM = rpcgen -C
NFS_PROT_X= ${DESTDIR}/usr/include/rpcsvc/nfs_prot.x
nfs_prot.h: ${NFS_PROT_X}

View File

@ -9,7 +9,7 @@ CFLAGS+=-I${.CURDIR}/../config
CFLAGS+=-DOS_HDR=\"os-bsd44.h\"
MAN8= mk-amd-map.8
CLEANFILES+=nfs_prot.h
RPCCOM = rpcgen
RPCCOM = rpcgen -C
NFS_PROT_X= ${DESTDIR}/usr/include/rpcsvc/nfs_prot.x
nfs_prot.h: ${NFS_PROT_X}