SCM Repository
Annotation of /trunk/Makefile.in
Parent Directory
|
Revision Log
Revision 321 - (view) (download)
1 : | jhr | 321 | # Makefile for diderot system |
2 : | # | ||
3 : | # COPYRIGHT (c) 2010 The Diderot Project (http://diderot.cs.uchicago.edu) | ||
4 : | # All rights reserved. | ||
5 : | # | ||
6 : | |||
7 : | SHELL = @SHELL@ | ||
8 : | @SET_MAKE@ | ||
9 : | |||
10 : | BUILD_DIRS = src/dnorm \ | ||
11 : | src/compiler | ||
12 : | |||
13 : | .PHONY: help build local-install \ | ||
14 : | clean local-distclean local-devclean | ||
15 : | |||
16 : | help: | ||
17 : | @echo "This Makefile supports the following targets:" | ||
18 : | @echo " help -- print this message." | ||
19 : | @echo " build -- build Diderot tools and libraries" | ||
20 : | @echo " local-install -- install Diderot tools and libraries in " | ||
21 : | @echo " @DIDEROT_ROOT@/bin" | ||
22 : | @echo " clean -- remove intermediate files generated during building" | ||
23 : | @echo " distclean -- remove files generated during configuration" | ||
24 : | @echo " and building; the resulting tree has the same" | ||
25 : | @echo " files as the distribution." | ||
26 : | @echo "The following additional targets are primarily for developers:" | ||
27 : | @echo " devclean -- remove everything that is not part of the CVS" | ||
28 : | @echo " repository." | ||
29 : | |||
30 : | local-install: | ||
31 : | for dir in $(BUILD_DIRS); do \ | ||
32 : | (cd $$dir && $(MAKE) local-install) || exit $$?; \ | ||
33 : | done | ||
34 : | |||
35 : | build: | ||
36 : | for dir in $(BUILD_DIRS); do \ | ||
37 : | (cd $$dir && $(MAKE) build) || exit $$?; \ | ||
38 : | done | ||
39 : | |||
40 : | #################### Cleanup #################### | ||
41 : | |||
42 : | CLEAN_SUBDIRS = $(BUILD_DIRS) | ||
43 : | |||
44 : | CLEAN_FILES = | ||
45 : | |||
46 : | DISTCLEAN_FILES = Makefile config.status config.log \ | ||
47 : | autom4te*.cache \ | ||
48 : | bin/dnorm \ | ||
49 : | bin/diderotc \ | ||
50 : | bin/install-sml-wrapper.sh \ | ||
51 : | bin/.heap | ||
52 : | |||
53 : | DEVCLEAN_FILES = configure | ||
54 : | |||
55 : | include @DIDEROT_MKDIR@/clean-rules.gmk |
root@smlnj-gforge.cs.uchicago.edu | ViewVC Help |
Powered by ViewVC 1.0.0 |