2008-09-09 04:16:05 +04:00
|
|
|
# $NetBSD: Makefile,v 1.7 2008/09/09 00:16:05 gmcgarry Exp $
|
1999-06-19 04:53:31 +04:00
|
|
|
|
2008-09-09 04:16:05 +04:00
|
|
|
SUBDIR+= mmap loan1
|
|
|
|
|
|
|
|
.if !defined(HAVE_PCC)
|
|
|
|
SUBDIR+= stack_exec
|
|
|
|
.endif
|
1999-06-19 04:53:31 +04:00
|
|
|
|
2004-02-19 19:56:52 +03:00
|
|
|
#
|
|
|
|
# Test for no-executable stack; applies only to architectures
|
|
|
|
# where CPU and kernel support it.
|
|
|
|
#
|
2007-04-08 13:35:21 +04:00
|
|
|
STACKNOX_ARCHS= alpha i386 powerpc sparc sparc64 x86_64
|
2004-02-19 19:56:52 +03:00
|
|
|
|
2008-09-09 04:16:05 +04:00
|
|
|
.if !defined(HAVE_PCC) && !empty(STACKNOX_ARCHS:M${MACHINE_ARCH})
|
2004-02-19 19:56:52 +03:00
|
|
|
SUBDIR+= stack_noexec
|
|
|
|
.endif
|
|
|
|
|
1999-06-19 04:53:31 +04:00
|
|
|
.include <bsd.subdir.mk>
|