1 # $NetBSD: Makefile,v 1.6 2020/10/19 19:33:02 christos Exp $ 2 3 .include "../Makefile.inc" 4 5 KMOD= exec_elf32 6 7 CPPFLAGS+= -DEXEC_ELF32 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 23 24 WARNS= 3 25 26 .include <bsd.kmodule.mk> 27