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 2747 - (view) (download)

1 : jhr 321 # Makefile for diderot system
2 :     #
3 : jhr 2747 # 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 2435 INSTALL = @INSTALL@
11 : jhr 321
12 : jhr 2435 BUILD_DIRS = src/compiler \
13 :     src/lib/build
14 :    
15 : jhr 2456 INSTALL_DIR = @prefix@
16 :    
17 : jhr 2075 # add OpenCL specific targets
18 :     #
19 :     ifeq (@CL_ENABLED@,true)
20 : jhr 2435 BUILD_DIRS += src/clinfo
21 : jhr 2075 endif
22 :    
23 : jhr 2456 .PHONY: help build 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 2456 @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 321 @echo " clean -- remove intermediate files generated during building"
35 :     @echo " distclean -- remove files generated during configuration"
36 :     @echo " and building; the resulting tree has the same"
37 :     @echo " files as the distribution."
38 :     @echo "The following additional targets are primarily for developers:"
39 : glk 1306 @echo " devclean -- remove everything that is not part of the SVN"
40 : jhr 321 @echo " repository."
41 :    
42 :     local-install:
43 :     for dir in $(BUILD_DIRS); do \
44 :     (cd $$dir && $(MAKE) local-install) || exit $$?; \
45 :     done
46 : jhr 2435 mkdir -p include/Diderot
47 :     (cd src/include/Diderot/; cp -p *.h ../../../include/Diderot) || exit $$?
48 : jhr 321
49 : jhr 2456 install:
50 :     mkdir -p $(INSTALL_DIR)
51 :     for dir in $(BUILD_DIRS); do \
52 :     (cd $$dir && $(MAKE) install) || exit $$?; \
53 :     done
54 :     mkdir -p $(INSTALL_DIR)/include/Diderot
55 :     (cd src/include/Diderot/; cp -p *.h $(INSTALL_DIR)/include/Diderot) || exit $$?
56 :    
57 : jhr 321 build:
58 :     for dir in $(BUILD_DIRS); do \
59 :     (cd $$dir && $(MAKE) build) || exit $$?; \
60 :     done
61 :    
62 : jhr 1640 doc:
63 :     (cd doc; $(MAKE))
64 :    
65 : jhr 321 #################### Cleanup ####################
66 :    
67 : jhr 1640 CLEAN_SUBDIRS = $(BUILD_DIRS) test/MIP test/probe doc
68 : jhr 321
69 : jhr 2105 CLEAN_FILES = rtest/tests/*/out.nrrd
70 : jhr 321
71 : jhr 1116 DISTCLEAN_FILES += Makefile config.status config.log \
72 : jhr 321 autom4te*.cache \
73 : jhr 1232 bin \
74 :     lib \
75 : jhr 2435 include \
76 : jhr 1941 rtest/scripts/run.sh \
77 :     rtest/scripts/run-one.sh \
78 : jhr 2105 rtest/log.* \
79 :     rtest/report.* \
80 : jhr 1640 src/include/Diderot/config.h \
81 :     src/compiler/gen/file2str/file2str.sh
82 : jhr 321
83 : jhr 1232 DEVCLEAN_FILES = configure \
84 :     config/config_h.in
85 : jhr 321
86 :     include @DIDEROT_MKDIR@/clean-rules.gmk

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