/[escript]/trunk/esys2/finley/finley.mk
ViewVC logotype

Diff of /trunk/esys2/finley/finley.mk

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 146 by jgs, Fri Jul 29 01:44:29 2005 UTC revision 149 by jgs, Thu Sep 1 03:31:39 2005 UTC
# Line 9  Line 9 
9    
10  DEFAULT_TARGET := libfinleyC.a libfinleycpp.so pyc  DEFAULT_TARGET := libfinleyC.a libfinleycpp.so pyc
11    
 # Python install directory  
12  ifeq ($(strip $(L_PYTH_DIR)),)  ifeq ($(strip $(L_PYTH_DIR)),)
13     L_PYTH_DIR := $(ESYS_ROOT)/esys     L_PYTH_DIR := $(ESYS_ROOT)/esys
14  endif  endif
15    
16  L_PYTH_DIR := $(L_PYTH_DIR)/finley  L_PYTH_DIR := $(L_PYTH_DIR)/finley
17    
18  INSTALL_PYTH := ./lib/py_src/__init__.pyc ./lib/py_src/finley.pyc  INSTALL_PYTH := ./lib/py_src/__init__.pyc ./lib/py_src/finley.pyc
19    
20  INSTALL_LIB := ./lib/libfinleycpp.so  INSTALL_LIB := ./lib/libfinleycpp.so
21    
22  # These settings are now specified in Makefile.host  PACKAGES := escript mmio esysUtils python boost scsl141pre
 #L_DEFS := ITERATIVE_SOLVER=NO_LIB DIRECT_SOLVER=NO_LIB  
   
 PACKAGES := escript mmio esysUtils python23 boost scsl141pre  
23    
24  L_SRC_DIR := ./src/finleyC ./src/finleyC/Solvers ./src/finleyC/SCSL ./src/CPPAdapter ./py_src  L_SRC_DIR := ./src/finleyC ./src/finleyC/Solvers ./src/finleyC/SCSL ./src/CPPAdapter ./py_src
25    
26    # determine solver packages to use
27    ifeq ($(strip $(USE_GCC)),)
28       HOSTNAME := ${shell hostname | sed -e 's/\..*//'}
29    else
30       HOSTNAME := gcc
31    endif
32    
33    ifeq ($(strip $(HOSTNAME)),ess)
34       L_DEFS := ITERATIVE_SOLVER=NO_LIB DIRECT_SOLVER=SGI_SCSL
35    endif
36    
37    ifeq ($(strip $(HOSTNAME)),gcc)
38       L_DEFS := ITERATIVE_SOLVER=NO_LIB DIRECT_SOLVER=NO_LIB
39    endif
40    
41  include $(ESYS_ROOT)/make/Makefile.default  include $(ESYS_ROOT)/make/Makefile.default

Legend:
Removed from v.146  
changed lines
  Added in v.149

  ViewVC Help
Powered by ViewVC 1.1.26