ADT
aaron-thesis
arm-eh
ast-experimental
cleanup-dtors
deferred_resn
enum
forall-pointer-decay
jacob/cs343-translation
jenkins-sandbox
new-ast
new-ast-unique-expr
no_list
persistent-indexer
pthread-emulation
qualifiedEnum
Last change
on this file since ad72c8b was 7fb92a0, checked in by Thierry Delisle <tdelisle@…>, 7 years ago |
Added status target to makefile to neatly print what was configured
|
-
Property mode
set to
100644
|
File size:
1.7 KB
|
Rev | Line | |
---|
[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
|
---|
[375a068] | 13 | ## Last Modified On : Wed Dec 14 14:20:48 2016
|
---|
| 14 | ## Update Count : 15
|
---|
[56c3935] | 15 | ###############################################################################
|
---|
| 16 |
|
---|
[c59712e] | 17 | AUTOMAKE_OPTIONS = foreign # do not require all the GNU file names
|
---|
| 18 | BACKEND_CC = @BACKEND_CC@ # C compiler used to compile Cforall programs, versus C++ compiler used to build cfa command
|
---|
[d3b7937] | 19 |
|
---|
[bf71cfd] | 20 | MAINTAINERCLEANFILES = lib/* bin/* tests/.deps/* tests/.out/*
|
---|
[c59712e] | 21 | # order important
|
---|
| 22 |
|
---|
| 23 | SUBDIRS = driver src . @LIBCFA_TARGET_DIRS@
|
---|
| 24 |
|
---|
[575a6e5] | 25 | @LIBCFA_TARGET_MAKEFILES@ : Makefile $(srcdir)/libcfa/configure
|
---|
[ff1e0f38] | 26 | @$(eval config_file = $(dir $@)config.data)
|
---|
| 27 | @ls $(config_file) || (echo "Missing config.data, re-run configure script again" && false)
|
---|
| 28 | @$(eval config_data = $(shell cat $(config_file)))
|
---|
| 29 | @echo "Configuring libcfa with '$(config_data)''"
|
---|
| 30 | @cd $(dir $@) && $(abs_top_srcdir)/libcfa/configure $(config_data)
|
---|
[c59712e] | 31 |
|
---|
| 32 | noinst_DATA = @LIBCFA_TARGET_MAKEFILES@
|
---|
[874960b] | 33 |
|
---|
| 34 | man1_MANS = doc/man/cfa.1
|
---|
[ff593a3] | 35 |
|
---|
| 36 | debug=yes
|
---|
| 37 | check:
|
---|
[a5121bf] | 38 | $(MAKE) -C tests all-tests installed=no debug=${debug}
|
---|
[ff593a3] | 39 |
|
---|
| 40 | installcheck:
|
---|
[7fb92a0] | 41 | $(MAKE) -C tests all-tests installed=yes debug=${debug}
|
---|
| 42 |
|
---|
| 43 | status: @LIBCFA_TARGET_MAKEFILES@
|
---|
| 44 | @echo -ne "translator\n\t"
|
---|
| 45 | @./config.status --config | sed "s/ /\n\t/g; s/\t'/\t/g; s/'\n/\n/g; s/^'//g; s/'$$//g"
|
---|
| 46 | @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.