Various compile fixes.

Imported gzip.

Changed setup script not to insist cwd is / when running from cd.
This commit is contained in:
Ben Gras 2005-06-17 13:42:53 +00:00
parent 47474b6341
commit f81ac6ae5c
8 changed files with 17 additions and 23 deletions

View file

@ -8,7 +8,13 @@ usage:
@echo " make clean # Delete .o files and other junk" >&2
@false
all install clean:
all::
cd gzip-1.2.4 && ./configure --prefix=/usr && make
install clean::
cd gzip-1.2.4 && make $@
all install clean::
cd `arch` && $(MAKE) $@
cd aal && $(MAKE) $@
cd advent && $(MAKE) $@

View file

@ -82,11 +82,15 @@ esac
# Installing Minix on the hard disk.
# Must be in / or we can't mount or umount.
case "`pwd`" in
/?*)
echo "Please type 'cd /' first, you are locking up `pwd`" >&2
exit 1
esac
if [ ! -f /CD ]
then
case "`pwd`" in
/?*)
echo "Please type 'cd /' first, you are locking up `pwd`" >&2
exit 1
esac
fi
case "$0" in
/tmp/*)
rm -f "$0"

View file

@ -891,6 +891,7 @@ install: \
/usr/bin/ifdef \
/usr/bin/in.fingerd \
/usr/bin/in.rshd \
/bin/install \
/usr/bin/install \
/usr/bin/intr \
/usr/bin/irdpd \

View file

@ -38,10 +38,6 @@
#include <net/gen/tcp.h>
#include <net/gen/tcp_io.h>
typedef u8_t u_char;
typedef u16_t u_short;
typedef u32_t u_long;
#undef ERROR
#else
#include <stdio.h>

View file

@ -76,10 +76,6 @@ static char sccsid[] = "@(#)rlogin.c 5.33 (Berkeley) 3/1/91";
#include <signal.h>
#include <stdlib.h>
#if __minix
typedef unsigned char u_char;
#endif
#ifdef KERBEROS
#include <kerberosIV/des.h>
#include <kerberosIV/krb.h>

View file

@ -68,7 +68,6 @@ void talk _ARGS(( int nflag, long omask, int pid, int rem ));
#define _PATH_RLOGIN1 "/bin/rlogin"
#define _PATH_RLOGIN2 "/usr/bin/rlogin"
typedef unsigned u_int;
#else
#include <sys/types.h>
#include <sys/signal.h>

View file

@ -41,13 +41,6 @@
# define BSD
# endif
# ifndef BSD
typedef unsigned char u_char;
typedef unsigned short u_short;
typedef unsigned int u_int;
typedef unsigned long u_long;
# endif
# ifndef S_IREAD
# define S_IREAD S_IRUSR
# define S_IWRITE S_IWUSR

View file

@ -56,7 +56,6 @@ static char sccsid[] = "@(#)xargs.c 5.11 (Berkeley) 6/19/91";
#include <stdarg.h>
#if __minix
#define _PATH_ECHO "/bin/echo"
typedef unsigned u_int;
#else
#include "pathnames.h"
#endif