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

SCM Repository

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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2456 - (download) (annotate)
Tue Oct 8 18:21:44 2013 UTC (6 years ago) by jhr
File size: 1112 byte(s)
  Added "make install" target and updated INSTALL documentation.
# Makefile
#
# COPYRIGHT (c) 2013 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@

# clear out unused file suffixes for implicit rules
#
.SUFFIXES:
.SUFFIXES:	.c .h

#
# 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 $(wildcard rt-*); 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