3 messages in com.perforce.jamming[jamming] RE: Minimal Jambase
FromSent OnAttachments
Roesler, Randy13 Aug 2001 10:28 
David Abrahams13 Aug 2001 12:38 
Roesler, Randy13 Aug 2001 14:21 
Subject:[jamming] RE: Minimal Jambase
From:Roesler, Randy (rroe@mdsi.bc.ca)
Date:08/13/2001 10:28:53 AM
List:com.perforce.jamming

-----Original Message----- From: David Abrahams [mailto:davi@rcn.com] Sent: Saturday, August 11, 2001 12:47 PM To: jamm@perforce.com; Roesler, Randy Subject: Minimal Jambase

At 12:38 PM 08/01/2001 -0700, Roesler, Randy wrote:

Our Jambase is so minimal, it contains juts 37 lines. All it really does is call $TOP/Jamrules and ./Jamfile. We have no recompiled or relines jam executable for the last 2 years. We last recompiled to fix a bug in jam AIX archive support (the bug still exists in the official jam release).

I started to try to do something like that myself, but it seems there's a lot I can't live without. For example, the SubDir rule at least needs the definitions of $(DOTDOT), FSubDir, FDirName, FGrist, and (indirectly) $(DOT). What's your secret?

# # Bare Minimum Jambase for Advantax R7 Developmment #

if $(UNIX) { DOT default = . ; DOTDOT default = .. ; SLASH default = / ; } else if $(NT) { DOT default = . ; DOTDOT default = .. ; SLASH default = \\ ; }

JAMFILE default = Jamfile ; JAMRULES default = Jamrules ;

# Include TOP/Jamrules.

include $(TOP)$(SLASH)$(JAMRULES) ;

# Include Local Jamfile

ruleUp dummy ;

include $(JAMFILE) ;

dummyUp dummy ;

# Include top level Jamfile # (and all sub-Jamfile)

SubInclude TOP ;