source: Makefile.am @ e70e54e

arm-ehjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-expr
Last change on this file since e70e54e was e70e54e, checked in by Thierry Delisle <tdelisle@…>, 2 years ago

Added configure-libcfa target to help jenkins build in steps

  • Property mode set to 100644
File size: 1.7 KB
Line 
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##
8## Makefile.am --
9##
10## Author           : Peter A. Buhr
11## Created On       : Sun May 31 22:14:18 2015
12## Last Modified By : Peter A. Buhr
13## Last Modified On : Sat Feb  2 16:54:42 2019
14## Update Count     : 21
15###############################################################################
16
17AUTOMAKE_OPTIONS = foreign    # do not require all the GNU file names
18ACLOCAL_AMFLAGS  = -I automake
19
20MAINTAINERCLEANFILES = lib/* bin/* tests/.deps/* tests/.out/* # order important
21
22SUBDIRS = driver src . @LIBCFA_TARGET_DIRS@
23
24@LIBCFA_TARGET_MAKEFILES@ : Makefile $(srcdir)/libcfa/configure
25        @$(eval config_file = $(dir $@)config.data)
26        @ls $(config_file) || (echo "Missing config.data, re-run configure script again" && false)
27        @$(eval config_data = $(shell cat $(config_file)))
28        @echo "Configuring libcfa with '$(config_data)''"
29        @cd $(dir $@) && $(abs_top_srcdir)/libcfa/configure $(config_data)
30
31noinst_DATA = @LIBCFA_TARGET_MAKEFILES@
32
33man1_MANS = doc/man/cfa.1
34
35debug=yes
36check:
37        $(MAKE) -C tests all-tests installed=no debug=${debug}
38
39installcheck:
40        $(MAKE) -C tests all-tests installed=yes debug=${debug}
41
42configure-libcfa: @LIBCFA_TARGET_MAKEFILES@
43        @true
44
45status: @LIBCFA_TARGET_MAKEFILES@
46        @echo -ne "translator\n\t"
47        @./config.status --config | sed "s/ /\n\t/g; s/\t'/\t/g; s/'\n/\n/g; s/^'//g; s/'$$//g"
48        @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"
Note: See TracBrowser for help on using the repository browser.