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

Contents of /trunk/esys2/finley/finley.mk

Parent Directory Parent Directory | Revision Log Revision Log


Revision 149 - (show annotations)
Thu Sep 1 03:31:39 2005 UTC (15 years, 1 month ago) by jgs
File size: 1127 byte(s)
Merge of development branch dev-02 back to main trunk on 2005-09-01

1 # $Id$
2
3 # This makefile automatically finds, calculates dependencies, compiles
4 # and makes a static library from all C++ files found in the directories
5 # under ${L_SRC_DIR} (see below). Files and even whole directory trees
6 # under ${L_SRC_DIR} can be skipped by postfixing the name with a "-".
7
8 # Matt Davies 04/08/03
9
10 DEFAULT_TARGET := libfinleyC.a libfinleycpp.so pyc
11
12 ifeq ($(strip $(L_PYTH_DIR)),)
13 L_PYTH_DIR := $(ESYS_ROOT)/esys
14 endif
15
16 L_PYTH_DIR := $(L_PYTH_DIR)/finley
17
18 INSTALL_PYTH := ./lib/py_src/__init__.pyc ./lib/py_src/finley.pyc
19
20 INSTALL_LIB := ./lib/libfinleycpp.so
21
22 PACKAGES := escript mmio esysUtils python boost scsl141pre
23
24 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

Properties

Name Value
svn:eol-style native
svn:keywords Author Date Id Revision

  ViewVC Help
Powered by ViewVC 1.1.26