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

SCM Repository

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

Diff of /branches/vis15/Makefile.in

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

trunk/Makefile.in revision 435, Tue Oct 19 13:14:20 2010 UTC branches/vis15/Makefile.in revision 3348, Tue Oct 27 15:13:58 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
16    
17    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 local-install \  .PHONY:         help build 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 "  clean         -- remove intermediate files generated during building"          @echo "  clean         -- remove intermediate files generated during building"
37          @echo "  distclean     -- remove files generated during configuration"          @echo "  distclean     -- remove files generated during configuration"
38          @echo "                   and building; the resulting tree has the same"          @echo "                   and building; the resulting tree has the same"
39          @echo "                   files as the distribution."          @echo "                   files as the distribution."
40          @echo "The following additional targets are primarily for developers:"          @echo "The following additional targets are primarily for developers:"
41          @echo "  devclean      -- remove everything that is not part of the CVS"          @echo "  devclean      -- remove everything that is not part of the SVN"
42          @echo "                   repository."          @echo "                   repository."
43    
44  local-install:  local-install:
45          for dir in $(BUILD_DIRS); do \          for dir in $(BUILD_DIRS); do \
46            (cd $$dir && $(MAKE) local-install) || exit $$?; \            (cd $$dir && $(MAKE) local-install) || exit $$?; \
47          done          done
48            mkdir -p include/Diderot
49            (cd src/include/Diderot/; cp -p *.h ../../../include/Diderot) || exit $$?
50    
51    install:
52            mkdir -p $(INSTALL_DIR)
53            for dir in $(BUILD_DIRS); do \
54              (cd $$dir && $(MAKE) install) || exit $$?; \
55            done
56            mkdir -p $(INSTALL_DIR)/include/Diderot
57            (cd src/include/Diderot/; cp -p *.h $(INSTALL_DIR)/include/Diderot) || exit $$?
58    
59  build:  build:
60          for dir in $(BUILD_DIRS); do \          for dir in $(BUILD_DIRS); do \
61            (cd $$dir && $(MAKE) build) || exit $$?; \            (cd $$dir && $(MAKE) build) || exit $$?; \
62          done          done
63    
64    doc:
65            (cd doc; $(MAKE))
66    
67  #################### Cleanup ####################  #################### Cleanup ####################
68    
69  CLEAN_SUBDIRS =         $(BUILD_DIRS)  CLEAN_SUBDIRS =         $(BUILD_DIRS) test/MIP test/probe doc
70    
71  CLEAN_FILES =  CLEAN_FILES =           rtest/tests/*/out.nrrd
72    
73  DISTCLEAN_FILES =       Makefile config.status config.log \  DISTCLEAN_FILES +=      Makefile config.status config.log \
74                          autom4te*.cache \                          autom4te*.cache \
75                          bin/dnorm \                          bin \
76                          bin/diderotc \                          lib \
77                          bin/install-sml-wrapper.sh \                          include \
78                          bin/.heap                          rtest/scripts/run.sh \
79                            rtest/scripts/run-one.sh \
80                            rtest/log.* \
81                            rtest/report.* \
82                            src/include/Diderot/config.h \
83                            src/compiler/gen/file2str/file2str.sh
84    
85  DEVCLEAN_FILES =        configure  DEVCLEAN_FILES =        configure \
86                            config/config_h.in
87    
88  include @DIDEROT_MKDIR@/clean-rules.gmk  include @DIDEROT_MKDIR@/clean-rules.gmk

Legend:
Removed from v.435  
changed lines
  Added in v.3348

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