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

SCM Repository

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

Annotation of /branches/vis12/Makefile.in

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3291 - (view) (download)

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

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