Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/share/mk include <bsd.sys.mk>



details:   https://anonhg.NetBSD.org/src/rev/f8226b24aa68
branches:  trunk
changeset: 784367:f8226b24aa68
user:      christos <christos%NetBSD.org@localhost>
date:      Sat Jan 26 21:48:58 2013 +0000

description:
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.

diffstat:

 share/mk/bsd.own.mk |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (16 lines):

diff -r 9769f59d5dcf -r f8226b24aa68 share/mk/bsd.own.mk
--- a/share/mk/bsd.own.mk       Sat Jan 26 21:07:49 2013 +0000
+++ b/share/mk/bsd.own.mk       Sat Jan 26 21:48:58 2013 +0000
@@ -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 @@
 
 TESTSBASE=     /usr/tests
 
+.include <bsd.sys.mk>
+
 .endif # !defined(_BSD_OWN_MK_)



Home | Main Index | Thread Index | Old Index