150120Swpaul# $NetBSD: Makefile,v 1.2 2009/09/17 23:07:12 jnemeth Exp $ 250120Swpaul 350120Swpaul.include "../Makefile.inc" 450120Swpaul 550120SwpaulKMOD= exec_elf32 650120Swpaul 750120SwpaulCPPFLAGS+= -DEXEC_ELF32 -DCOREDUMP 850120Swpaul.if ${MACHINE_ARCH} != "arm" && \ 950120Swpaul ${MACHINE_ARCH} != "armeb" && \ 1050120Swpaul ${MACHINE_ARCH} != "m68000" && \ 1150120Swpaul ${MACHINE_ARCH} != "m68k" && \ 1250120Swpaul ${MACHINE_ARCH} != "powerpc" && \ 1350120Swpaul ${MACHINE_ARCH} != "powerpc64" && \ 1450120Swpaul ${MACHINE_ARCH} != "sh3eb" && \ 1550120Swpaul ${MACHINE_ARCH} != "sh3el" && \ 1650120Swpaul ${MACHINE_ARCH} != "sparc" && \ 1750120Swpaul ${MACHINE_ARCH} != "sparc64" 1850120SwpaulCPPFLAGS+= -DPAX_ASLR 1950120Swpaul.endif 2050120Swpaul 2150120Swpaul.PATH: ${S}/kern 2250120SwpaulSRCS= exec_elf32.c core_elf32.c 2350120Swpaul 2450120Swpaul.include <bsd.kmodule.mk> 2550120Swpaul