2001-11-15 01:00:42 +03:00
|
|
|
# $NetBSD: Makefile,v 1.26 2001/11/14 22:00:42 tv 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
|
|
|
|
|
1999-08-25 08:47:12 +04:00
|
|
|
# Compatibility code for NetBSD 1.4
|
|
|
|
SRCS+= sysv_ipc_14.c sysv_msg_14.c sysv_shm_14.c sysv_sem_14.c
|
|
|
|
|
1998-04-28 20:27:51 +04:00
|
|
|
# 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::
|
|
|
|
|
2001-11-15 01:00:42 +03:00
|
|
|
.include <bsd.own.mk>
|
2001-11-15 00:59:31 +03:00
|
|
|
.undef DESTDIR
|
1995-06-25 00:15:55 +04:00
|
|
|
.include <bsd.lib.mk>
|