/[escript]/trunk/make/Makefile.phony
ViewVC logotype

Diff of /trunk/make/Makefile.phony

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

revision 82 by jgs, Tue Oct 26 06:53:54 2004 UTC revision 122 by jgs, Thu Jun 9 05:38:05 2005 UTC
# Line 14  Line 14 
14  # #############################################################################  # #############################################################################
15  all: default  all: default
16    
17    install: all
18        @echo ----------------------------------------------------------------------------
19        @if test -n "${INSTALL_PYTH}";\
20        then \
21          install -v ${INSTALL_PYTH} ${L_PYTH_DIR};\
22        fi
23        @echo Installed ${INSTALL_PYTH} to ${L_PYTH_DIR}.
24        @if test -n "${INSTALL_LIB}";\
25        then \
26          install -v ${INSTALL_LIB} ${L_INSTLIB_DIR};\
27        fi
28        @echo Installed ${INSTALL_LIB} to ${L_INSTLIB_DIR}.
29        @echo ----------------------------------------------------------------------------
30    
31    uninstall:
32        @echo ----------------------------------------------------------------------------
33        @rm -rf ${L_PYTH_DIR}/*.py
34        @rm -rf ${L_PYTH_DIR}/*.pyc
35        @rm -rf ${L_PYTH_DIR}/*.pyo
36        @echo Uninstalled ${L_PYTH_DIR}.
37        @rm -rf ${L_INSTLIB_DIR}/*.so
38        @echo Uninstalled ${L_INSTLIB_DIR}.
39        @echo ----------------------------------------------------------------------------
40    
41  # Make default target and print source files that were found  # Make default target and print source files that were found
42  default: ${DEFAULT_TARGET}  default: ${DEFAULT_TARGET}
43      @if test -n "${CPP_SRC}";\      @if test -n "${CPP_SRC}";\
# Line 31  clean: Line 55  clean:
55      @rm -rf ${filter-out %CVS, ${wildcard ${L_DEP_DIR}/src}}      @rm -rf ${filter-out %CVS, ${wildcard ${L_DEP_DIR}/src}}
56      @rm -rf ${filter-out %CVS, ${wildcard ${L_DEP_DIR}/*.d}}      @rm -rf ${filter-out %CVS, ${wildcard ${L_DEP_DIR}/*.d}}
57      @rm -rf ${filter-out %CVS, ${wildcard ${L_LIB_DIR}/lib*}}      @rm -rf ${filter-out %CVS, ${wildcard ${L_LIB_DIR}/lib*}}
58        @rm -rf ${filter-out %CVS, ${wildcard ${L_LIB_DIR}/py_src/*.pyc}}
59      @rm -rf ${filter-out %CVS, ${wildcard ${L_OBJ_DIR}/src}}      @rm -rf ${filter-out %CVS, ${wildcard ${L_OBJ_DIR}/src}}
60      @rm -rf ${filter-out %CVS, ${wildcard ${L_OBJ_DIR}/*.o}}      @rm -rf ${filter-out %CVS, ${wildcard ${L_OBJ_DIR}/*.o}}
61      @rm -rf ${addprefix ${L_SRC_DIR}/, ${SWIG_CPP_SRC}}      @rm -rf ${addprefix ${L_SRC_DIR}/, ${SWIG_CPP_SRC}}
# Line 48  pyc: ${PYTHON_BYTE} Line 73  pyc: ${PYTHON_BYTE}
73  ${DEFAULT_TARGET}:  ${DEFAULT_TARGET}:
74    
75  # $Log$  # $Log$
76  # Revision 1.1  2004/10/26 06:53:58  jgs  # Revision 1.7  2005/06/09 05:38:03  jgs
77  # Initial revision  # Merge of development branch back to main trunk on 2005-06-09
78    #
79    # Revision 1.1.1.1.2.10  2005/05/20 04:31:17  jgs
80    # fix cleanup of lib/py_src directory
81    #
82    # Revision 1.1.1.1.2.9  2005/05/18 07:02:39  jgs
83    # all python code now compiled to .pyc files with "-O -O" options
84    #
85    # Revision 1.1.1.1.2.8  2005/05/17 10:43:59  jgs
86    # fixed uninstall target
87    #
88    # Revision 1.1.1.1.2.7  2005/05/17 01:31:15  jgs
89    # set L_INSTLIB_DIR and L_PYTH_DIR defaults relative to ESYS_ROOT
90    #
91    # Revision 1.1.1.1.2.6  2005/05/12 11:47:44  gross
92    # some minor changes in output
93    #
94    # Revision 1.1.1.1.2.5  2005/04/04 06:52:11  jgs
95    # Minor change to display installation target directory.
96    #
97    # Revision 1.1.1.1.2.4  2004/12/08 03:59:13  jgs
98    # reimplemented make install target:
99    #   - python modules now installed to $L_PYTH_DIR which defaults to $ESYS_ROOT/esys
100    #   - .so libraries now installed to $L_INSTLIB_DIR which defaults to $ESYS_ROOT/lib
101    # need to make symlinks from $L_PYTH_DIR to .so files in $L_INSTLIB_DIR
102    # also implemented uninstall make target, which cleans out $L_PYTH_DIR
103    # and $L_INSTLIB_DIR
104    #
105    # Revision 1.1.1.1.2.3  2004/12/07 05:03:06  jgs
106    # Fixed install target to handle modules with empty install lists.
107    #
108    # Revision 1.1.1.1.2.2  2004/12/07 01:01:44  jgs
109    # expand message printed out by install target
110    #
111    # Revision 1.1.1.1.2.1  2004/12/06 06:06:26  jgs
112    # setup an "install" target which installs libraries specified by ${INSTALL_TARGET}
113    # into the directory ${L_INST_DIR} which defaults to $(L_LIB_DIR)/esys. "esys" is
114    # the python package under which the other esys libraries are python modules.
115    #
116    # Revision 1.1.1.1  2004/10/26 06:53:58  jgs
117    # initial import of project esys2
118  #  #
119  # Revision 1.2.2.2  2004/09/28 07:03:13  jgs  # Revision 1.2.2.2  2004/09/28 07:03:13  jgs
120  # *** empty log message ***  # *** empty log message ***
# Line 76  ${DEFAULT_TARGET}: Line 141  ${DEFAULT_TARGET}:
141  # Revision 1.1.1.1  2003/08/21 00:58:20  davies  # Revision 1.1.1.1  2003/08/21 00:58:20  davies
142  # Imported sources from Lutz Gross.  # Imported sources from Lutz Gross.
143  #  #
   

Legend:
Removed from v.82  
changed lines
  Added in v.122

  ViewVC Help
Powered by ViewVC 1.1.26