14 |
# ############################################################################# |
# ############################################################################# |
15 |
all: default |
all: default |
16 |
|
|
17 |
|
install: all |
18 |
|
@echo ---------------------------------------------------------------------------- |
19 |
|
@if test -n "${INSTALL_PYTH}";\ |
20 |
|
then \ |
21 |
|
install -p ${INSTALL_PYTH} ${L_PYTH_DIR};\ |
22 |
|
fi |
23 |
|
@echo Installed ${INSTALL_PYTH}. |
24 |
|
@if test -n "${INSTALL_LIB}";\ |
25 |
|
then \ |
26 |
|
install -p ${INSTALL_LIB} ${L_INSTLIB_DIR};\ |
27 |
|
fi |
28 |
|
@echo Installed ${INSTALL_LIB}. |
29 |
|
@echo ---------------------------------------------------------------------------- |
30 |
|
|
31 |
|
uninstall: |
32 |
|
@echo ---------------------------------------------------------------------------- |
33 |
|
@echo Uninstalled ${INSTALL_PYTH}. |
34 |
|
@rm -rf ${L_PYTH_DIR}/*.py |
35 |
|
@rm -rf ${L_PYTH_DIR}/*.pyc |
36 |
|
@rm -rf ${L_INSTLIB_DIR}/*.so |
37 |
|
@echo Uninstalled ${INSTALL_LIB}. |
38 |
|
@echo ---------------------------------------------------------------------------- |
39 |
|
|
40 |
# Make default target and print source files that were found |
# Make default target and print source files that were found |
41 |
default: ${DEFAULT_TARGET} |
default: ${DEFAULT_TARGET} |
42 |
@if test -n "${CPP_SRC}";\ |
@if test -n "${CPP_SRC}";\ |
71 |
${DEFAULT_TARGET}: |
${DEFAULT_TARGET}: |
72 |
|
|
73 |
# $Log$ |
# $Log$ |
74 |
# Revision 1.1 2004/10/26 06:53:58 jgs |
# Revision 1.2 2004/12/14 05:39:33 jgs |
75 |
# Initial revision |
# *** empty log message *** |
76 |
|
# |
77 |
|
# Revision 1.1.1.1.2.4 2004/12/08 03:59:13 jgs |
78 |
|
# reimplemented make install target: |
79 |
|
# - python modules now installed to $L_PYTH_DIR which defaults to $ESYS_ROOT/esys |
80 |
|
# - .so libraries now installed to $L_INSTLIB_DIR which defaults to $ESYS_ROOT/lib |
81 |
|
# need to make symlinks from $L_PYTH_DIR to .so files in $L_INSTLIB_DIR |
82 |
|
# also implemented uninstall make target, which cleans out $L_PYTH_DIR |
83 |
|
# and $L_INSTLIB_DIR |
84 |
|
# |
85 |
|
# Revision 1.1.1.1.2.3 2004/12/07 05:03:06 jgs |
86 |
|
# Fixed install target to handle modules with empty install lists. |
87 |
|
# |
88 |
|
# Revision 1.1.1.1.2.2 2004/12/07 01:01:44 jgs |
89 |
|
# expand message printed out by install target |
90 |
|
# |
91 |
|
# Revision 1.1.1.1.2.1 2004/12/06 06:06:26 jgs |
92 |
|
# setup an "install" target which installs libraries specified by ${INSTALL_TARGET} |
93 |
|
# into the directory ${L_INST_DIR} which defaults to $(L_LIB_DIR)/esys. "esys" is |
94 |
|
# the python package under which the other esys libraries are python modules. |
95 |
|
# |
96 |
|
# Revision 1.1.1.1 2004/10/26 06:53:58 jgs |
97 |
|
# initial import of project esys2 |
98 |
# |
# |
99 |
# Revision 1.2.2.2 2004/09/28 07:03:13 jgs |
# Revision 1.2.2.2 2004/09/28 07:03:13 jgs |
100 |
# *** empty log message *** |
# *** empty log message *** |