1999-05-07 18:28:50 +04:00
|
|
|
# $NetBSD: Makefile,v 1.23 1999/05/07 14:28:51 drochner Exp $
|
1995-06-25 00:15:55 +04:00
|
|
|
|
|
|
|
LIB= compat
|
1999-02-13 05:54:17 +03:00
|
|
|
MKPIC= no
|
1995-06-25 00:15:55 +04:00
|
|
|
|
1996-08-08 19:06:39 +04:00
|
|
|
CPPFLAGS= ${COMPATCPPFLAGS}
|
1996-06-30 04:17:02 +04:00
|
|
|
|
1999-05-07 18:28:50 +04:00
|
|
|
.PATH.c: ${COMPATDIR}
|
|
|
|
|
1998-04-28 20:27:51 +04:00
|
|
|
# Common compatibility code, used by all emulations
|
|
|
|
SRCS= compat_exec.c compat_util.c
|
1995-06-28 07:00:20 +04:00
|
|
|
|
1998-04-28 20:27:51 +04:00
|
|
|
# Compatibility code for 4.3BSD
|
|
|
|
SRCS+= kern_exit_43.c kern_info_43.c kern_resource_43.c kern_sig_43.c \
|
|
|
|
tty_43.c uipc_syscalls_43.c vfs_syscalls_43.c vm_43.c
|
|
|
|
|
|
|
|
# Compatibility code for NetBSD 0.9
|
|
|
|
SRCS+= kern_info_09.c
|
|
|
|
|
|
|
|
# Compatibility code for NetBSD 1.2
|
|
|
|
SRCS+= kern_xxx_12.c vfs_syscalls_12.c vm_12.c
|
|
|
|
|
|
|
|
# Compatibility code for NetBSD 1.3
|
|
|
|
SRCS+= kern_sig_13.c
|
|
|
|
|
|
|
|
# really, all machines where sizeof(int) != sizeof(long) (LP64)
|
1995-06-28 07:00:20 +04:00
|
|
|
.if (${MACHINE_ARCH} != "alpha")
|
|
|
|
SRCS+= kern_ipc_10.c
|
|
|
|
.endif
|
1995-06-25 00:15:55 +04:00
|
|
|
|
1997-06-01 01:21:13 +04:00
|
|
|
# only needed during build
|
|
|
|
libinstall::
|
|
|
|
|
1995-06-25 00:15:55 +04:00
|
|
|
.include <bsd.lib.mk>
|