Imported gzip.
Changed setup script not to insist cwd is / when running from cd.
@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) $@
# 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"
/usr/bin/ifdef \
/usr/bin/in.fingerd \
/usr/bin/in.rshd \
+ /bin/install \
/usr/bin/install \
/usr/bin/intr \
/usr/bin/irdpd \
#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>
#include <signal.h>
#include <stdlib.h>
-#if __minix
-typedef unsigned char u_char;
-#endif
-
#ifdef KERBEROS
#include <kerberosIV/des.h>
#include <kerberosIV/krb.h>
#define _PATH_RLOGIN1 "/bin/rlogin"
#define _PATH_RLOGIN2 "/usr/bin/rlogin"
-typedef unsigned u_int;
#else
#include <sys/types.h>
#include <sys/signal.h>
# 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
#include <stdarg.h>
#if __minix
#define _PATH_ECHO "/bin/echo"
-typedef unsigned u_int;
#else
#include "pathnames.h"
#endif