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

SCM Repository

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

View of /trunk/Makefile.in

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2470 - (download) (annotate)
Sat Oct 12 14:10:06 2013 UTC (5 years, 10 months ago) by jhr
File size: 2016 byte(s)
  Merged in changes from stage.  These include using the new "unu dnorm" command,
  support for the DIDEROT_TEEM_DIR variable, better installalation support, and
  adding the manpage docs to the tree.
# 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

.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 \
			doc/man/Makefile \
			src/clinfo/Makefile

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