OSDN Git Service

Finished porting stuff to x86 and supporting the Linux 2.2 kernels.
authorErik Andersen <andersen@codepoet.org>
Mon, 15 May 2000 22:10:56 +0000 (22:10 -0000)
committerErik Andersen <andersen@codepoet.org>
Mon, 15 May 2000 22:10:56 +0000 (22:10 -0000)
It now compiles....
 -Erik

12 files changed:
Makefile
include/limits.h
include/rpc/rpc.h
include/rpc/svc.h
libc/inet/Makefile
libc/inet/rpc/Makefile
libc/inet/rpc/get_myaddress.c
libc/inet/rpc/pmap_getmaps.c
libc/inet/rpc/pmap_getport.c
libc/inet/rpc/pmap_rmt.c
libc/misc/time/Makefile
libc/stdlib/malloc/Makefile

index 741235a..5f65a6d 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -60,5 +60,5 @@ dummy:
 
 clean:
        -rm -f `find -name \*.[oa]` `find -name \*~` core
-       -rm include/asm include/net include/linux
+       -rm -f include/asm include/net include/linux
 
index 8b59c82..e03e558 100644 (file)
@@ -39,10 +39,7 @@ Cambridge, MA 02139, USA.  */
  * #include_next.
 #if    __GNUC__ >= 2 && __STDC__
  */
-#if    __GNUC__ >= 2
-
- /* Have we done that? */
-# if !defined(_GCC_LIMITS_H_) && !defined(_GCC_LIMITS_H)
+#if    __GNUC__ >= 2 && !defined(_GCC_LIMITS_H_) && !defined(_GCC_LIMITS_H)
   /* Get the compiler's limits.h, which defines all the ANSI
    * constants.
    */
@@ -50,7 +47,6 @@ Cambridge, MA 02139, USA.  */
 # define _LIBC_LIMITS_H
 # define _LIBC_LIMITS_H_
 # include_next <limits.h>
-# endif
 
 #else  /* Not GCC 2.  */
 
index 1edf4a3..f1da8fa 100644 (file)
@@ -60,7 +60,7 @@
  *  Uncomment-out the next line if you are building the rpc library with    
  *  DES Authentication (see the README file in the secure_rpc/ directory).
  */
-/*#include <rpc/auth_des.h>    /* protocol for des style cred */
+/*#include <rpc/auth_des.h>*/  /* protocol for des style cred */
 
 /* Server side only remote procedure callee */
 #include <rpc/svc.h>           /* service manager and multiplexer */
index 3cb07ef..a36a24b 100644 (file)
@@ -151,8 +151,7 @@ struct svc_req {
  *     u_long prog;
  *     u_long vers;
  *     void (*dispatch)();
- *     int protocol;  /* like TCP or UDP, zero means do not register 
- */
+ *     int protocol; */  /* like TCP or UDP, zero means do not register*/ 
 extern bool_t  svc_register();
 
 /*
index 1e95430..14afc17 100644 (file)
@@ -5,7 +5,7 @@
 # under the GNU Library General Public License.
 
 TOPDIR=../
-include Rules.make
+include $(TOPDIR)Rules.make
 
 LIBC=../libc.a
 
index b2d7c6d..e2c8677 100644 (file)
@@ -1,5 +1,6 @@
 TOPDIR=../
 include $(TOPDIR)Rules.make
+CFLAGS+=-I$(TOPDIR)include/linux
 
 OBJS = auth_none.o auth_unix.o authunix_prot.o \
        bindresvport.o clnt_generic.o clnt_perror.o \
index 1940d3e..cbfc05b 100644 (file)
@@ -42,7 +42,7 @@ static char sccsid[] = "@(#)get_myaddress.c 1.4 87/08/11 Copyr 1984 Sun Micro";
 #include <rpc/pmap_prot.h>
 #include <sys/socket.h>
 #include <stdio.h>
-#include <net/if.h>
+//#include <net/if.h>
 #include <sys/ioctl.h>
 #include <arpa/inet.h>
 #include <netinet/in.h>
index e4a9c49..98803d3 100644 (file)
@@ -46,7 +46,7 @@ static char sccsid[] = "@(#)pmap_getmaps.c 1.10 87/08/11 Copyr 1984 Sun Micro";
 #include <netdb.h>
 #include <stdio.h>
 #include <errno.h>
-#include <net/if.h>
+//#include <net/if.h>
 #include <sys/ioctl.h>
 #define NAMELEN 255
 #define MAX_BROADCAST_SIZE 1400
index 77b9cf7..5eb2eee 100644 (file)
@@ -42,7 +42,7 @@ static char sccsid[] = "@(#)pmap_getport.c 1.9 87/08/11 Copyr 1984 Sun Micro";
 #include <rpc/pmap_prot.h>
 #include <rpc/pmap_clnt.h>
 #include <sys/socket.h>
-#include <net/if.h>
+//#include <net/if.h>
 
 static struct timeval timeout = { 5, 0 };
 static struct timeval tottimeout = { 60, 0 };
index 336d0c1..1921b74 100644 (file)
@@ -46,7 +46,7 @@ static char sccsid[] = "@(#)pmap_rmt.c 1.21 87/08/27 Copyr 1984 Sun Micro";
 #include <sys/socket.h>
 #include <stdio.h>
 #include <errno.h>
-#include <net/if.h>
+//#include <net/if.h>
 #include <sys/ioctl.h>
 #include <arpa/inet.h>
 #define MAX_BROADCAST_SIZE 1400
index ce2351d..7d648f8 100644 (file)
@@ -5,7 +5,7 @@
 TOPDIR=../
 include $(TOPDIR)Rules.make
 
-CFLAGS+=-I$(TOPDIR)/include/linux
+CFLAGS+=-I$(TOPDIR)include/linux
 
 LIBC=../libc.a
 
index 368adb7..eecfd32 100644 (file)
@@ -3,7 +3,7 @@
 # under the GNU Library General Public License.
 
 TOPDIR=../
-include Rules.make
+include $(TOPDIR)Rules.make
 
 LIBC=../libc.a