# $OpenBSD: Makefile,v 1.16 2017/07/18 23:00:31 bluhm Exp $ PROG= noexec SRCS= noexec.c testfly.S CFLAGS= -Wall -fno-inline LDSTATIC= ${STATIC} REGRESS_TARGETS= nxtext-mmap nxtext-mprotect \ nxdata nxdata-mmap nxdata-mprotect \ nxbss nxbss-mmap nxbss-mprotect \ nxheap nxheap-mmap nxheap-mprotect \ nxmmap nxmmap-mprotect \ nxstack nxstack-mmap nxstack-mprotect REGRESS_SKIP_TARGETS+= nxtext-mmap .PHONY: ${REGRESS_TARGETS} nxtext-mmap: ${PROG} @./${PROG} -T -m nxtext-mprotect: ${PROG} @./${PROG} -T -p nxdata: ${PROG} @./${PROG} -D nxdata-mprotect: ${PROG} @./${PROG} -D -p nxdata-mmap: ${PROG} @./${PROG} -D -m nxbss: ${PROG} @./${PROG} -B nxbss-mmap: ${PROG} @./${PROG} -B -m nxbss-mprotect: ${PROG} @./${PROG} -B -p nxheap: ${PROG} @./${PROG} -H nxheap-mmap: ${PROG} @./${PROG} -H -m nxheap-mprotect: ${PROG} @./${PROG} -H -p nxstack: ${PROG} @./${PROG} -S nxstack-mmap: ${PROG} @./${PROG} -S -m nxstack-mprotect: ${PROG} @./${PROG} -S -p nxmmap: ${PROG} @./${PROG} -m nxmmap-mprotect: ${PROG} @./${PROG} -m -p .if ${MACHINE} != "alpha" && \ ${MACHINE} != "amd64" && \ ${MACHINE} != "armv7" && \ ${MACHINE} != "hppa" && \ ${MACHINE} != "i386" && \ ${MACHINE} != "sparc64" REGRESS_TARGETS=run-regress-skiparch run-regress-skiparch: # this architecture has no test for this @echo SKIPPED .endif .include