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

SCM Repository

[diderot] View of /branches/vis15/Makefile.in
ViewVC logotype

View of /branches/vis15/Makefile.in

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2435 - (download) (annotate)
Sat Sep 21 14:36:39 2013 UTC (5 years, 9 months ago) by jhr
Original Path: branches/vis12/Makefile.in
File size: 2058 byte(s)
  Modify compiler to dynamically determine the intall location of the Diderot
  libraries and include files.  This feature will allow the diderot compiler
  to be installed in places other than where it is built.
# Makefile for diderot system
#
# COPYRIGHT (c) 2010 The Diderot Project (http://diderot-language.cs.uchicago.edu)
# All rights reserved.
#

SHELL =		@SHELL@
@SET_MAKE@

INSTALL =	@INSTALL@

BUILD_DIRS =	src/compiler \
		src/lib/build

# add OpenCL specific targets
#
ifeq (@CL_ENABLED@,true)
BUILD_DIRS +=	src/clinfo
endif

.PHONY:		help build local-install \
		clean local-distclean local-devclean

help:
	@echo "This Makefile supports the following targets:"
	@echo "  help          -- print this message."
	@echo "  build         -- build Diderot tools and libraries"
	@echo "  local-install -- install Diderot tools and libraries in "
	@echo "                   @DIDEROT_ROOT@/bin"
	@echo "  clean         -- remove intermediate files generated during building"
	@echo "  distclean     -- remove files generated during configuration"
	@echo "                   and building; the resulting tree has the same"
	@echo "                   files as the distribution."
	@echo "The following additional targets are primarily for developers:"
	@echo "  devclean      -- remove everything that is not part of the SVN"
	@echo "                   repository."

local-install:
	for dir in $(BUILD_DIRS); do \
	  (cd $$dir && $(MAKE) local-install) || exit $$?; \
	done
	mkdir -p include/Diderot
	(cd src/include/Diderot/; cp -p *.h ../../../include/Diderot) || exit $$?

build:
	for dir in $(BUILD_DIRS); do \
	  (cd $$dir && $(MAKE) build) || exit $$?; \
	done

doc:
	(cd doc; $(MAKE))

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

CLEAN_SUBDIRS =		$(BUILD_DIRS) test/MIP test/probe doc

CLEAN_FILES =		rtest/tests/*/out.nrrd

DISTCLEAN_FILES +=	Makefile config.status config.log \
			autom4te*.cache \
			bin \
			lib \
			include \
                        rtest/scripts/run.sh \
                        rtest/scripts/run-one.sh \
			rtest/log.* \
			rtest/report.* \
			src/include/Diderot/config.h \
                        src/compiler/gen/file2str/file2str.sh

DEVCLEAN_FILES =	configure \
			config/config_h.in

include @DIDEROT_MKDIR@/clean-rules.gmk

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