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

SCM Repository

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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3226 - (view) (download)

1 : jhr 321 # Makefile for diderot system
2 :     #
3 : jhr 2748 # COPYRIGHT (c) 2014 The Diderot Project (http://diderot-language.cs.uchicago.edu)
4 : jhr 321 # All rights reserved.
5 :     #
6 :    
7 :     SHELL = @SHELL@
8 :     @SET_MAKE@
9 :    
10 : jhr 2495 INSTALL = @INSTALL@
11 : jhr 321
12 : jhr 2495 BUILD_DIRS = src/compiler \
13 :     src/lib/build
14 :    
15 : jhr 2514 INSTALL_DIR = @prefix@
16 :    
17 : jhr 2075 # add OpenCL specific targets
18 :     #
19 :     ifeq (@CL_ENABLED@,true)
20 : jhr 2495 BUILD_DIRS += src/clinfo
21 : jhr 2075 endif
22 :    
23 : jhr 3226 .PHONY: help build doc local-install install \
24 : jhr 321 clean local-distclean local-devclean
25 :    
26 :     help:
27 :     @echo "This Makefile supports the following targets:"
28 :     @echo " help -- print this message."
29 :     @echo " build -- build Diderot tools and libraries"
30 : jhr 2514 @echo " local-install -- install Diderot tools, libraries, and headers in "
31 :     @echo " @DIDEROT_ROOT@/{bin,lib,include}"
32 :     @echo " install -- install Diderot tools, libraries, and headers in "
33 :     @echo " @INSTALL_ROOT@/{bin,lib,include}"
34 : jhr 3226 @echo " doc -- build documentation"
35 : jhr 321 @echo " clean -- remove intermediate files generated during building"
36 :     @echo " distclean -- remove files generated during configuration"
37 :     @echo " and building; the resulting tree has the same"
38 :     @echo " files as the distribution."
39 :     @echo "The following additional targets are primarily for developers:"
40 : glk 1306 @echo " devclean -- remove everything that is not part of the SVN"
41 : jhr 321 @echo " repository."
42 :    
43 :     local-install:
44 :     for dir in $(BUILD_DIRS); do \
45 :     (cd $$dir && $(MAKE) local-install) || exit $$?; \
46 :     done
47 : jhr 2495 mkdir -p include/Diderot
48 :     (cd src/include/Diderot/; cp -p *.h ../../../include/Diderot) || exit $$?
49 : jhr 321
50 : jhr 2514 install:
51 :     mkdir -p $(INSTALL_DIR)
52 :     for dir in $(BUILD_DIRS); do \
53 :     (cd $$dir && $(MAKE) install) || exit $$?; \
54 :     done
55 :     mkdir -p $(INSTALL_DIR)/include/Diderot
56 :     (cd src/include/Diderot/; cp -p *.h $(INSTALL_DIR)/include/Diderot) || exit $$?
57 :    
58 : jhr 321 build:
59 :     for dir in $(BUILD_DIRS); do \
60 :     (cd $$dir && $(MAKE) build) || exit $$?; \
61 :     done
62 :    
63 : jhr 1640 doc:
64 : jhr 3226 (cd doc; $(MAKE) doc)
65 : jhr 1640
66 : jhr 321 #################### Cleanup ####################
67 :    
68 : jhr 3226 CLEAN_SUBDIRS = $(BUILD_DIRS) doc test/MIP test/probe
69 : jhr 321
70 : jhr 2105 CLEAN_FILES = rtest/tests/*/out.nrrd
71 : jhr 321
72 : jhr 1116 DISTCLEAN_FILES += Makefile config.status config.log \
73 : jhr 321 autom4te*.cache \
74 : jhr 1232 bin \
75 :     lib \
76 : jhr 2495 include \
77 : jhr 1941 rtest/scripts/run.sh \
78 :     rtest/scripts/run-one.sh \
79 : jhr 2105 rtest/log.* \
80 :     rtest/report.* \
81 : jhr 1640 src/include/Diderot/config.h \
82 :     src/compiler/gen/file2str/file2str.sh
83 : jhr 321
84 : jhr 1232 DEVCLEAN_FILES = configure \
85 :     config/config_h.in
86 : jhr 321
87 :     include @DIDEROT_MKDIR@/clean-rules.gmk

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