1 # $NetBSD: Makefile,v 1.3 2009/02/14 13:56:41 abs Exp $
3 .
include "../Makefile.inc"
4 .
include "../Makefile.assym"
8 CPPFLAGS
+= -DSYSVSHM
-DSYSVSEM
-DSYSVMSG
-DCOMPAT_NETBSD32
9 CPPFLAGS
+= -DEXEC_ELF32
-DEXEC_ELF64
-DEXEC_AOUT
10 CPPFLAGS
+= -DP1003_1B_SEMAPHORE
-DCOREDUMP
12 .PATH
: ${S}/compat
/netbsd32
13 SRCS
+= netbsd32_compat_09.c netbsd32_compat_10.c
14 SRCS
+= netbsd32_compat_12.c netbsd32_compat_13.c
15 SRCS
+= netbsd32_compat_14.c netbsd32_compat_20.c
16 SRCS
+= netbsd32_compat_30.c netbsd32_compat_43.c
17 SRCS
+= netbsd32_compat_50.c
18 SRCS
+= netbsd32_core.c netbsd32_event.c
19 SRCS
+= netbsd32_exec_aout.c netbsd32_exec_elf32.c
20 SRCS
+= netbsd32_execve.c netbsd32_fs.c
21 SRCS
+= netbsd32_ioctl.c netbsd32_ipc.c
22 SRCS
+= netbsd32_lwp.c netbsd32_netbsd.c
23 SRCS
+= netbsd32_sa.c netbsd32_select.c
24 SRCS
+= netbsd32_sem.c netbsd32_signal.c
25 SRCS
+= netbsd32_socket.c netbsd32_syscalls.c
26 SRCS
+= netbsd32_sysctl.c netbsd32_sysent.c
27 SRCS
+= netbsd32_time.c netbsd32_wait.c
30 .if
${MACHINE_ARCH} == "x86_64"
31 .PATH
: ${S}/arch
/amd64
/amd64
32 SRCS
+= netbsd32_machdep.c netbsd32_sigcode.S netbsd32_syscall.c
35 .if
${MACHINE_ARCH} == "sparc64"
36 .PATH
: ${S}/arch
/sparc64
/sparc64
37 SRCS
+= netbsd32_machdep.c netbsd32_sigcode.S
40 .
include <bsd.kmodule.mk
>