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

SCM Repository

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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 5597 - (download) (annotate)
Mon Jun 21 17:51:35 2021 UTC (12 months ago) by jhr
File size: 1542 byte(s)
  populate new CUDA branch with Adrian's code
# Makefile
#
# This code is part of the Diderot Project (http://diderot-language.cs.uchicago.edu)
#
# COPYRIGHT (c) 2016 The University of Chicago
# 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:	.cxx .hxx

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

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

#
# optional logging support
#
ifeq (@LOGGING_ENABLED@,true)
LOGGING_HXX =		@DIDEROT_SRCDIR@/lib/include/diderot/logging.hxx
endif

.PHONY:			build local-install install

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

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

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

#
# optional logging support; note that this target is redundant with the
# logging target in the top-level Makefile
#
$(LOGGING_HXX):
	(cd @DIDEROT_SRCDIR@/logging/gen; log-gen.sh) || exit $$?

#################### 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