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

SCM Repository

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

Diff of /branches/vis12/Makefile.in

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

trunk/Makefile.in revision 1232, Mon May 16 23:37:52 2011 UTC branches/vis12/Makefile.in revision 3291, Wed Oct 14 21:25:00 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"
40          @echo "                   files as the distribution."          @echo "                   files as the distribution."
41          @echo "The following additional targets are primarily for developers:"          @echo "The following additional targets are primarily for developers:"
42          @echo "  devclean      -- remove everything that is not part of the CVS"          @echo "  devclean      -- remove everything that is not part of the SVN"
43          @echo "                   repository."          @echo "                   repository."
44    
45  local-install:  local-install:
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 \
62            (cd $$dir && $(MAKE) build) || exit $$?; \            (cd $$dir && $(MAKE) build) || exit $$?; \
63          done          done
64    
65    doc:
66            (cd doc; $(MAKE) doc)
67    
68  #################### Cleanup ####################  #################### Cleanup ####################
69    
70  CLEAN_SUBDIRS =         $(BUILD_DIRS)  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                          src/include/Diderot/config.h                          include \
79                            rtest/scripts/run.sh \
80                            rtest/scripts/run-one.sh \
81                            rtest/log.* \
82                            rtest/report.* \
83                            rtest2/scripts/run.sh \
84                            rtest2/scripts/run-one.sh \
85                            rtest2/log.* \
86                            rtest2/report.* \
87                            src/include/Diderot/config.h \
88                            src/compiler/gen/file2str/file2str.sh
89    
90  DEVCLEAN_FILES =        configure \  DEVCLEAN_FILES =        configure \
91                          config/config_h.in                          config/config_h.in

Legend:
Removed from v.1232  
changed lines
  Added in v.3291

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