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

SCM Repository

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

Annotation of /branches/vis12/src/lib/build/Makefile.in

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3291 - (view) (download)

1 : jhr 1115 # Makefile
2 :     #
3 : jhr 3291 # 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 1861 # clear out unused file suffixes for implicit rules
18 : jhr 1232 #
19 : jhr 1861 .SUFFIXES:
20 :     .SUFFIXES: .c .h
21 :    
22 :     #
23 : jhr 1232 # directories for the install target
24 :     #
25 :     PREFIX = @prefix@
26 :     INSTALL_LIBDIR = $(PREFIX)/lib
27 : jhr 1115
28 : jhr 1232 #
29 :     # directories for the local-install target
30 :     #
31 :     LIBDIR = @DIDEROT_ROOT@/lib
32 :    
33 : jhr 1115 .PHONY: build local-install install
34 :    
35 :     build:
36 : jhr 1232 for dir in $(wildcard rt-*) ; do \
37 : jhr 1115 (cd $$dir; $(MAKE) build) || exit $$?; \
38 :     done
39 :    
40 :     local-install:
41 :     $(INSTALL) -d $(LIBDIR)
42 : jhr 1232 for dir in $(wildcard rt-*); do \
43 : jhr 1115 (cd $$dir && $(MAKE) local-install) || exit $$?; \
44 :     done
45 :    
46 :     install:
47 :     $(INSTALL) -d $(INSTALL_LIBDIR)
48 : jhr 2456 for dir in $(wildcard rt-*); do \
49 : jhr 1115 (cd $$dir && $(MAKE) install) || exit $$?; \
50 :     done
51 :    
52 :     #################### Cleanup ####################
53 :    
54 : jhr 1232 CLEAN_SUBDIRS = $(wildcard rt-*)
55 :     DISTCLEAN_FILES = $(wildcard rt-*) mk/build.gmk
56 : jhr 1115 DEVCLEAN_FILES =
57 :    
58 :     include @DIDEROT_MKDIR@/clean-rules.gmk
59 : jhr 1232

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