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