SCM Repository
Annotation of /trunk/Makefile.in
Parent Directory
|
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 | 2470 | INSTALL = @INSTALL@ |
13 : | jhr | 321 | |
14 : | jhr | 2470 | BUILD_DIRS = src/compiler \ |
15 : | src/lib/build | ||
16 : | |||
17 : | jhr | 321 | .PHONY: help build local-install \ |
18 : | clean local-distclean local-devclean | ||
19 : | |||
20 : | help: | ||
21 : | @echo "This Makefile supports the following targets:" | ||
22 : | @echo " help -- print this message." | ||
23 : | @echo " build -- build Diderot tools and libraries" | ||
24 : | @echo " local-install -- install Diderot tools and libraries in " | ||
25 : | @echo " @DIDEROT_ROOT@/bin" | ||
26 : | @echo " clean -- remove intermediate files generated during building" | ||
27 : | @echo " distclean -- remove files generated during configuration" | ||
28 : | @echo " and building; the resulting tree has the same" | ||
29 : | @echo " files as the distribution." | ||
30 : | @echo "The following additional targets are primarily for developers:" | ||
31 : | glk | 1306 | @echo " devclean -- remove everything that is not part of the SVN" |
32 : | jhr | 321 | @echo " repository." |
33 : | |||
34 : | local-install: | ||
35 : | for dir in $(BUILD_DIRS); do \ | ||
36 : | (cd $$dir && $(MAKE) local-install) || exit $$?; \ | ||
37 : | done | ||
38 : | jhr | 2470 | mkdir -p include/Diderot |
39 : | (cd src/include/Diderot/; cp -p *.h ../../../include/Diderot) || exit $$? | ||
40 : | jhr | 321 | |
41 : | build: | ||
42 : | for dir in $(BUILD_DIRS); do \ | ||
43 : | (cd $$dir && $(MAKE) build) || exit $$?; \ | ||
44 : | done | ||
45 : | |||
46 : | jhr | 1640 | doc: |
47 : | (cd doc; $(MAKE)) | ||
48 : | |||
49 : | jhr | 321 | #################### Cleanup #################### |
50 : | |||
51 : | jhr | 1640 | CLEAN_SUBDIRS = $(BUILD_DIRS) test/MIP test/probe doc |
52 : | jhr | 321 | |
53 : | jhr | 2470 | CLEAN_FILES = rtest/tests/*/out.nrrd |
54 : | jhr | 321 | |
55 : | jhr | 1116 | DISTCLEAN_FILES += Makefile config.status config.log \ |
56 : | jhr | 321 | autom4te*.cache \ |
57 : | jhr | 1232 | bin \ |
58 : | lib \ | ||
59 : | jhr | 2470 | include \ |
60 : | rtest/scripts/run.sh \ | ||
61 : | rtest/scripts/run-one.sh \ | ||
62 : | rtest/log.* \ | ||
63 : | rtest/report.* \ | ||
64 : | jhr | 1640 | src/include/Diderot/config.h \ |
65 : | jhr | 1986 | src/compiler/gen/file2str/file2str.sh \ |
66 : | jhr | 2470 | doc/man/Makefile \ |
67 : | src/clinfo/Makefile | ||
68 : | jhr | 321 | |
69 : | jhr | 1232 | DEVCLEAN_FILES = configure \ |
70 : | config/config_h.in | ||
71 : | jhr | 321 | |
72 : | include @DIDEROT_MKDIR@/clean-rules.gmk |
root@smlnj-gforge.cs.uchicago.edu | ViewVC Help |
Powered by ViewVC 1.0.0 |