1 # $NetBSD: Makefile,v 1.3 2010/10/13 14:15:23 tsutsui Exp $ 2 3 .include "../Makefile.inc" 4 5 KMOD= exec_elf32 6 7 CPPFLAGS+= -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" 18 CPPFLAGS+= -DPAX_ASLR 19 .endif 20 21 .PATH: ${S}/kern 22 SRCS= exec_elf32.c core_elf32.c 23 24 .include <bsd.kmodule.mk> 25