Home My Page Projects Code Snippets Project Openings diderot
Summary Activity Tracker Tasks SCM

SCM Repository

[diderot] Annotation of /trunk/src/lib/build/Makefile.in
ViewVC logotype

Annotation of /trunk/src/lib/build/Makefile.in

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3349 - (view) (download)

1 : jhr 1115 # 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 1115 # 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 1232 INSTALL = @INSTALL@
15 : jhr 1115 @SET_MAKE@
16 :    
17 : jhr 1232 #
18 :     # directories for the install target
19 :     #
20 :     PREFIX = @prefix@
21 :     INSTALL_LIBDIR = $(PREFIX)/lib
22 : jhr 1115
23 : jhr 1232 #
24 :     # directories for the local-install target
25 :     #
26 :     LIBDIR = @DIDEROT_ROOT@/lib
27 :    
28 : jhr 1115 .PHONY: build local-install install
29 :    
30 :     build:
31 : jhr 1232 for dir in $(wildcard rt-*) ; do \
32 : jhr 1115 (cd $$dir; $(MAKE) build) || exit $$?; \
33 :     done
34 :    
35 :     local-install:
36 :     $(INSTALL) -d $(LIBDIR)
37 : jhr 1232 for dir in $(wildcard rt-*); do \
38 : jhr 1115 (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 1232 CLEAN_SUBDIRS = $(wildcard rt-*)
50 :     DISTCLEAN_FILES = $(wildcard rt-*) mk/build.gmk
51 : jhr 1115 DEVCLEAN_FILES =
52 :    
53 :     include @DIDEROT_MKDIR@/clean-rules.gmk
54 : jhr 1232

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