Home My Page Projects Code Snippets Project Openings diderot
Summary Activity Tracker Tasks SCM

SCM Repository

[diderot] Diff of /branches/fem/Makefile.in
ViewVC logotype

Diff of /branches/fem/Makefile.in

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

revision 1685, Sun Jan 22 15:23:36 2012 UTC revision 2747, Wed Oct 1 21:08:57 2014 UTC
# Line 1  Line 1 
1  # Makefile for diderot system  # Makefile for diderot system
2  #  #
3  # COPYRIGHT (c) 2010 The Diderot Project (http://diderot-language.cs.uchicago.edu)  # COPYRIGHT (c) 2014 The Diderot Project (http://diderot-language.cs.uchicago.edu)
4  # All rights reserved.  # All rights reserved.
5  #  #
6    
7  SHELL =         @SHELL@  SHELL =         @SHELL@
8  @SET_MAKE@  @SET_MAKE@
9    
10  BUILD_DIRS =            src/dnorm \  INSTALL =       @INSTALL@
11                          src/compiler \  
12    BUILD_DIRS =    src/compiler \
13                          src/lib/build                          src/lib/build
14    
15  .PHONY:         help build local-install \  INSTALL_DIR =   @prefix@
16    
17    # add OpenCL specific targets
18    #
19    ifeq (@CL_ENABLED@,true)
20    BUILD_DIRS +=   src/clinfo
21    endif
22    
23    .PHONY:         help build local-install install \
24                  clean local-distclean local-devclean                  clean local-distclean local-devclean
25    
26  help:  help:
27          @echo "This Makefile supports the following targets:"          @echo "This Makefile supports the following targets:"
28          @echo "  help          -- print this message."          @echo "  help          -- print this message."
29          @echo "  build         -- build Diderot tools and libraries"          @echo "  build         -- build Diderot tools and libraries"
30          @echo "  local-install -- install Diderot tools and libraries in "          @echo "  local-install -- install Diderot tools, libraries, and headers in "
31          @echo "                   @DIDEROT_ROOT@/bin"          @echo "                   @DIDEROT_ROOT@/{bin,lib,include}"
32            @echo "  install       -- install Diderot tools, libraries, and headers in "
33            @echo "                   @INSTALL_ROOT@/{bin,lib,include}"
34          @echo "  clean         -- remove intermediate files generated during building"          @echo "  clean         -- remove intermediate files generated during building"
35          @echo "  distclean     -- remove files generated during configuration"          @echo "  distclean     -- remove files generated during configuration"
36          @echo "                   and building; the resulting tree has the same"          @echo "                   and building; the resulting tree has the same"
# Line 32  Line 43 
43          for dir in $(BUILD_DIRS); do \          for dir in $(BUILD_DIRS); do \
44            (cd $$dir && $(MAKE) local-install) || exit $$?; \            (cd $$dir && $(MAKE) local-install) || exit $$?; \
45          done          done
46            mkdir -p include/Diderot
47            (cd src/include/Diderot/; cp -p *.h ../../../include/Diderot) || exit $$?
48    
49    install:
50            mkdir -p $(INSTALL_DIR)
51            for dir in $(BUILD_DIRS); do \
52              (cd $$dir && $(MAKE) install) || exit $$?; \
53            done
54            mkdir -p $(INSTALL_DIR)/include/Diderot
55            (cd src/include/Diderot/; cp -p *.h $(INSTALL_DIR)/include/Diderot) || exit $$?
56    
57  build:  build:
58          for dir in $(BUILD_DIRS); do \          for dir in $(BUILD_DIRS); do \
# Line 45  Line 66 
66    
67  CLEAN_SUBDIRS =         $(BUILD_DIRS) test/MIP test/probe doc  CLEAN_SUBDIRS =         $(BUILD_DIRS) test/MIP test/probe doc
68    
69  CLEAN_FILES =  CLEAN_FILES =           rtest/tests/*/out.nrrd
70    
71  DISTCLEAN_FILES +=      Makefile config.status config.log \  DISTCLEAN_FILES +=      Makefile config.status config.log \
72                          autom4te*.cache \                          autom4te*.cache \
73                          bin \                          bin \
74                          lib \                          lib \
75                            include \
76                            rtest/scripts/run.sh \
77                            rtest/scripts/run-one.sh \
78                            rtest/log.* \
79                            rtest/report.* \
80                          src/include/Diderot/config.h \                          src/include/Diderot/config.h \
81                          src/compiler/gen/file2str/file2str.sh                          src/compiler/gen/file2str/file2str.sh
82    

Legend:
Removed from v.1685  
changed lines
  Added in v.2747

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0