SCM Repository
[diderot] / branches / cuda / Makefile.in |
View of /branches/cuda/Makefile.in
Parent Directory
|
Revision Log
Revision 5597 -
(download)
(annotate)
Mon Jun 21 17:51:35 2021 UTC (11 months ago) by jhr
File size: 2967 byte(s)
Mon Jun 21 17:51:35 2021 UTC (11 months ago) by jhr
File size: 2967 byte(s)
populate new CUDA branch with Adrian's code
# Makefile for diderot system # # This code is part of the Diderot Project (http://diderot-language.cs.uchicago.edu) # # COPYRIGHT (c) 2015 The University of Chicago # All rights reserved. # SHELL = @SHELL@ @SET_MAKE@ INSTALL = @INSTALL@ ifeq (@LOGGING_ENABLED@,true) BUILD_DIRS = src/logging/log-analyze \ src/logging/log-dump LOG_HEADER = src/lib/include/diderot/log-events.hxx LOG_GEN_DIR = src/logging/gen endif BUILD_DIRS += src/compiler \ src/lib/build INSTALL_DIR = @prefix@ # add OpenCL specific targets # # FIXME # #ifeq (@CL_ENABLED@,true) #BUILD_DIRS += src/clinfo #endif .PHONY: help build local-install 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, libraries, and headers in " @echo " @DIDEROT_ROOT@/{bin,lib,include}" @echo " install -- install Diderot tools, libraries, and headers in " @echo " @INSTALL_ROOT@/{bin,lib,include}" @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/lib/include/diderot/; cp -p *.h *.cuh ../../../../include/diderot) || exit $$? install: mkdir -p $(INSTALL_DIR) for dir in $(BUILD_DIRS); do \ (cd $$dir && $(MAKE) install) || exit $$?; \ done mkdir -p $(INSTALL_DIR)/include/diderot (cd src/lib/include/diderot/; cp -p *.h *.cuh $(INSTALL_DIR)/include/diderot) || exit $$? build: $(LOG_HEADER) for dir in $(BUILD_DIRS); do \ (cd $$dir && $(MAKE) build) || exit $$?; \ done doc: (cd doc; $(MAKE)) ifeq (@LOGGING_ENABLED@,true) $(LOG_HEADER): (cd $(LOG_GEN_DIR); ./log-gen.sh) || exit $$? endif #################### Cleanup #################### CLEAN_SUBDIRS = $(BUILD_DIRS) $(LOG_GEN_DIR) 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/lib/include/diderot/config.h \ src/lib/include/diderot/log-events.hxx \ src/lib/include/diderot/logging.hxx \ src/logging/lib/default-log-paths.hxx DEVCLEAN_FILES = configure \ config/config_h.in \ config/config_h.in~ include @DIDEROT_MKDIR@/clean-rules.gmk
root@smlnj-gforge.cs.uchicago.edu | ViewVC Help |
Powered by ViewVC 1.0.0 |