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

SCM Repository

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

Annotation of /branches/lamont/Makefile.in

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2298 - (view) (download)

1 : jhr 321 # Makefile for diderot system
2 :     #
3 : jhr 435 # COPYRIGHT (c) 2010 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 :     BUILD_DIRS = src/dnorm \
11 : jhr 1116 src/compiler \
12 : jhr 1232 src/lib/build
13 : jhr 321
14 : jhr 2075 # add OpenCL specific targets
15 :     #
16 :     ifeq (@CL_ENABLED@,true)
17 :     BUILD_DIRS += src/clinfo
18 :     endif
19 :    
20 : jhr 321 .PHONY: help build local-install \
21 :     clean local-distclean local-devclean
22 :    
23 :     help:
24 :     @echo "This Makefile supports the following targets:"
25 :     @echo " help -- print this message."
26 :     @echo " build -- build Diderot tools and libraries"
27 :     @echo " local-install -- install Diderot tools and libraries in "
28 :     @echo " @DIDEROT_ROOT@/bin"
29 :     @echo " clean -- remove intermediate files generated during building"
30 :     @echo " distclean -- remove files generated during configuration"
31 :     @echo " and building; the resulting tree has the same"
32 :     @echo " files as the distribution."
33 :     @echo "The following additional targets are primarily for developers:"
34 : glk 1306 @echo " devclean -- remove everything that is not part of the SVN"
35 : jhr 321 @echo " repository."
36 :    
37 :     local-install:
38 :     for dir in $(BUILD_DIRS); do \
39 :     (cd $$dir && $(MAKE) local-install) || exit $$?; \
40 :     done
41 :    
42 :     build:
43 :     for dir in $(BUILD_DIRS); do \
44 :     (cd $$dir && $(MAKE) build) || exit $$?; \
45 :     done
46 :    
47 : jhr 1640 doc:
48 :     (cd doc; $(MAKE))
49 :    
50 : jhr 321 #################### Cleanup ####################
51 :    
52 : jhr 1640 CLEAN_SUBDIRS = $(BUILD_DIRS) test/MIP test/probe doc
53 : jhr 321
54 : jhr 2298 CLEAN_FILES = rtest/tests/*/out.nrrd
55 : jhr 321
56 : jhr 1116 DISTCLEAN_FILES += Makefile config.status config.log \
57 : jhr 321 autom4te*.cache \
58 : jhr 1232 bin \
59 :     lib \
60 : jhr 1941 rtest/scripts/run.sh \
61 :     rtest/scripts/run-one.sh \
62 : jhr 2298 rtest/log.* \
63 :     rtest/report.* \
64 : jhr 1640 src/include/Diderot/config.h \
65 :     src/compiler/gen/file2str/file2str.sh
66 : jhr 321
67 : jhr 1232 DEVCLEAN_FILES = configure \
68 :     config/config_h.in
69 : jhr 321
70 :     include @DIDEROT_MKDIR@/clean-rules.gmk

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