include <bsd.sys.mk>

This is a mess. HAS_SSP (which should really be HAVE_SSP), is defined
in bsd.sys.mk. So things that need it, include the file directly. The
trouble comes because bsd.sys.mk, needs stuff that bsd.own.mk defines,
so including first does not work. Anyway most other files include bsd.sys.mk
directly, so user Makefiles should just not do that, and just include
<bsd.own.mk> to get all the defines they need.
This commit is contained in:
christos 2013-01-26 21:48:58 +00:00
parent dd2b4ae9ab
commit daf5be7806

View File

@ -1,4 +1,4 @@
# $NetBSD: bsd.own.mk,v 1.718 2013/01/18 19:32:09 christos Exp $
# $NetBSD: bsd.own.mk,v 1.719 2013/01/26 21:48:58 christos Exp $
# This needs to be before bsd.init.mk
.if defined(BSD_MK_COMPAT_FILE)
@ -1238,4 +1238,6 @@ TARGETS+= lintmanpages
TESTSBASE= /usr/tests
.include <bsd.sys.mk>
.endif # !defined(_BSD_OWN_MK_)