Use rpcgen's -C option to get prototypes in nfs_prot.h.
This commit is contained in:
parent
5b44ce4f91
commit
5e97204684
@ -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}
|
||||
|
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user