./usr/include/arm/bswap.h minix-sys
./usr/include/arm/byte_swap.h minix-sys
./usr/include/arm/cdefs.h minix-sys
-./usr/include/arm/compat_jmp_buf.h minix-sys
+./usr/include/arm/compat_jmp_buf.h minix-sys obsolete
./usr/include/arm/cpuconf.h minix-sys
./usr/include/arm/cpu.h minix-sys
./usr/include/arm/disklabel.h minix-sys
./usr/include/i386/byte_swap.h minix-sys
./usr/include/i386/cdefs.h minix-sys
./usr/include/i386/cmos.h minix-sys
-./usr/include/i386/compat_jmp_buf.h minix-sys
+./usr/include/i386/compat_jmp_buf.h minix-sys obsolete
./usr/include/i386/cpu.h minix-sys
./usr/include/i386/disklabel.h minix-sys
./usr/include/i386/diskparm.h minix-sys
./usr/include/net/gen/in.h minix-sys
./usr/include/net/gen/ip_hdr.h minix-sys
./usr/include/net/gen/ip_io.h minix-sys
-./usr/include/net/gen/nameser.h minix-sys
-./usr/include/net/gen/netdb.h minix-sys
+./usr/include/net/gen/nameser.h minix-sys obsolete
+./usr/include/net/gen/netdb.h minix-sys obsolete
./usr/include/net/gen/oneCsum.h minix-sys
./usr/include/net/gen/psip_hdr.h minix-sys
./usr/include/net/gen/psip_io.h minix-sys
-./usr/include/net/gen/resolv.h minix-sys
+./usr/include/net/gen/resolv.h minix-sys obsolete
./usr/include/net/gen/rip.h minix-sys
./usr/include/net/gen/route.h minix-sys
./usr/include/net/gen/socket.h minix-sys
./usr/include/sys/ioctl.h minix-sys
./usr/include/sys/iostat.h minix-sys
./usr/include/sys/ipc.h minix-sys
-./usr/include/sys/jmp_buf.h minix-sys
+./usr/include/sys/jmp_buf.h minix-sys obsolete
./usr/include/sys/joystick.h minix-sys
./usr/include/sys/kbdio.h minix-sys
./usr/include/sys/kcore.h minix-sys
./usr/lib/bc/libc.a minix-sys bitcode
./usr/lib/bc/libc++.a minix-sys bitcode
./usr/lib/bc/libchardriver.a minix-sys bitcode
-./usr/lib/bc/libcompat_minix.a minix-sys bitcode
+./usr/lib/bc/libcompat_minix.a minix-sys bitcode obsolete
./usr/lib/bc/libcrypt.a minix-sys bitcode
./usr/lib/bc/libcurses.a minix-sys bitcode
./usr/lib/bc/libddekit.a minix-sys bitcode
./usr/lib/cawf/me.mac minix-sys
./usr/lib/cawf/mnx.mac minix-sys
./usr/lib/cawf/ms.mac minix-sys
-./usr/lib/compat_minix.pc minix-sys
+./usr/lib/compat_minix.pc minix-sys obsolete
./usr/lib/crontab minix-sys
./usr/lib/crt0.o minix-sys
./usr/lib/crtbegin.o minix-sys
./usr/lib/libc++.a minix-sys libcxx
./usr/lib/libchardriver.a minix-sys
./usr/lib/libchardriver_pic.a minix-sys
-./usr/lib/libcompat_minix.a minix-sys
-./usr/lib/libcompat_minix_pic.a minix-sys
-./usr/lib/libcompat_minix.so.0.0 minix-sys
-./usr/lib/libcompat_minix.so.0 minix-sys
-./usr/lib/libcompat_minix.so minix-sys
+./usr/lib/libcompat_minix.a minix-sys obsolete
+./usr/lib/libcompat_minix_pic.a minix-sys obsolete
+./usr/lib/libcompat_minix.so.0.0 minix-sys obsolete
+./usr/lib/libcompat_minix.so.0 minix-sys obsolete
+./usr/lib/libcompat_minix.so minix-sys obsolete
./usr/lib/libc.pc minix-sys
./usr/lib/libc_pic.a minix-sys
./usr/lib/libc++_pic.a minix-sys libcxx
../minix/lib/libbdev \
../minix/lib/libblockdriver \
../minix/lib/libchardriver \
- ../minix/lib/libcompat_minix \
../minix/lib/libddekit \
../minix/lib/libdevman \
../minix/lib/libexec \
Name: c
Description: NetBSD C Library
Version: 1.0
-Libs: -lc -lminlib -lcompat_minix
+Libs: -lc -lminlib
# Only include Minix-specific libraries when compiling
# for non-Minix, i.e. not natively in a crossbuild.
.if !defined(HOSTPROGNAME)
-LDADD+= -lminlib -lcompat_minix -lasyn -lterminfo
+LDADD+= -lminlib -lasyn -lterminfo
.endif
BINDIR?=/usr/bin
#include <net/hton.h>
#include <net/netlib.h>
-#include <net/gen/netdb.h>
+#include <netdb.h>
#include <net/gen/in.h>
#include <net/gen/inet.h>
#include <net/gen/route.h>
#include <net/gen/in.h>
#include <net/gen/inet.h>
#include <net/gen/ip_io.h>
-#include <net/gen/netdb.h>
+#include <netdb.h>
#include <net/gen/socket.h>
#include <net/gen/arp_io.h>
#include <sys/asynchio.h>
#include <net/hton.h>
#include <net/gen/socket.h>
-#include <net/gen/netdb.h>
+#include <netdb.h>
#include <net/gen/in.h>
#include <net/gen/inet.h>
#include <net/gen/ether.h>
#include <sys/asynchio.h>
#include <net/hton.h>
#include <net/gen/socket.h>
-#include <net/gen/netdb.h>
+#include <netdb.h>
#include <net/gen/in.h>
#include <net/gen/inet.h>
#include <net/gen/ether.h>
#include <net/gen/in.h>
#include <net/gen/inet.h>
#include <net/gen/ip_io.h>
-#include <net/gen/netdb.h>
+#include <netdb.h>
#include <net/gen/socket.h>
-#include <net/gen/nameser.h>
-#include <net/gen/resolv.h>
+
+#include <arpa/nameser.h>
+#include <resolv.h>
#include <net/gen/dhcp.h>
#include <minix/paths.h>
#include <net/gen/icmp_hdr.h>
#include <net/gen/ip_io.h>
#include <net/gen/inet.h>
-#include <net/gen/netdb.h>
+#include <netdb.h>
#include <net/gen/oneCsum.h>
#include <net/gen/socket.h>
#include <net/gen/udp.h>
#include <net/netlib.h>
#include <net/gen/in.h>
#include <net/gen/inet.h>
-#include <net/gen/nameser.h>
-#include <net/gen/resolv.h>
-#include <net/gen/netdb.h>
+#include <arpa/nameser.h>
+#include <resolv.h>
+#include <netdb.h>
#include <net/gen/socket.h>
#include <net/gen/tcp.h>
#include <net/gen/tcp_io.h>
#include <net/gen/in.h>
#include <net/gen/ip_io.h>
#include <net/gen/route.h>
-#include <net/gen/netdb.h>
+#include <netdb.h>
#include <net/gen/inet.h>
#define N_IF 64 /* More than enough? */
#include <sys/asynchio.h>
#include <net/hton.h>
#include <net/gen/socket.h>
-#include <net/gen/netdb.h>
+#include <netdb.h>
#include <net/gen/in.h>
#include <net/gen/inet.h>
#include <net/gen/ether.h>
#include <net/gen/eth_io.h>
#include <net/gen/if_ether.h>
#include <net/gen/ip_io.h>
-#include <net/gen/nameser.h>
+#include <arpa/nameser.h>
#define MAX_RARP_RETRIES 5
#define RARP_TIMEOUT 5
#include <signal.h>
#include <unistd.h>
-#include <net/gen/netdb.h>
+#include <netdb.h>
#include <net/netlib.h>
#if __STDC__
#if __minix
#include <net/gen/in.h>
#include <net/gen/inet.h>
-#include <net/gen/netdb.h>
+#include <netdb.h>
#include <net/gen/socket.h>
#include <net/gen/tcp.h>
#include <net/gen/tcp_hdr.h>
#include <net/netlib.h>
#include <net/hton.h>
#include <net/gen/in.h>
-#include <net/gen/netdb.h>
+#include <netdb.h>
#include <net/gen/tcp.h>
#include <net/gen/tcp_io.h>
#include <unistd.h>
#include <net/netlib.h>
-#include <net/gen/netdb.h>
+#include <netdb.h>
int main( int argc, char *argv[] );
void usage( void );
char *copyargs( char **argv );
#include <sys/ioctl.h>
#include <net/gen/in.h>
#include <net/gen/inet.h>
-#include <net/gen/netdb.h>
+#include <netdb.h>
#include <net/gen/socket.h>
#include <net/gen/tcp.h>
#include <net/gen/tcp_io.h>
#include <net/netlib.h>
#include <net/gen/in.h>
#include <net/gen/inet.h>
-#include <net/gen/netdb.h>
+#include <netdb.h>
#include <net/gen/socket.h>
#include <net/gen/tcp.h>
#include <net/gen/tcp_io.h>
#include <net/gen/in.h>
#include <net/gen/udp.h>
#include <net/gen/udp_io.h>
-#include <net/gen/netdb.h>
+#include <netdb.h>
#define SYSLOG_NAMES
#include <syslog.h>
#include <net/netlib.h>
#include <net/gen/in.h>
#include <net/gen/inet.h>
-#include <net/gen/netdb.h>
+#include <netdb.h>
#include <net/gen/tcp.h>
#include <net/gen/tcp_io.h>
#include <net/netlib.h>
#include <net/gen/in.h>
#include <net/gen/inet.h>
-#include <net/gen/netdb.h>
+#include <netdb.h>
#include <net/gen/tcp.h>
#include <net/gen/tcp_io.h>
#endif
#include <net/netlib.h>
#include <net/gen/inet.h>
-#include <net/gen/netdb.h>
+#include <netdb.h>
#include <net/gen/socket.h>
#include <minix/queryparam.h>
#include <minix/com.h>
#include <net/netlib.h>
#include <net/gen/in.h>
#include <net/gen/inet.h>
-#include <net/gen/netdb.h>
+#include <netdb.h>
#include <net/gen/tcp.h>
#include <net/gen/tcp_io.h>
#include "ttn.h"
#include <net/gen/tcp.h>
#include <net/gen/tcp_io.h>
#include <net/gen/socket.h>
-#include <net/gen/netdb.h>
+#include <netdb.h>
#include <net/gen/inet.h>
#include "telnetd.h"
#endif
#include <net/netlib.h>
#include <net/gen/inet.h>
-#include <net/gen/netdb.h>
+#include <netdb.h>
#include <net/gen/socket.h>
#include <minix/queryparam.h>
BINDIR?= /service
MAN?=
-LDADD+= -lminlib -lcompat_minix
-DPADD+= ${LIBMINLIB} ${LIBCOMPAT_MINIX}
+LDADD+= -lminlib
+DPADD+= ${LIBMINLIB}
.include "../Makefile.inc"
PROGRAMS+= ld.elf_so
PROG_LIBS+= libc
PROG_MINIXLIBS+= libminlib
-PROG_MINIXLIBS+= libcompat_minix
PROG_MINIXLIBS+= libterminfo
.endif
lib d--755 0 0
libc.so.0 ---755 0 0 libc.so.0
libminlib.so.0 ---755 0 0 libminlib.so.0
- libcompat_minix.so.0 ---755 0 0 libcompat_minix.so.0
libterminfo.so.0 ---755 0 0 libterminfo.so.0
$
$
BINDIR?= /service
MAN?=
-LDADD+= -lminlib -lcompat_minix
-DPADD+= ${LIBMINLIB} ${LIBCOMPAT_MINIX}
+LDADD+= -lminlib
+DPADD+= ${LIBMINLIB}
.include "../Makefile.inc"
NOOBJ= # defined
-INCS+= env.h fetch.h lib.h libutil.h varargs.h
+INCS+= env.h fetch.h lib.h libutil.h varargs.h configfile.h
.include <bsd.own.mk>
SUBDIR+= libbdev
SUBDIR+= libblockdriver
SUBDIR+= libchardriver
-SUBDIR+= libcompat_minix
SUBDIR+= libddekit
SUBDIR+= libdevman
SUBDIR+= libexec
SRCS+= minix-malloc.c minix-calloc.c
SRCS+= minix-malloc-debug.c
-
+SRCS+= configfile.c mtab.c stderr.c
+++ /dev/null
-NOGCCERROR=yes
-NOCLANGERROR=yes
-
-.include <bsd.own.mk>
-
-LIB= compat_minix
-USE_SHLIBDIR= yes
-
-.PATH: ${.CURDIR}
-
-# std_err()
-SRCS+= stderr.c
-
-# Configfile Library.
-SRCS+= configfile.c
-
-# Minix 'mtab' handling functions.
-#
-# These should be changed when we switch to
-# NetBSD's 'mtab' format.
-SRCS+= mtab.c
-
-SUBDIR+= pkgconfig include
-
-.include <bsd.lib.mk>
-.include <bsd.subdir.mk>
+++ /dev/null
-
-INCSDIR= /usr/include
-
-INCS+= configfile.h
-
-NOOBJ= # defined
-
-SUBDIR+= ${MACHINE_ARCH}
-SUBDIR+= net sys
-
-.include <bsd.prog.mk>
-.include <bsd.subdir.mk>
+++ /dev/null
-
-INCSDIR= /usr/include/arm
-
-INCS= compat_jmp_buf.h
-
-NOOBJ= # defined
-
-.include <bsd.prog.mk>
+++ /dev/null
-#ifndef _COMPAT_MACHINE_JMP_BUF_H
-#define _COMPAT_MACHINE_JMP_BUF_H
-
-/* This file is strictly dependant on the libc's
- * setjmp/longjmp code! Keep it in sync! */
-
-/* This is used only by libddekit's src/thread.c.
- * Being incredibly fragile (not to mention hardly
- * portable, it would be a good idea to replace
- * that code. */
-
-#define JB_PC 148
-#define JB_SP 144
-#define JB_BP 136
-
-#endif /* _COMPAT_MACHINE_JMP_BUF_H */
+++ /dev/null
-
-INCSDIR= /usr/include/${MACHINE_ARCH}
-
-INCS= compat_jmp_buf.h
-
-NOOBJ= # defined
-
-.include <bsd.prog.mk>
+++ /dev/null
-#ifndef _COMPAT_MACHINE_JMP_BUF_H
-#define _COMPAT_MACHINE_JMP_BUF_H
-
-/* This file is strictly dependant on the libc's
- * setjmp/longjmp code! Keep it in sync! */
-
-/* This is used only by libddekit's src/thread.c.
- * Being incredibly fragile (not to mention hardly
- * portable, it would be a good idea to replace
- * that code. */
-
-#define JB_PC 0
-#define JB_SP 8
-#define JB_BP 12
-
-#endif /* _COMPAT_MACHINE_JMP_BUF_H */
+++ /dev/null
-
-SUBDIR+= gen
-
-.include <bsd.subdir.mk>
+++ /dev/null
-
-INCSDIR= /usr/include/net/gen
-
-INCS= netdb.h resolv.h nameser.h
-
-NOOBJ= # defined
-
-.include <bsd.prog.mk>
+++ /dev/null
-/*
- * Minix compatibility.
- */
-#include <arpa/nameser.h>
-
+++ /dev/null
-/*
- * Minix compatibility.
- */
-#include <netdb.h>
-
+++ /dev/null
-/*
- * Minix compatibility.
- */
-#include <resolv.h>
-
+++ /dev/null
-
-INCSDIR= /usr/include/sys
-
-INCS= jmp_buf.h
-
-NOOBJ= # defined
-
-.include <bsd.prog.mk>
+++ /dev/null
-/* Stub for libddekit. Hopefully this will go away soon. */
-#include <machine/compat_jmp_buf.h>
+++ /dev/null
-NOOBJ= # defined
-
-.include <bsd.own.mk>
-
-FILES=compat_minix.pc
-FILESDIR=/usr/lib
-FILESMODE=444
-
-.include <bsd.prog.mk>
+++ /dev/null
-Name: compat_minix
-Description: Minix Compatibility Library
-Version: 1.0
-Libs: -lcompat_minix
+++ /dev/null
-major=0
-minor=0
#include <net/gen/tcp_io.h>
#include <net/gen/inet.h>
#include <net/gen/socket.h>
-#include <net/gen/netdb.h>
+#include <netdb.h>
/* Default service access file. */
static const char *path_servacces = _PATH_SERVACCES;
BINDIR?= /service
MAN?=
-LDADD+= -lminlib -lcompat_minix
-DPADD+= ${LIBMINLIB} ${LIBCOMPAT_MINIX}
+LDADD+= -lminlib
+DPADD+= ${LIBMINLIB}
.include "../Makefile.inc"
BINDIR?= /service
MAN?=
-LDADD+= -lminlib -lcompat_minix
-DPADD+= ${LIBMINLIB} ${LIBCOMPAT_MINIX}
+LDADD+= -lminlib
+DPADD+= ${LIBMINLIB}
.include "../Makefile.inc"
FILES= test1.c
CFLAGS+= -fno-builtin
-LDADD+= -lm -lcompat_minix
+LDADD+= -lm
.include <bsd.own.mk>
# Copied from drivers/Makefile.inc, and slightly edited.
-LDADD+= -lminlib -lcompat_minix
-DPADD+= ${LIBMINLIB} ${LIBCOMPAT_MINIX}
+LDADD+= -lminlib
+DPADD+= ${LIBMINLIB}
BINDIR?=/usr/sbin
# Copied from drivers/Makefile.inc
-LDADD+= -lminlib -lcompat_minix
-DPADD+= ${LIBMINLIB} ${LIBCOMPAT_MINIX}
+LDADD+= -lminlib
+DPADD+= ${LIBMINLIB}
BINDIR?=/usr/sbin
# Copied from drivers/Makefile.inc
-LDADD+= -lminlib -lcompat_minix
-DPADD+= ${LIBMINLIB} ${LIBCOMPAT_MINIX}
+LDADD+= -lminlib
+DPADD+= ${LIBMINLIB}
BINDIR?=/usr/sbin
chmod +x down run
requestor: requestor.c inc.h
- cc -static -o $@ $< -lsys -lminlib -lcompat_minix
+ cc -static -o $@ $< -lsys -lminlib
grantor: grantor.c inc.h
- cc -static -o $@ $< -lsys -lminlib -lcompat_minix
+ cc -static -o $@ $< -lsys -lminlib
1fifo 2fifo:
mkfifo $@
.if ${HOST_OSTYPE:C/\-.*//:U} == "Minix" || !defined(HOSTPROGNAME)
#LSC: FIXME This should not be required, more so only on Minix...
-LDADD+= -lminlib -lcompat_minix
+LDADD+= -lminlib
DPADD+= ${MINLIB} ${COMPAT_MINIX}
.endif
blockdriver \
chardriver \
clkconf \
- compat_minix \
ddekit \
ddekit_usb_client \
ddekit_usb_server \
HOSTEXEEXT=.exe
.endif
-.if ${HOST_OSTYPE:C/\-.*//} == "Minix"
-LDADD+= -lcompat_minix
-.endif # ${HOST_OSTYPE:C/\-.*//} == "Minix"
-
# Resolve pathnames in variables.
_RESOLVE_VARS= CFLAGS CPPFLAGS DPADD HOST_CPPFLAGS LDADD
.for var in ${_RESOLVE_VARS}