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

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