1# $NetBSD: Makefile,v 1.2 2009/09/17 23:07:12 jnemeth Exp $ 2 3.include "../Makefile.inc" 4 5KMOD= exec_elf32 6 7CPPFLAGS+= -DEXEC_ELF32 -DCOREDUMP 8.if ${MACHINE_ARCH} != "arm" && \ 9 ${MACHINE_ARCH} != "armeb" && \ 10 ${MACHINE_ARCH} != "m68000" && \ 11 ${MACHINE_ARCH} != "m68k" && \ 12 ${MACHINE_ARCH} != "powerpc" && \ 13 ${MACHINE_ARCH} != "powerpc64" && \ 14 ${MACHINE_ARCH} != "sh3eb" && \ 15 ${MACHINE_ARCH} != "sh3el" && \ 16 ${MACHINE_ARCH} != "sparc" && \ 17 ${MACHINE_ARCH} != "sparc64" 18CPPFLAGS+= -DPAX_ASLR 19.endif 20 21.PATH: ${S}/kern 22SRCS= exec_elf32.c core_elf32.c 23 24.include <bsd.kmodule.mk> 25