# $NetBSD: Makefile,v 1.11 2013/05/10 16:35:30 christos Exp $ .include "../Makefile.inc" .include "../Makefile.assym" KMOD= compat_netbsd32 CPPFLAGS+= -DCOMPAT_09 CPPFLAGS+= -DCOMPAT_10 CPPFLAGS+= -DCOMPAT_11 CPPFLAGS+= -DCOMPAT_12 CPPFLAGS+= -DCOMPAT_13 CPPFLAGS+= -DCOMPAT_14 CPPFLAGS+= -DCOMPAT_15 CPPFLAGS+= -DCOMPAT_16 CPPFLAGS+= -DCOMPAT_20 CPPFLAGS+= -DCOMPAT_30 -DCOMPAT_40 -DCOMPAT_50 CPPFLAGS+= -DCOMPAT_60 -DCOMPAT_70 -DCOMPAT_80 CPPFLAGS+= -DCOMPAT_43 CPPFLAGS+= -DSYSVSHM -DSYSVSEM -DSYSVMSG -DCOMPAT_NETBSD32 CPPFLAGS+= -DEXEC_ELF32 -DEXEC_ELF64 -DEXEC_AOUT CPPFLAGS+= -DCOREDUMP -DNTP .PATH: ${S}/compat/netbsd32 SRCS+= netbsd32_compat_09.c netbsd32_compat_10.c SRCS+= netbsd32_compat_12.c netbsd32_compat_13.c SRCS+= netbsd32_compat_14.c netbsd32_compat_20.c SRCS+= netbsd32_compat_30.c netbsd32_compat_43.c SRCS+= netbsd32_compat_50.c netbsd32_compat_60.c SRCS+= netbsd32_core.c netbsd32_event.c SRCS+= netbsd32_exec_aout.c netbsd32_exec_elf32.c SRCS+= netbsd32_execve.c netbsd32_fs.c SRCS+= netbsd32_ioctl.c netbsd32_ipc.c SRCS+= netbsd32_lwp.c netbsd32_netbsd.c SRCS+= netbsd32_select.c SRCS+= netbsd32_sem.c netbsd32_signal.c SRCS+= netbsd32_socket.c netbsd32_syscalls.c SRCS+= netbsd32_sysctl.c netbsd32_sysent.c SRCS+= netbsd32_time.c netbsd32_wait.c SRCS+= netbsd32_mod.c .if ${MACHINE_ARCH} == "x86_64" .PATH: ${S}/arch/amd64/amd64 SRCS+= netbsd32_machdep.c netbsd32_sigcode.S netbsd32_syscall.c .endif .if ${MACHINE_ARCH} == "sparc64" .PATH: ${S}/arch/sparc64/sparc64 SRCS+= netbsd32_machdep.c netbsd32_sigcode.S .endif .include