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

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