Sync usage with man page.
[netbsd-mini2440.git] / sys / compat / common / Makefile
blobf3196dfddd14f8c099bc195d12710c8d0de18268
1 # $NetBSD: Makefile,v 1.44 2009/01/11 02:45:46 christos Exp $
3 LIB= compat
4 NOPIC= # defined
5 LLIBS= # defined
7 CPPFLAGS= ${COMPATCPPFLAGS} ${SKIP_AUTODEP::=}
9 .PATH.c: ${COMPATDIR}
11 # Common compatibility code, used by all emulations
12 SRCS= compat_exec.c compat_util.c
14 # Compatibility code for 4.3BSD
15 SRCS+= kern_exit_43.c kern_info_43.c kern_resource_43.c kern_sig_43.c \
16 tty_43.c uipc_syscalls_43.c vfs_syscalls_43.c vm_43.c if_43.c
18 # Compatibility code for NetBSD 0.9
19 SRCS+= kern_info_09.c
21 # Compatibility code for NetBSD 1.2
22 SRCS+= kern_xxx_12.c vfs_syscalls_12.c vm_12.c
24 # Compatibility code for NetBSD 1.3
25 SRCS+= kern_sig_13.c
27 # Compatibility code for NetBSD 1.6
28 SRCS+= kern_sig_16.c
30 # Compatibility code for NetBSD 1.4
31 SRCS+= sysv_msg_14.c sysv_shm_14.c sysv_sem_14.c rtsock_14.c
33 # Compatibility code for NetBSD 2.0
34 SRCS+= vfs_syscalls_20.c
36 # Compatibility code for NetBSD 3.0
37 SRCS+= kern_time_30.c vfs_syscalls_30.c uipc_syscalls_30.c
39 # Compatibility code for NetBSD 4.0
40 SRCS+= vfs_syscalls_40.c uipc_syscalls_40.c
42 # Compatibility code for NetBSD 5.0
43 SRCS+= kern_time_50.c rtsock_50.c sysv_msg_50.c sysv_sem_50.c sysv_shm_50.c \
44 vfs_syscalls_50.c uipc_syscalls_50.c sysv_ipc_50.c
46 # really, all machines where sizeof(int) != sizeof(long) (LP64)
47 .if (${MACHINE_ARCH} != "alpha" && ${MACHINE_ARCH} != "sparc64" \
48 && ${MACHINE_ARCH} != "x86_64")
49 SRCS+= kern_ipc_10.c
50 .endif
52 # only needed during build
53 libinstall::
55 .include <bsd.own.mk>
56 .undef DESTDIR
57 .include <bsd.lib.mk>
59 showsources: ${SRCS}
60 @echo ${.ALLSRC}