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

SCM Repository

[diderot] Diff of /branches/vis12-cl/Makefile.in
ViewVC logotype

Diff of /branches/vis12-cl/Makefile.in

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

branches/vis12/Makefile.in revision 2105, Fri Dec 7 13:24:25 2012 UTC branches/vis12-cl/Makefile.in revision 2514, Thu Nov 21 16:27:12 2013 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) 2013 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    INSTALL_DIR =   @prefix@
16    
17  # add OpenCL specific targets  # add OpenCL specific targets
18  #  #
19  ifeq (@CL_ENABLED@,true)  ifeq (@CL_ENABLED@,true)
20  BUILD_DIRS +=           src/clinfo  BUILD_DIRS +=           src/clinfo
21  endif  endif
22    
23  .PHONY:         help build local-install \  .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 38  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 57  Line 72 
72                          autom4te*.cache \                          autom4te*.cache \
73                          bin \                          bin \
74                          lib \                          lib \
75                            include \
76                          rtest/scripts/run.sh \                          rtest/scripts/run.sh \
77                          rtest/scripts/run-one.sh \                          rtest/scripts/run-one.sh \
78                          rtest/log.* \                          rtest/log.* \

Legend:
Removed from v.2105  
changed lines
  Added in v.2514

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