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

SCM Repository

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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1232 - (download) (annotate)
Mon May 16 23:37:52 2011 UTC (8 years, 6 months ago) by jhr
File size: 1023 byte(s)
  Porting many changes from the pure-cfg branch, including value numbering
  and support for parallel execution on SMP systems.
# Makefile
#
# COPYRIGHT (c) 2011 The Diderot Project (http://diderot-language.cs.uchicago.edu)
# All rights reserved.
#
# The Makefile for building all versions of the Diderot runtime system
#
# @configure_input@
#

SHELL =			@SHELL@
INSTALL =		@INSTALL@
@SET_MAKE@

#
# directories for the install target
#
PREFIX =		@prefix@
INSTALL_LIBDIR =	$(PREFIX)/lib

#
# directories for the local-install target
#
LIBDIR =	@DIDEROT_ROOT@/lib

.PHONY:			build local-install install

build:
	for dir in $(wildcard rt-*) ; do \
	  (cd $$dir; $(MAKE) build) || exit $$?; \
	done

local-install:
	$(INSTALL) -d $(LIBDIR)
	for dir in $(wildcard rt-*); do \
	  (cd $$dir && $(MAKE) local-install) || exit $$?; \
	done

install:
	$(INSTALL) -d $(INSTALL_LIBDIR)
	for dir in $(SUBDIRS); do \
	  (cd $$dir && $(MAKE) install) || exit $$?; \
	done

#################### Cleanup ####################

CLEAN_SUBDIRS =		$(wildcard rt-*)
DISTCLEAN_FILES =	$(wildcard rt-*) mk/build.gmk
DEVCLEAN_FILES =

include @DIDEROT_MKDIR@/clean-rules.gmk


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