source: Makefile.am @ 5c473c9

ADTast-experimental
Last change on this file since 5c473c9 was 1932e8a, checked in by Thierry Delisle <tdelisle@…>, 2 years ago

Changed how cleaning is handled in makefiles. Hopefully this approach is more standard.

  • Property mode set to 100644
File size: 2.1 KB
RevLine 
[56c3935]1######################## -*- Mode: Makefile-Automake -*- ######################
2##
3## Cforall Version 1.0.0 Copyright (C) 2015 University of Waterloo
4##
5## The contents of this file are covered under the licence agreement in the
6## file "LICENCE" distributed with Cforall.
7##
[e614d73]8## Makefile.am --
[56c3935]9##
10## Author           : Peter A. Buhr
11## Created On       : Sun May 31 22:14:18 2015
12## Last Modified By : Peter A. Buhr
[1f86d5e]13## Last Modified On : Sat Feb  2 16:54:42 2019
14## Update Count     : 21
[56c3935]15###############################################################################
16
[c59712e]17AUTOMAKE_OPTIONS = foreign    # do not require all the GNU file names
[107b01a]18ACLOCAL_AMFLAGS  = -I automake
[d3b7937]19
[1f86d5e]20MAINTAINERCLEANFILES = lib/* bin/* tests/.deps/* tests/.out/* # order important
[2a59655]21DISTCLEANFILES = version
[c59712e]22
23SUBDIRS = driver src . @LIBCFA_TARGET_DIRS@
[5992ff4]24DIST_SUBDIRS = driver src . libcfa tests
[c59712e]25
[575a6e5]26@LIBCFA_TARGET_MAKEFILES@ : Makefile $(srcdir)/libcfa/configure
[ff1e0f38]27        @$(eval config_file = $(dir $@)config.data)
28        @ls $(config_file) || (echo "Missing config.data, re-run configure script again" && false)
29        @$(eval config_data = $(shell cat $(config_file)))
[2fbc904]30        @echo "Configuring libcfa ($(abs_top_srcdir)/libcfa/configure) with '$(config_data)' from $(shell pwd) / $(dir $@)"
[ff1e0f38]31        @cd $(dir $@) && $(abs_top_srcdir)/libcfa/configure $(config_data)
[c59712e]32
33noinst_DATA = @LIBCFA_TARGET_MAKEFILES@
[874960b]34
35man1_MANS = doc/man/cfa.1
[ff593a3]36
[5992ff4]37EXTRA_DIST = LICENSE doc/man/cfa.1 libcfa/configure libcfa/Makefile.dist.am libcfa/Makefile.dist.in tools/build/distcc_hash tools/build/push2dist.sh
[b7fe2e6]38
[ff593a3]39debug=yes
40check:
[a5121bf]41        $(MAKE) -C tests all-tests installed=no debug=${debug}
[ff593a3]42
43installcheck:
[7fb92a0]44        $(MAKE) -C tests all-tests installed=yes debug=${debug}
45
[e70e54e]46configure-libcfa: @LIBCFA_TARGET_MAKEFILES@
47        @true
48
[7fb92a0]49status: @LIBCFA_TARGET_MAKEFILES@
50        @echo -ne "translator\n\t"
51        @./config.status --config | sed "s/ /\n\t/g; s/\t'/\t/g; s/'\n/\n/g; s/^'//g; s/'$$//g"
[1f86d5e]52        @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"
[2a59655]53
[1932e8a]54@LIBCFA_TARGET_DIRS@::
55        $(MAKE) -C $@ $(MAKECMDGOALS)
[2a59655]56
[1932e8a]57mostlyclean clean distclean maintainer-clean: @LIBCFA_TARGET_DIRS@
Note: See TracBrowser for help on using the repository browser.