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

SCM Repository

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

Annotation of /branches/fem/Makefile.in

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3349 - (view) (download)

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

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