/[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 119 by jgs, Tue Apr 12 04:45:05 2005 UTC revision 122 by jgs, Thu Jun 9 05:38:05 2005 UTC
# Line 18  install: all Line 18  install: all
18      @echo ----------------------------------------------------------------------------      @echo ----------------------------------------------------------------------------
19      @if test -n "${INSTALL_PYTH}";\      @if test -n "${INSTALL_PYTH}";\
20      then \      then \
21        install ${INSTALL_PYTH} ${L_PYTH_DIR};\        install -v ${INSTALL_PYTH} ${L_PYTH_DIR};\
22      fi      fi
23      @echo Installed ${INSTALL_PYTH} to ${L_PYTH_DIR}.      @echo Installed ${INSTALL_PYTH} to ${L_PYTH_DIR}.
24      @if test -n "${INSTALL_LIB}";\      @if test -n "${INSTALL_LIB}";\
25      then \      then \
26        install ${INSTALL_LIB} ${L_INSTLIB_DIR};\        install -v ${INSTALL_LIB} ${L_INSTLIB_DIR};\
27      fi      fi
28      @echo Installed ${INSTALL_LIB} to ${L_INSTLIB_DIR}.      @echo Installed ${INSTALL_LIB} to ${L_INSTLIB_DIR}.
29      @echo ----------------------------------------------------------------------------      @echo ----------------------------------------------------------------------------
30    
31  uninstall:  uninstall:
32      @echo ----------------------------------------------------------------------------      @echo ----------------------------------------------------------------------------
     @echo Uninstalled ${INSTALL_PYTH}.  
33      @rm -rf ${L_PYTH_DIR}/*.py      @rm -rf ${L_PYTH_DIR}/*.py
34      @rm -rf ${L_PYTH_DIR}/*.pyc      @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      @rm -rf ${L_INSTLIB_DIR}/*.so
38      @echo Uninstalled ${INSTALL_LIB}.      @echo Uninstalled ${L_INSTLIB_DIR}.
39      @echo ----------------------------------------------------------------------------      @echo ----------------------------------------------------------------------------
40    
41  # Make default target and print source files that were found  # Make default target and print source files that were found
# Line 54  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 69  pyc: ${PYTHON_BYTE} Line 71  pyc: ${PYTHON_BYTE}
71    
72  # Always remake the default target  # Always remake the default target
73  ${DEFAULT_TARGET}:  ${DEFAULT_TARGET}:
74    
75    # $Log$
76    # Revision 1.7  2005/06/09 05:38:03  jgs
77    # 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
120    # *** empty log message ***
121    #
122    # Revision 1.2.2.1  2004/09/27 06:44:58  jgs
123    # refined clean target actions
124    #
125    # Revision 1.2  2004/09/23 01:48:46  jgs
126    # make: augmented Makefiles with comments throughout
127    #
128    #         Makefile.default - changed order of includes for clarity
129    #         Makfile.phony    - reordered phony targets
130    #                          - added target "all" - now first target to be encountered
131    #
132    # Revision 1.1.1.1  2004/06/24 04:00:39  johng
133    # Initial version of eys using boost-python.
134    #
135    # Revision 1.3  2003/08/25 02:14:10  davies
136    # Force builds of linked objects.
137    #
138    # Revision 1.2  2003/08/21 07:12:16  davies
139    # Fixed accidental deletion of CVS directory during "make clean".
140    #
141    # Revision 1.1.1.1  2003/08/21 00:58:20  davies
142    # Imported sources from Lutz Gross.
143    #

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

  ViewVC Help
Powered by ViewVC 1.1.26