# additional configuration information for Cactus to build this thorn # $Header$ # check if LAPACK_DIR is set, bail out if not ifeq ($(strip $(LAPACK_DIR)),) $(NAME): MissingLAPACK_DIR .pseudo: MissingLAPACK_DIR MissingLAPACK_DIR: @echo 'thorn AHFinderDirect uses LAPACK (which in turn uses BLAS)' @echo '==> must set LAPACK_DIR = directory (or blank-separated directory search list)' @echo ' in which LAPACK and BLAS libraries live' exit 2 endif LIBDIRS += $(LAPACK_DIR) # # Note that LAPACK and BLAS need to go at the *front* of other libs # since they may use libm etc # # FIXME: g2c is appropriate here if and only if g77 is use for any code # (eg on linux lapack/blas rpms are usually built with g77); # we should really check whether g77 is in use instead of # hard-coding this # LIBS := lapack blas g2c $(LIBS)