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

complete checkout/build instructions for BMG




walkthru/BMG folks:

for completeness, here are all steps to a
fresh checkout and build of BMG and all its
attendant libraries.  this file is checked in
as walkthru/doc/README.BMG -- you can source
it to get the effects in your current shell.
(you wouldn't do it while in an already
checked-out walkthru directory, though!)

it would be good if someone else could test
these steps and simplify as necessary (perhaps
andreas)?  also, the organization of the BMG
stuff is pretty crazy -- it unpacks and builds
the forms library, which should be a sibling, not
a child, of BMG.  also, the binary libforms.a
was checked in -- i deleted it.  anyway, here
are all the magic steps.


# choose a working directory, here or elsewhere
set workdir=`pwd`
cd $workdir

# if at UCB:
setenv CVSROOT youruid@graphics.lcs.mit.edu:/d9/projects
# if at MIT:
setenv CVSROOT /d9/projects

# in either place:
setenv BASE $workdir/walkthru
setenv WALKTHRU $BASE
setenv UGBASE $BASE
setenv SYSTEM SYSTEM/E32M3
setenv LIBPATH_WALKTHRU $BASE/$SYSTEM
setenv MAKEPATH $WALKTHRU/makefiles

# check everything out
cvs checkout walkthru/makefiles
cvs checkout walkthru/local/include
cvs checkout walkthru/src/{gtui,io,mat,system,togl,ug}
cvs checkout walkthru/BMG

# now build libraries
pushd walkthru/src
foreach i ( gtui io mat system togl ug )
  ( cd $i ; gmake )
end
popd

# build forms library
pushd walkthru/BMG/lib/forms
rm FORMS/libforms.a
gmake
popd

# finally build bmg application
pushd walkthru/BMG
source makem