SCM Repository
Annotation of /branches/pure-cfg/src/lib/build/Makefile.in
Parent Directory
|
Revision Log
Revision 3349 - (view) (download)
1 : | jhr | 1093 | # Makefile |
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 | 1093 | # All rights reserved. |
7 : | # | ||
8 : | # The Makefile for building all versions of the Diderot runtime system | ||
9 : | # | ||
10 : | # @configure_input@ | ||
11 : | # | ||
12 : | |||
13 : | SHELL = @SHELL@ | ||
14 : | jhr | 1172 | INSTALL = @INSTALL@ |
15 : | jhr | 1093 | @SET_MAKE@ |
16 : | |||
17 : | jhr | 1172 | # |
18 : | # directories for the install target | ||
19 : | # | ||
20 : | PREFIX = @prefix@ | ||
21 : | INSTALL_LIBDIR = $(PREFIX)/lib | ||
22 : | jhr | 1093 | |
23 : | jhr | 1172 | # |
24 : | # directories for the local-install target | ||
25 : | # | ||
26 : | LIBDIR = @DIDEROT_ROOT@/lib | ||
27 : | |||
28 : | jhr | 1093 | .PHONY: build local-install install |
29 : | |||
30 : | build: | ||
31 : | jhr | 1172 | for dir in $(wildcard rt-*) ; do \ |
32 : | jhr | 1093 | (cd $$dir; $(MAKE) build) || exit $$?; \ |
33 : | done | ||
34 : | |||
35 : | local-install: | ||
36 : | $(INSTALL) -d $(LIBDIR) | ||
37 : | jhr | 1172 | for dir in $(wildcard rt-*); do \ |
38 : | jhr | 1093 | (cd $$dir && $(MAKE) local-install) || exit $$?; \ |
39 : | done | ||
40 : | |||
41 : | install: | ||
42 : | $(INSTALL) -d $(INSTALL_LIBDIR) | ||
43 : | for dir in $(SUBDIRS); do \ | ||
44 : | (cd $$dir && $(MAKE) install) || exit $$?; \ | ||
45 : | done | ||
46 : | |||
47 : | #################### Cleanup #################### | ||
48 : | |||
49 : | jhr | 1211 | CLEAN_SUBDIRS = $(wildcard rt-*) |
50 : | DISTCLEAN_FILES = $(wildcard rt-*) mk/build.gmk | ||
51 : | jhr | 1093 | DEVCLEAN_FILES = |
52 : | |||
53 : | include @DIDEROT_MKDIR@/clean-rules.gmk | ||
54 : | jhr | 1211 |
root@smlnj-gforge.cs.uchicago.edu | ViewVC Help |
Powered by ViewVC 1.0.0 |