######################## -*- Mode: Makefile-Automake -*- ###################### ## ## Cforall Version 1.0.0 Copyright (C) 2015 University of Waterloo ## ## The contents of this file are covered under the licence agreement in the ## file "LICENCE" distributed with Cforall. ## ## Makefile.am -- ## ## Author : Peter A. Buhr ## Created On : Sun May 31 22:14:18 2015 ## Last Modified By : Peter A. Buhr ## Last Modified On : Sat Feb 2 16:54:42 2019 ## Update Count : 21 ############################################################################### AUTOMAKE_OPTIONS = foreign # do not require all the GNU file names ACLOCAL_AMFLAGS = -I automake MAINTAINERCLEANFILES = lib/* bin/* tests/.deps/* tests/.out/* # order important SUBDIRS = driver src . @LIBCFA_TARGET_DIRS@ @LIBCFA_TARGET_MAKEFILES@ : Makefile $(srcdir)/libcfa/configure @$(eval config_file = $(dir $@)config.data) @ls $(config_file) || (echo "Missing config.data, re-run configure script again" && false) @$(eval config_data = $(shell cat $(config_file))) @echo "Configuring libcfa with '$(config_data)''" @cd $(dir $@) && $(abs_top_srcdir)/libcfa/configure $(config_data) noinst_DATA = @LIBCFA_TARGET_MAKEFILES@ man1_MANS = doc/man/cfa.1 debug=yes check: $(MAKE) -C tests all-tests installed=no debug=${debug} installcheck: $(MAKE) -C tests all-tests installed=yes debug=${debug} configure-libcfa: @LIBCFA_TARGET_MAKEFILES@ @true status: @LIBCFA_TARGET_MAKEFILES@ @echo -ne "translator\n\t" @./config.status --config | sed "s/ /\n\t/g; s/\t'/\t/g; s/'\n/\n/g; s/^'//g; s/'$$//g" @find libcfa -name config.status -printf "\n%h\n\t" -exec {} --config \; | sed "s/ /\n\t/g; s/\t'/\t/g; s/'\n/\n/g; s/^'//g; s/'$$//g"