Include mk files specified in EXTRA_SYS_MK_FILES. Needed for the ports
authorniklas <niklas@openbsd.org>
Wed, 8 Jan 1997 07:35:04 +0000 (07:35 +0000)
committerniklas <niklas@openbsd.org>
Wed, 8 Jan 1997 07:35:04 +0000 (07:35 +0000)
mechanism.  This was the least intrusive way we found to solve the problem
of getting ports' Makefiles have bsd.own.mk included.

share/mk/sys.mk

index c5626cc..236f9bc 100644 (file)
@@ -1,7 +1,13 @@
-#      $OpenBSD: sys.mk,v 1.9 1996/11/24 02:47:42 niklas Exp $
+#      $OpenBSD: sys.mk,v 1.10 1997/01/08 07:35:04 niklas Exp $
 #      $NetBSD: sys.mk,v 1.27 1996/04/10 05:47:19 mycroft Exp $
 #      @(#)sys.mk      5.11 (Berkeley) 3/13/91
 
+.if defined(EXTRA_SYS_MK_INCLUDES)
+.for __SYS_MK_INCLUDE in ${EXTRA_SYS_MK_INCLUDES}
+.include ${__SYS_MK_INCLUDE}
+.endfor
+.endif
+
 unix=          We run OpenBSD.
 
 .SUFFIXES: .out .a .ln .o .c .cc .C .F .f .r .y .l .s .S .cl .p .h .sh .m4