Move the basic part of XDR to common/include/rpc and common/lib/libc/rpc.

No functional change intended.
This commit is contained in:
hannken 2019-06-04 15:07:55 +00:00
parent d3a3574d75
commit 6f60c4f99e
9 changed files with 22 additions and 13 deletions

View File

@ -0,0 +1,8 @@
# $NetBSD: Makefile,v 1.1 2019/06/04 15:07:55 hannken Exp $
#
INCS= types.h xdr.h
INCSDIR= /usr/include/rpc
.include <bsd.prog.mk>

View File

@ -1,4 +1,4 @@
/* $NetBSD: types.h,v 1.15 2005/12/26 19:01:47 perry Exp $ */
/* $NetBSD: types.h,v 1.1 2019/06/04 15:07:55 hannken Exp $ */
/*
* Sun RPC is a product of Sun Microsystems, Inc. and is provided for

View File

@ -1,4 +1,4 @@
/* $NetBSD: xdr.h,v 1.31 2019/06/04 08:44:08 hannken Exp $ */
/* $NetBSD: xdr.h,v 1.1 2019/06/04 15:07:55 hannken Exp $ */
/*
* Sun RPC is a product of Sun Microsystems, Inc. and is provided for

View File

@ -1,9 +1,9 @@
# $NetBSD: Makefile.inc,v 1.18 2018/08/03 03:35:17 kamil Exp $
# $NetBSD: Makefile.inc,v 1.19 2019/06/04 15:07:55 hannken Exp $
.include <bsd.own.mk>
COMMON_DIR:=${.PARSEDIR}
COMMON_CODEDIRS=atomic gen gmon inet md misc net stdlib string sys
COMMON_CODEDIRS=atomic gen gmon inet md misc net rpc stdlib string sys
COMMON_CODEDIRS+=hash/sha1 hash/sha2 hash/sha3 hash/rmd160 hash/murmurhash
.if defined(COMMON_MACHINE_ARCH) && !empty(COMMON_MACHINE_ARCH) && \

View File

@ -1,4 +1,4 @@
/* $NetBSD: xdr.c,v 1.34 2017/05/03 21:39:27 christos Exp $ */
/* $NetBSD: xdr.c,v 1.1 2019/06/04 15:07:55 hannken Exp $ */
/*
* Copyright (c) 2010, Oracle America, Inc.
@ -37,7 +37,7 @@
static char *sccsid = "@(#)xdr.c 1.35 87/08/12";
static char *sccsid = "@(#)xdr.c 2.1 88/07/29 4.0 RPCSRC";
#else
__RCSID("$NetBSD: xdr.c,v 1.34 2017/05/03 21:39:27 christos Exp $");
__RCSID("$NetBSD: xdr.c,v 1.1 2019/06/04 15:07:55 hannken Exp $");
#endif
#endif

View File

@ -1,4 +1,4 @@
/* $NetBSD: xdr_array.c,v 1.19 2013/03/11 20:19:29 tron Exp $ */
/* $NetBSD: xdr_array.c,v 1.1 2019/06/04 15:07:55 hannken Exp $ */
/*
* Copyright (c) 2010, Oracle America, Inc.
@ -37,7 +37,7 @@
static char *sccsid = "@(#)xdr_array.c 1.10 87/08/11 Copyr 1984 Sun Micro";
static char *sccsid = "@(#)xdr_array.c 2.1 88/07/29 4.0 RPCSRC";
#else
__RCSID("$NetBSD: xdr_array.c,v 1.19 2013/03/11 20:19:29 tron Exp $");
__RCSID("$NetBSD: xdr_array.c,v 1.1 2019/06/04 15:07:55 hannken Exp $");
#endif
#endif

View File

@ -1,4 +1,4 @@
/* $NetBSD: xdr_mem.c,v 1.20 2019/06/04 08:44:08 hannken Exp $ */
/* $NetBSD: xdr_mem.c,v 1.1 2019/06/04 15:07:55 hannken Exp $ */
/*
* Copyright (c) 2010, Oracle America, Inc.
@ -37,7 +37,7 @@
static char *sccsid = "@(#)xdr_mem.c 1.19 87/08/11 Copyr 1984 Sun Micro";
static char *sccsid = "@(#)xdr_mem.c 2.1 88/07/29 4.0 RPCSRC";
#else
__RCSID("$NetBSD: xdr_mem.c,v 1.20 2019/06/04 08:44:08 hannken Exp $");
__RCSID("$NetBSD: xdr_mem.c,v 1.1 2019/06/04 15:07:55 hannken Exp $");
#endif
#endif

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.145 2019/04/24 10:26:08 roy Exp $
# $NetBSD: Makefile,v 1.146 2019/06/04 15:07:55 hannken Exp $
# @(#)Makefile 8.2 (Berkeley) 1/4/94
# Doing a make includes builds /usr/include
@ -47,6 +47,7 @@ INCSDIR= /usr/include
SUBDIR= rpc
SUBDIR+= ../common/include/prop
SUBDIR+= ../common/include/ppath
SUBDIR+= ../common/include/rpc
.include <bsd.prog.mk>
.include <bsd.subdir.mk>

View File

@ -1,10 +1,10 @@
# $NetBSD: Makefile,v 1.12 2003/01/11 13:28:43 tron Exp $
# $NetBSD: Makefile,v 1.13 2019/06/04 15:07:55 hannken 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_com.h rpc_msg.h rpcb_clnt.h rpcb_prot.h rpcent.h \
svc.h svc_auth.h svc_soc.h types.h xdr.h
svc.h svc_auth.h svc_soc.h
RPC_INCS= rpcb_prot.h
INCSDIR= /usr/include/rpc