⛏️ index : buildtools.git

author Augustin Cavalier <waddlesplash@gmail.com> 2018-11-21 15:00:12.0 -05:00:00
committer Augustin Cavalier <waddlesplash@gmail.com> 2018-11-21 15:00:12.0 -05:00:00
commit
b47cc04d0089d5ea424ac1d40a4d6cdad7a874ff [patch]
tree
42a3447d556db4b51db1fb5a3fd0050c9eecadae
parent
4d114c95a7674c33e335a9fe5387727c99fc8dc8
download
b47cc04d0089d5ea424ac1d40a4d6cdad7a874ff.tar.gz

Jambase: Add a blanket disclaimer about modifications.

Hopefully this is enough to satisfy the license requirements.
Remove some of the "LOCAL CHANGE" comments as a result (ones about
the HeaderCache remain.)

Diff

 jam/Jambase | 36 +-----------------------------------
 1 file changed, 1 insertion(+), 35 deletions(-)

diff --git a/jam/Jambase b/jam/Jambase
index 88f8067..b7a57fd 100644
--- a/jam/Jambase
+++ a/jam/Jambase
@@ -13,6 +13,7 @@
# JAMBASE - jam 2.5 ruleset providing make(1)-like functionality
#
# This file has been almost completely refactored from Jam's original version.
# Old platforms have been removed, new ones added, defaults changed, etc.
#

# Special targets defined in this file:
@@ -1030,17 +1031,12 @@
	if ! $($(_top)-SET) {
		$(_top)-SET = true ;

		## LOCAL CHANGE
		#
		# Needed below to reset $(_top), so that to the SubDir invoked by the
		# top jamfile we will include, it will appear, as if the code has
		# never been executed.
		#
		local _originalTop = $($(_top)) ;
		#
		## LOCAL CHANGE


		# First time we've seen this TOP.
		# We'll initialize a number of internal variables:
		#
@@ -1131,11 +1127,8 @@
		SUBDIR_DOWN = ;
		SUBDIR_ROOT = $($(_top)-ROOT) ;

		## LOCAL CHANGE
		#
		# If we are the first Jamfile, we include the top Jamfile of this
		# tree and  stop processing.
		#
		if ! $(INVOCATION_SUBDIR_SET) {
			INVOCATION_SUBDIR_SET = true ;
			INVOCATION_SUBDIR_TOP = $($(_top)) ;
@@ -1153,8 +1146,6 @@
				jumptoeof ;
			}
		}
		#
		## LOCAL CHANGE

		# Include $(TOPRULES) or $(TOP)/Jamrules.
		# Include $(TOPRULES) if set.
@@ -1332,31 +1323,6 @@
	# files have global visibility.
	#
	# Here we comment out the old version and replace it with the new.
#	# Produce source file name name with grist in it,
#	# if SOURCE_GRIST is set.
#
#	# Leave header files alone, because they have a global
#	# visibility.
#
#	if ! $(SOURCE_GRIST)
#	{
#		return $(<) ;
#	}
#	else
#	{
#		local _i _o ;
#
#		for _i in $(<)
#		{
#		switch $(_i)
#		{
#		case *.h :	_o += $(_i) ;
#		case * : 	_o += $(_i:G=$(SOURCE_GRIST)) ;
#		}
#		}
#
#		return $(_o) ;
#	}
	return [ FGristFiles $(<) ] ;
	#
	## LOCAL CHANGE: end