Various compile fixes.
Imported gzip. Changed setup script not to insist cwd is / when running from cd.
This commit is contained in:
parent
47474b6341
commit
f81ac6ae5c
@ -8,7 +8,13 @@ usage:
|
|||||||
@echo " make clean # Delete .o files and other junk" >&2
|
@echo " make clean # Delete .o files and other junk" >&2
|
||||||
@false
|
@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 `arch` && $(MAKE) $@
|
||||||
cd aal && $(MAKE) $@
|
cd aal && $(MAKE) $@
|
||||||
cd advent && $(MAKE) $@
|
cd advent && $(MAKE) $@
|
||||||
|
@ -82,11 +82,15 @@ esac
|
|||||||
|
|
||||||
# Installing Minix on the hard disk.
|
# Installing Minix on the hard disk.
|
||||||
# Must be in / or we can't mount or umount.
|
# Must be in / or we can't mount or umount.
|
||||||
case "`pwd`" in
|
if [ ! -f /CD ]
|
||||||
/?*)
|
then
|
||||||
echo "Please type 'cd /' first, you are locking up `pwd`" >&2
|
case "`pwd`" in
|
||||||
exit 1
|
/?*)
|
||||||
esac
|
echo "Please type 'cd /' first, you are locking up `pwd`" >&2
|
||||||
|
exit 1
|
||||||
|
esac
|
||||||
|
fi
|
||||||
|
|
||||||
case "$0" in
|
case "$0" in
|
||||||
/tmp/*)
|
/tmp/*)
|
||||||
rm -f "$0"
|
rm -f "$0"
|
||||||
|
@ -891,6 +891,7 @@ install: \
|
|||||||
/usr/bin/ifdef \
|
/usr/bin/ifdef \
|
||||||
/usr/bin/in.fingerd \
|
/usr/bin/in.fingerd \
|
||||||
/usr/bin/in.rshd \
|
/usr/bin/in.rshd \
|
||||||
|
/bin/install \
|
||||||
/usr/bin/install \
|
/usr/bin/install \
|
||||||
/usr/bin/intr \
|
/usr/bin/intr \
|
||||||
/usr/bin/irdpd \
|
/usr/bin/irdpd \
|
||||||
|
@ -38,10 +38,6 @@
|
|||||||
#include <net/gen/tcp.h>
|
#include <net/gen/tcp.h>
|
||||||
#include <net/gen/tcp_io.h>
|
#include <net/gen/tcp_io.h>
|
||||||
|
|
||||||
typedef u8_t u_char;
|
|
||||||
typedef u16_t u_short;
|
|
||||||
typedef u32_t u_long;
|
|
||||||
|
|
||||||
#undef ERROR
|
#undef ERROR
|
||||||
#else
|
#else
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
@ -76,10 +76,6 @@ static char sccsid[] = "@(#)rlogin.c 5.33 (Berkeley) 3/1/91";
|
|||||||
#include <signal.h>
|
#include <signal.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
#if __minix
|
|
||||||
typedef unsigned char u_char;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef KERBEROS
|
#ifdef KERBEROS
|
||||||
#include <kerberosIV/des.h>
|
#include <kerberosIV/des.h>
|
||||||
#include <kerberosIV/krb.h>
|
#include <kerberosIV/krb.h>
|
||||||
|
@ -68,7 +68,6 @@ void talk _ARGS(( int nflag, long omask, int pid, int rem ));
|
|||||||
#define _PATH_RLOGIN1 "/bin/rlogin"
|
#define _PATH_RLOGIN1 "/bin/rlogin"
|
||||||
#define _PATH_RLOGIN2 "/usr/bin/rlogin"
|
#define _PATH_RLOGIN2 "/usr/bin/rlogin"
|
||||||
|
|
||||||
typedef unsigned u_int;
|
|
||||||
#else
|
#else
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <sys/signal.h>
|
#include <sys/signal.h>
|
||||||
|
@ -41,13 +41,6 @@
|
|||||||
# define BSD
|
# define BSD
|
||||||
# endif
|
# 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
|
# ifndef S_IREAD
|
||||||
# define S_IREAD S_IRUSR
|
# define S_IREAD S_IRUSR
|
||||||
# define S_IWRITE S_IWUSR
|
# define S_IWRITE S_IWUSR
|
||||||
|
@ -56,7 +56,6 @@ static char sccsid[] = "@(#)xargs.c 5.11 (Berkeley) 6/19/91";
|
|||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
#if __minix
|
#if __minix
|
||||||
#define _PATH_ECHO "/bin/echo"
|
#define _PATH_ECHO "/bin/echo"
|
||||||
typedef unsigned u_int;
|
|
||||||
#else
|
#else
|
||||||
#include "pathnames.h"
|
#include "pathnames.h"
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user