| @@ -1,48 +1,34 @@ | | | @@ -1,48 +1,34 @@ |
1 | # $NetBSD: Makefile,v 1.6 2011/01/17 15:57:04 pooka Exp $ | | 1 | # $NetBSD: Makefile,v 1.7 2013/01/22 01:48:34 christos Exp $ |
2 | | | 2 | |
3 | .include "../Makefile.inc" | | 3 | .include "../Makefile.inc" |
4 | | | 4 | |
5 | .PATH: ${S}/compat/common | | 5 | .PATH: ${S}/compat/common |
6 | | | 6 | |
7 | KMOD= compat | | 7 | KMOD= compat |
8 | | | 8 | |
9 | # | | 9 | # |
10 | # We don't want to hook these in for the native emulation, but do want | | 10 | # We don't want to hook these in for the native emulation, but do want |
11 | # the symbols available for other emulations. So include the source | | 11 | # the symbols available for other emulations. So include the source |
12 | # files but don't hook them in via compat_modcmd(). | | 12 | # files but don't hook them in via compat_modcmd(). |
13 | # | | 13 | # |
14 | .if (${MACHINE_ARCH} != "x86_64") | | 14 | .if (${MACHINE_ARCH} != "x86_64") |
15 | CPPFLAGS+= -DCOMPAT_09 | | 15 | CPPFLAGS+= -DCOMPAT_09 |
16 | .endif | | | |
17 | .if (${MACHINE_ARCH} != "x86_64") | | | |
18 | CPPFLAGS+= -DCOMPAT_10 | | 16 | CPPFLAGS+= -DCOMPAT_10 |
19 | .endif | | | |
20 | .if (${MACHINE_ARCH} != "x86_64") | | | |
21 | CPPFLAGS+= -DCOMPAT_11 | | 17 | CPPFLAGS+= -DCOMPAT_11 |
22 | .endif | | | |
23 | .if (${MACHINE_ARCH} != "x86_64") | | | |
24 | CPPFLAGS+= -DCOMPAT_12 | | 18 | CPPFLAGS+= -DCOMPAT_12 |
25 | .endif | | | |
26 | .if (${MACHINE_ARCH} != "x86_64") | | | |
27 | CPPFLAGS+= -DCOMPAT_13 | | 19 | CPPFLAGS+= -DCOMPAT_13 |
28 | .endif | | | |
29 | .if (${MACHINE_ARCH} != "x86_64") | | | |
30 | CPPFLAGS+= -DCOMPAT_14 | | 20 | CPPFLAGS+= -DCOMPAT_14 |
31 | .endif | | | |
32 | .if (${MACHINE_ARCH} != "x86_64") | | | |
33 | CPPFLAGS+= -DCOMPAT_15 | | 21 | CPPFLAGS+= -DCOMPAT_15 |
34 | .endif | | | |
35 | .if (${MACHINE_ARCH} != "x86_64") | | | |
36 | CPPFLAGS+= -DCOMPAT_16 | | 22 | CPPFLAGS+= -DCOMPAT_16 |
37 | .endif | | 23 | .endif |
38 | | | 24 | |
39 | CPPFLAGS+= -DCOMPAT_20 | | 25 | CPPFLAGS+= -DCOMPAT_20 |
40 | CPPFLAGS+= -DCOMPAT_30 -DCOMPAT_40 -DCOMPAT_50 | | 26 | CPPFLAGS+= -DCOMPAT_30 -DCOMPAT_40 -DCOMPAT_50 |
41 | CPPFLAGS+= -DCOMPAT_60 -DCOMPAT_70 -DCOMPAT_80 | | 27 | CPPFLAGS+= -DCOMPAT_60 -DCOMPAT_70 -DCOMPAT_80 |
42 | CPPFLAGS+= -DSYSVSEM -DSYSVSHM -DSYSVMSG -DCOMPAT_43 | | 28 | CPPFLAGS+= -DSYSVSEM -DSYSVSHM -DSYSVMSG -DCOMPAT_43 |
43 | | | 29 | |
44 | SRCS= kern_exit_43.c kern_info_09.c | | 30 | SRCS= kern_exit_43.c kern_info_09.c |
45 | SRCS+= kern_info_43.c kern_ipc_10.c kern_resource_43.c kern_select_50.c | | 31 | SRCS+= kern_info_43.c kern_ipc_10.c kern_resource_43.c kern_select_50.c |
46 | SRCS+= kern_sig_13.c kern_sig_43.c kern_xxx_12.c sysv_msg_14.c | | 32 | SRCS+= kern_sig_13.c kern_sig_43.c kern_xxx_12.c sysv_msg_14.c |
47 | SRCS+= sysv_sem_14.c sysv_shm_14.c tty_43.c uipc_syscalls_30.c | | 33 | SRCS+= sysv_sem_14.c sysv_shm_14.c tty_43.c uipc_syscalls_30.c |
48 | SRCS+= uipc_syscalls_43.c vfs_syscalls_12.c kern_sig_16.c | | 34 | SRCS+= uipc_syscalls_43.c vfs_syscalls_12.c kern_sig_16.c |