1 1.2 njoly # $NetBSD: Makefile,v 1.2 2008/12/08 12:56:00 njoly Exp $ 2 1.1 ad 3 1.1 ad .include "../Makefile.inc" 4 1.1 ad .include "../Makefile.assym" 5 1.1 ad 6 1.1 ad KMOD= compat_netbsd32 7 1.1 ad 8 1.2 njoly CPPFLAGS+= -DSYSVSHM -DSYSVSEM -DSYSVMSG -DCOMPAT_NETBSD32 9 1.1 ad CPPFLAGS+= -DEXEC_ELF32 -DEXEC_ELF64 -DEXEC_AOUT 10 1.1 ad CPPFLAGS+= -DP1003_1B_SEMAPHORE -DCOREDUMP 11 1.1 ad 12 1.1 ad .PATH: ${S}/compat/netbsd32 13 1.1 ad SRCS+= netbsd32_compat_09.c netbsd32_compat_10.c 14 1.1 ad SRCS+= netbsd32_compat_12.c netbsd32_compat_13.c 15 1.1 ad SRCS+= netbsd32_compat_14.c netbsd32_compat_20.c 16 1.1 ad SRCS+= netbsd32_compat_30.c netbsd32_compat_43.c 17 1.1 ad SRCS+= netbsd32_core.c netbsd32_event.c 18 1.1 ad SRCS+= netbsd32_exec_aout.c netbsd32_exec_elf32.c 19 1.1 ad SRCS+= netbsd32_execve.c netbsd32_fs.c 20 1.1 ad SRCS+= netbsd32_ioctl.c netbsd32_ipc.c 21 1.1 ad SRCS+= netbsd32_lwp.c netbsd32_netbsd.c 22 1.1 ad SRCS+= netbsd32_sa.c netbsd32_select.c 23 1.1 ad SRCS+= netbsd32_sem.c netbsd32_signal.c 24 1.1 ad SRCS+= netbsd32_socket.c netbsd32_syscalls.c 25 1.1 ad SRCS+= netbsd32_sysctl.c netbsd32_sysent.c 26 1.1 ad SRCS+= netbsd32_time.c netbsd32_wait.c 27 1.1 ad SRCS+= netbsd32_mod.c 28 1.1 ad 29 1.1 ad .if ${MACHINE} == "amd64" 30 1.1 ad .PATH: ${S}/arch/amd64/amd64 31 1.1 ad SRCS+= netbsd32_machdep.c netbsd32_sigcode.S netbsd32_syscall.c 32 1.1 ad .endif 33 1.1 ad 34 1.1 ad .if ${MACHINE} == "sparc64" 35 1.1 ad .PATH: ${S}/arch/sparc64/sparc64 36 1.1 ad SRCS+= netbsd32_machdep.c netbsd32_sigcode.S 37 1.1 ad .endif 38 1.1 ad 39 1.1 ad .include <bsd.kmodule.mk> 40