# Most folks need to set a values here. # It is setup so that you can define the following env vars: # CCA_ROOT: where the current spec lives. # STV_ROOT: where CUMULVS lives # PVM_ROOT: where PVM lives # ISIS_ROOT: where the ISIS++ distribution lives # SNLCPP_ROOT: where the Sandia ESI code lives # ESI_ROOT: where the ESI standard headers live. # JAVA_HM: where the JDK1.2x is located # MPI_HOME: where MPI is located # JAKARTA_HOME: where the jakarta servlet server is found. # #--------------------------------------------------------- # Where the cca spec lives CCA_ROOT = $(shell echo $$CCA_ROOT) # where cumulus lives (note, cumulvs and pvm # won't work unless STV_ROOT/PVM_ROOT is set in the shell # environment. They also don't publish clean # includable makefile configuration info ala MakeIncl.* we use. STV_ROOT= $(shell echo $$STV_ROOT) PVM_ROOT= $(shell echo $$PVM_ROOT) # where esi,isis lives (ISIS,ESI have no env var natively) ISIS_ROOT= $(shell echo $$ISIS_ROOT) SNLCPP_ROOT= $(shell echo $$SNLCPP_ROOT) ESI_ROOT= $(shell echo $$ESI_ROOT) # defined when the wrapper is not in the cumulvs distribution EYES_ROOT = $(STV_ROOT) # non-cumulvs viz component EYES2_ROOT = $(shell echo $$EYES2_ROOT) # Where java lives # typically someplace/jdk/someplace # NOTE: jdk1.2.2rc4 and later likely do not require # existence of environment var JAVA_HOME. # This points to the top of the java distribution, # e.g. /usr/local/jdk1.2.2rc4 (which contains bin/javac and jre) JAVA_HM = $(shell echo $$JAVA_HOME) #Where Jakarta lives JAKARTA_HOME = $(shell echo $$JAKARTA_HOME) # Where MPI lives # typically /usr/local/mpich MPI = $(MPI_HOME) # where you hide your blas/lapack/(f77||f90) libraries. # give full paths. MATHLIBS= $(shell echo $$MATHLIBS) # Most folks probably don't need to set anything below here. JAVA = $(JAVA_HM)/bin/java APPLETVIEWER = $(JAVA_HM)/bin/appletviewer JAVADOC = $(JAVA_HM)/bin/javadoc JAVAC = $(JAVA_HM)/bin/javac JAR = $(JAVA_HM)/bin/jar ####################################################################### # For examples, and convenience, we have a bunch of conditional # definitions for these roots below. You don't need any environment # variables (except those imposed by cumulvs/pvm/java) to build the # framework and components if you set absolute path values above. ####################################################################### # # the following definitions don't hurt anyone, except # if they are removed. # Ben will break your knees if they are removed and # this file is the committed back to the ccaffeine repository # without a compensating configure script. #ben @home ifeq "$(HOST)" "c425089-a.plstn1.sfba.home.com" CCA_ROOT= $(HOME)/work/caff/cca-spec JAVA_HM= $(HOME)/work/j/122/jdk1.2 MPI= /usr/local/mpich # STV_ROOT= $(CCA_ROOT)/../viz-stv/CUMULVS STV_ROOT= PVM_ROOT= EYES2_ROOT = $(HOME)/work/caff/viz-txt/CUMULVS ESI_ROOT= $(HOME)/work/copper/esi ISIS_ROOT= $(HOME)/work/copper/isis SNLCPP_ROOT=$(HOME)/work/copper/snl-cpp MATHLIBS= \ /usr/local/lib/liblapack.a \ /usr/local/lib/libblas.a \ /usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/libg2c.a endif # ben@work ifeq "$(USER)" "baallan" MATHLIBS= \ /usr/local/lib/liblapack.a \ /usr/local/lib/libblas.a \ /usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/libg2c.a ifeq "$(HOST)" "z" JAVA_HM= /usr/local/jdk1.2.2rc4 MPI=/usr/local/mpich-1.1.2 ESI_ROOT=$(HOME)/work/isis-esi/esi SNLCPP_ROOT=$(HOME)/work/isis-esi/snl-cpp ISIS_ROOT=$(HOME)/work/isis-esi #MPI= #ESI_ROOT= #SNLCPP_ROOT= #ISIS_ROOT= endif ifeq "$(HOST)" "teepee" COLINPATH= $(HOME)/work/caff/cafe/chez-cpotter: COLINPATH= JAVA_HM = /usr/local/jdk1.2.2 MPI= /usr/local/mpich endif PVM_ROOT= STV_ROOT= ifeq "$(HOST)" "sass3065-atm" MATHLIBS= MPI=/usr/local/mpi PVM_ROOT=/usr/local/pvm3 else PVM_ROOT= STV_ROOT= endif PVM_ROOT= STV_ROOT= CCA_ROOT= $(HOME)/work/caff/cca-spec ESI_ROOT=$(HOME)/work/isis-esi/esi SNLCPP_ROOT=$(HOME)/work/isis-esi/snl-cpp ISIS_ROOT=$(HOME)/work/isis-esi EYES_ROOT = EYES2_ROOT = ESI_ROOT= SNLCPP_ROOT= ISIS_ROOT= endif ifeq "$(USER)" "cpotter" MATHLIBS= \ /usr/local/lib/liblapack.a \ /usr/local/lib/libblas.a \ /usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/libg2c.a COLINPATH= home/cpotter/sandia/dccafe/chez-cpotter JAVA_HM=/usr/lib/jdk1.2.2 CCA_ROOT=$(HOME)/sandia/cca-spec01 MPI=/usr/local/mpi STV_ROOT=/home/baallan/work/caff/viz-stv/CUMULVS PVM_ROOT=/home/baallan/work/pvm3 ESI_ROOT=/home/baallan/work/copper/esi SNLCPP_ROOT=/home/baallan/work/copper/snl-cpp ISIS_ROOT=/home/baallan/work/copper/isis EYES_ROOT=/home/baallan/work/caff/viz-stv/CUMULVS EYES2_ROOT = /home/baallan/work/caff/viz-txt/CUMULVS endif # Don't need to set anything below here. JAVA = $(JAVA_HM)/bin/java APPLETVIEWER = $(JAVA_HM)/bin/appletviewer JAVADOC = $(JAVA_HM)/bin/javadoc JAVAC = $(JAVA_HM)/bin/javac JAR = $(JAVA_HM)/bin/jar