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 := libescriptcpp.so pyc |
11 |
|
12 |
# Python install directory |
13 |
ifeq ($(strip $(L_PYTH_DIR)),) |
14 |
L_PYTH_DIR := $(ESYS_ROOT)/esys |
15 |
endif |
16 |
|
17 |
L_PYTH_DIR := $(L_PYTH_DIR)/escript |
18 |
|
19 |
INSTALL_PYTH := ./lib/py_src/__init__.pyc ./lib/py_src/linearPDEs.pyc ./lib/py_src/pdetools.pyc ./lib/py_src/util.pyc ./lib/py_src/escript.pyc ./lib/py_src/modelframe.pyc ./lib/py_src/timeseries.pyc ./lib/py_src/esysXML.pyc ./lib/py_src/test_linearPDEs.pyc ./lib/py_src/test_util.pyc ./lib/py_src/symbols.pyc ./lib/py_src/test_symbols.pyc |
20 |
|
21 |
INSTALL_LIB := ./lib/libescriptcpp.so |
22 |
|
23 |
PACKAGES := esysUtils python boostStatic |
24 |
|
25 |
L_SRC_DIR:= ./src ./py_src |
26 |
|
27 |
include $(ESYS_ROOT)/make/Makefile.default |