Makefile revision 1.25
11.25Schristos# $NetBSD: Makefile,v 1.25 2019/06/18 01:40:29 christos Exp $ 21.1Sad 31.1Sad.include "../Makefile.inc" 41.1Sad.include "../Makefile.assym" 51.1Sad 61.1SadKMOD= compat_netbsd32 71.1Sad 81.18SpgoyetteCPPFLAGS+= -DCOMPAT_NETBSD32 91.13SmattCPPFLAGS+= -DEXEC_ELF32 -DEXEC_ELF64 101.14SchristosCPPFLAGS+= -DCOREDUMP -DNTP -DVMSWAP 111.25SchristosCPPFLAGS+= -DKTRACE -DMODULAR -DQUOTA 121.21SmlelstvCPPFLAGS+= -I${NETBSDSRCDIR}/sys/external/bsd/libnv/dist 131.1Sad 141.1Sad.PATH: ${S}/compat/netbsd32 151.22SpgoyetteSRCS+= netbsd32_core.c netbsd32_event.c 161.22SpgoyetteSRCS+= netbsd32_exec_elf32.c netbsd32_execve.c 171.22SpgoyetteSRCS+= netbsd32_fd.c netbsd32_fs.c 181.22SpgoyetteSRCS+= netbsd32_ioctl.c netbsd32_kern_proc.c 191.22SpgoyetteSRCS+= netbsd32_lwp.c netbsd32_mod.c 201.22SpgoyetteSRCS+= netbsd32_netbsd.c netbsd32_quota.c 211.22SpgoyetteSRCS+= netbsd32_rlimit.c netbsd32_select.c 221.22SpgoyetteSRCS+= netbsd32_sem.c netbsd32_signal.c 231.22SpgoyetteSRCS+= netbsd32_socket.c netbsd32_syscalls.c 241.22SpgoyetteSRCS+= netbsd32_sysctl.c netbsd32_sysent.c 251.22SpgoyetteSRCS+= netbsd32_time.c netbsd32_wait.c 261.22SpgoyetteSRCS+= netbsd32_vm.c 271.22SpgoyetteSRCS+= netbsd32_module.c 281.1Sad 291.13Smatt.if ${MACHINE_CPU} != "mips" && ${MACHINE_CPU} != "powerpc" 301.13SmattCPPFLAGS+= -DEXEC_AOUT -DCOMPAT_NOMID 311.13SmattSRCS+= netbsd32_exec_aout.c 321.13Smatt.endif 331.13Smatt 341.3Sabs.if ${MACHINE_ARCH} == "x86_64" 351.1Sad.PATH: ${S}/arch/amd64/amd64 361.22SpgoyetteCPPFLAGS+= -DMTRR 371.22SpgoyetteSRCS+= netbsd32_syscall.c 381.22SpgoyetteSRCS+= netbsd32_machdep.c 391.1Sad.endif 401.1Sad 411.3Sabs.if ${MACHINE_ARCH} == "sparc64" 421.1Sad.PATH: ${S}/arch/sparc64/sparc64 431.22SpgoyetteSRCS+= netbsd32_sigcode.S 441.22SpgoyetteSRCS+= netbsd32_machdep.c 451.22Spgoyette.endif 461.22Spgoyette 471.22Spgoyette.if ${MACHINE_ARCH} == "arm" 481.22Spgoyette.PATH: ${S}/arch/arm/arm32 491.22SpgoyetteSRCS+= netbsd32_machdep.c 501.1Sad.endif 511.1Sad 521.23SrinWARNS= 3 531.23Srin 541.1Sad.include <bsd.kmodule.mk> 55