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 4841, Mon Dec 19 23:00:09 2016 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    ifeq (@LOGGING_ENABLED@,true)
15    BUILD_DIRS =    src/logging/gen
16    endif
17    
18    BUILD_DIRS +=   src/compiler \
19                    src/lib/build
20    
21  .PHONY:         help build local-install \  INSTALL_DIR =   @prefix@
22    
23    # add OpenCL specific targets
24    #
25    # FIXME
26    #
27    #ifeq (@CL_ENABLED@,true)
28    #BUILD_DIRS +=  src/clinfo
29    #endif
30    
31    .PHONY:         help build local-install install \
32                  clean local-distclean local-devclean                  clean local-distclean local-devclean
33    
34  help:  help:
35          @echo "This Makefile supports the following targets:"          @echo "This Makefile supports the following targets:"
36          @echo "  help          -- print this message."          @echo "  help          -- print this message."
37          @echo "  build         -- build Diderot tools and libraries"          @echo "  build         -- build Diderot tools and libraries"
38          @echo "  local-install -- install Diderot tools and libraries in "          @echo "  local-install -- install Diderot tools, libraries, and headers in "
39          @echo "                   @DIDEROT_ROOT@/bin"          @echo "                   @DIDEROT_ROOT@/{bin,lib,include}"
40            @echo "  install       -- install Diderot tools, libraries, and headers in "
41            @echo "                   @INSTALL_ROOT@/{bin,lib,include}"
42          @echo "  clean         -- remove intermediate files generated during building"          @echo "  clean         -- remove intermediate files generated during building"
43          @echo "  distclean     -- remove files generated during configuration"          @echo "  distclean     -- remove files generated during configuration"
44          @echo "                   and building; the resulting tree has the same"          @echo "                   and building; the resulting tree has the same"
45          @echo "                   files as the distribution."          @echo "                   files as the distribution."
46          @echo "The following additional targets are primarily for developers:"          @echo "The following additional targets are primarily for developers:"
47          @echo "  devclean      -- remove everything that is not part of the CVS"          @echo "  devclean      -- remove everything that is not part of the SVN"
48          @echo "                   repository."          @echo "                   repository."
49    
50  local-install:  local-install:
51          for dir in $(BUILD_DIRS); do \          for dir in $(BUILD_DIRS); do \
52            (cd $$dir && $(MAKE) local-install) || exit $$?; \            (cd $$dir && $(MAKE) local-install) || exit $$?; \
53          done          done
54            mkdir -p include/diderot
55            (cd src/lib/include/diderot/; cp -p *.h *.hxx ../../../../include/diderot) || exit $$?
56    
57    install:
58            mkdir -p $(INSTALL_DIR)
59            for dir in $(BUILD_DIRS); do \
60              (cd $$dir && $(MAKE) install) || exit $$?; \
61            done
62            mkdir -p $(INSTALL_DIR)/include/diderot
63            (cd src/lib/include/diderot/; cp -p *.h *.hxx $(INSTALL_DIR)/include/diderot) || exit $$?
64    
65  build:  build:
66          for dir in $(BUILD_DIRS); do \          for dir in $(BUILD_DIRS); do \
67            (cd $$dir && $(MAKE) build) || exit $$?; \            (cd $$dir && $(MAKE) build) || exit $$?; \
68          done          done
69    
70    doc:
71            (cd doc; $(MAKE))
72    
73  #################### Cleanup ####################  #################### Cleanup ####################
74    
75  CLEAN_SUBDIRS =         $(BUILD_DIRS)  CLEAN_SUBDIRS =         $(BUILD_DIRS)
76    
77  CLEAN_FILES =  CLEAN_FILES =           rtest/tests/*/out.nrrd
78    
79  DISTCLEAN_FILES =       Makefile config.status config.log \  DISTCLEAN_FILES +=      Makefile config.status config.log \
80                          autom4te*.cache \                          autom4te*.cache \
81                          bin/dnorm \                          bin \
82                          bin/diderotc \                          lib \
83                          bin/install-sml-wrapper.sh \                          include \
84                          bin/.heap                          rtest/scripts/run.sh \
85                            rtest/scripts/run-one.sh \
86                            rtest/log.* \
87                            rtest/report.* \
88                            src/lib/include/diderot/config.h
89    
90  DEVCLEAN_FILES =        configure  DEVCLEAN_FILES =        configure \
91                            config/config_h.in
92    
93  include @DIDEROT_MKDIR@/clean-rules.gmk  include @DIDEROT_MKDIR@/clean-rules.gmk

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

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