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

SCM Repository

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

Annotation of /branches/vis15/Makefile.in

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3938 - (view) (download)

1 : jhr 321 # Makefile for diderot system
2 :     #
3 : jhr 3348 # 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 : jhr 3938 # FIXME
22 :     #
23 :     #ifeq (@CL_ENABLED@,true)
24 :     #BUILD_DIRS += src/clinfo
25 :     #endif
26 : jhr 2075
27 : jhr 2456 .PHONY: help build local-install install \
28 : jhr 321 clean local-distclean local-devclean
29 :    
30 :     help:
31 :     @echo "This Makefile supports the following targets:"
32 :     @echo " help -- print this message."
33 :     @echo " build -- build Diderot tools and libraries"
34 : jhr 2456 @echo " local-install -- install Diderot tools, libraries, and headers in "
35 :     @echo " @DIDEROT_ROOT@/{bin,lib,include}"
36 :     @echo " install -- install Diderot tools, libraries, and headers in "
37 :     @echo " @INSTALL_ROOT@/{bin,lib,include}"
38 : jhr 321 @echo " clean -- remove intermediate files generated during building"
39 :     @echo " distclean -- remove files generated during configuration"
40 :     @echo " and building; the resulting tree has the same"
41 :     @echo " files as the distribution."
42 :     @echo "The following additional targets are primarily for developers:"
43 : glk 1306 @echo " devclean -- remove everything that is not part of the SVN"
44 : jhr 321 @echo " repository."
45 :    
46 :     local-install:
47 :     for dir in $(BUILD_DIRS); do \
48 :     (cd $$dir && $(MAKE) local-install) || exit $$?; \
49 :     done
50 : jhr 3938 mkdir -p include/diderot
51 :     (cd src/lib/include/diderot/; cp -p *.h *.hxx ../../../../include/diderot) || exit $$?
52 : jhr 321
53 : jhr 2456 install:
54 :     mkdir -p $(INSTALL_DIR)
55 :     for dir in $(BUILD_DIRS); do \
56 :     (cd $$dir && $(MAKE) install) || exit $$?; \
57 :     done
58 : jhr 3938 mkdir -p $(INSTALL_DIR)/include/diderot
59 :     (cd src/lib/include/diderot/; cp -p *.h *.hxx $(INSTALL_DIR)/include/diderot) || exit $$?
60 : jhr 2456
61 : jhr 321 build:
62 :     for dir in $(BUILD_DIRS); do \
63 :     (cd $$dir && $(MAKE) build) || exit $$?; \
64 :     done
65 :    
66 : jhr 1640 doc:
67 :     (cd doc; $(MAKE))
68 :    
69 : jhr 321 #################### Cleanup ####################
70 :    
71 : jhr 3938 CLEAN_SUBDIRS = $(BUILD_DIRS)
72 : jhr 321
73 : jhr 2105 CLEAN_FILES = rtest/tests/*/out.nrrd
74 : jhr 321
75 : jhr 1116 DISTCLEAN_FILES += Makefile config.status config.log \
76 : jhr 321 autom4te*.cache \
77 : jhr 1232 bin \
78 :     lib \
79 : jhr 2435 include \
80 : jhr 1941 rtest/scripts/run.sh \
81 :     rtest/scripts/run-one.sh \
82 : jhr 2105 rtest/log.* \
83 :     rtest/report.* \
84 : jhr 3938 src/lib/include/diderot/config.h
85 : jhr 321
86 : jhr 1232 DEVCLEAN_FILES = configure \
87 :     config/config_h.in
88 : jhr 321
89 :     include @DIDEROT_MKDIR@/clean-rules.gmk

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