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

trunk/Makefile.in revision 1640, Wed Nov 16 02:19:51 2011 UTC branches/vis12-cl/Makefile.in revision 3349, Tue Oct 27 15:16:36 2015 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)  # This code is part of the Diderot Project (http://diderot-language.cs.uchicago.edu)
4    #
5    # COPYRIGHT (c) 2015 The University of Chicago
6  # All rights reserved.  # All rights reserved.
7  #  #
8    
9  SHELL =         @SHELL@  SHELL =         @SHELL@
10  @SET_MAKE@  @SET_MAKE@
11    
12  BUILD_DIRS =            src/dnorm \  INSTALL =       @INSTALL@
13                          src/compiler \  
14    BUILD_DIRS =    src/compiler \
15                          src/lib/build                          src/lib/build
16    
17  .PHONY:         help build local-install \  INSTALL_DIR =   @prefix@
18    
19    # add OpenCL specific targets
20    #
21    ifeq (@CL_ENABLED@,true)
22    BUILD_DIRS +=   src/clinfo
23    endif
24    
25    .PHONY:         help build doc local-install install \
26                  clean local-distclean local-devclean                  clean local-distclean local-devclean
27    
28  help:  help:
29          @echo "This Makefile supports the following targets:"          @echo "This Makefile supports the following targets:"
30          @echo "  help          -- print this message."          @echo "  help          -- print this message."
31          @echo "  build         -- build Diderot tools and libraries"          @echo "  build         -- build Diderot tools and libraries"
32          @echo "  local-install -- install Diderot tools and libraries in "          @echo "  local-install -- install Diderot tools, libraries, and headers in "
33          @echo "                   @DIDEROT_ROOT@/bin"          @echo "                   @DIDEROT_ROOT@/{bin,lib,include}"
34            @echo "  install       -- install Diderot tools, libraries, and headers in "
35            @echo "                   @INSTALL_ROOT@/{bin,lib,include}"
36            @echo "  doc           -- build documentation"
37          @echo "  clean         -- remove intermediate files generated during building"          @echo "  clean         -- remove intermediate files generated during building"
38          @echo "  distclean     -- remove files generated during configuration"          @echo "  distclean     -- remove files generated during configuration"
39          @echo "                   and building; the resulting tree has the same"          @echo "                   and building; the resulting tree has the same"
# Line 32  Line 46 
46          for dir in $(BUILD_DIRS); do \          for dir in $(BUILD_DIRS); do \
47            (cd $$dir && $(MAKE) local-install) || exit $$?; \            (cd $$dir && $(MAKE) local-install) || exit $$?; \
48          done          done
49            mkdir -p include/Diderot
50            (cd src/include/Diderot/; cp -p *.h ../../../include/Diderot) || exit $$?
51    
52    install:
53            mkdir -p $(INSTALL_DIR)
54            for dir in $(BUILD_DIRS); do \
55              (cd $$dir && $(MAKE) install) || exit $$?; \
56            done
57            mkdir -p $(INSTALL_DIR)/include/Diderot
58            (cd src/include/Diderot/; cp -p *.h $(INSTALL_DIR)/include/Diderot) || exit $$?
59    
60  build:  build:
61          for dir in $(BUILD_DIRS); do \          for dir in $(BUILD_DIRS); do \
# Line 39  Line 63 
63          done          done
64    
65  doc:  doc:
66          (cd doc; $(MAKE))          (cd doc; $(MAKE) doc)
67    
68  #################### Cleanup ####################  #################### Cleanup ####################
69    
70  CLEAN_SUBDIRS =         $(BUILD_DIRS) test/MIP test/probe doc  CLEAN_SUBDIRS =         $(BUILD_DIRS) doc test/MIP test/probe
71    
72  CLEAN_FILES =  CLEAN_FILES =           rtest/tests/*/out.nrrd
73    
74  DISTCLEAN_FILES +=      Makefile config.status config.log \  DISTCLEAN_FILES +=      Makefile config.status config.log \
75                          autom4te*.cache \                          autom4te*.cache \
76                          bin \                          bin \
77                          lib \                          lib \
78                            include \
79                            rtest/scripts/run.sh \
80                            rtest/scripts/run-one.sh \
81                            rtest/log.* \
82                            rtest/report.* \
83                          src/include/Diderot/config.h \                          src/include/Diderot/config.h \
84                          src/compiler/gen/file2str/file2str.sh                          src/compiler/gen/file2str/file2str.sh
85    

Legend:
Removed from v.1640  
changed lines
  Added in v.3349

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