Changes in Makefile.am [e2887a9:1932e8a]
- File:
-
- 1 edited
-
Makefile.am (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
Makefile.am
re2887a9 r1932e8a 11 11 ## Created On : Sun May 31 22:14:18 2015 12 12 ## Last Modified By : Peter A. Buhr 13 ## Last Modified On : Fri May 12 18:30:01 202314 ## Update Count : 4213 ## Last Modified On : Sat Feb 2 16:54:42 2019 14 ## Update Count : 21 15 15 ############################################################################### 16 16 … … 24 24 DIST_SUBDIRS = driver src . libcfa tests 25 25 26 @LIBCFA_TARGET_MAKEFILES@ : Makefile $ {srcdir}/libcfa/configure27 @$ {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}}}30 @echo "Configuring libcfa ($ {abs_top_srcdir}/libcfa/configure) with '${config_data}' from ${shell pwd} / ${dir ${@}}"31 @cd $ {dir ${@}} && ${abs_top_srcdir}/libcfa/configure ${config_data}26 @LIBCFA_TARGET_MAKEFILES@ : Makefile $(srcdir)/libcfa/configure 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))) 30 @echo "Configuring libcfa ($(abs_top_srcdir)/libcfa/configure) with '$(config_data)' from $(shell pwd) / $(dir $@)" 31 @cd $(dir $@) && $(abs_top_srcdir)/libcfa/configure $(config_data) 32 32 33 33 noinst_DATA = @LIBCFA_TARGET_MAKEFILES@ … … 37 37 EXTRA_DIST = LICENSE doc/man/cfa.1 libcfa/configure libcfa/Makefile.dist.am libcfa/Makefile.dist.in tools/build/distcc_hash tools/build/push2dist.sh 38 38 39 debug ?=yes40 installed ?= no 41 ARCH = ${if ${arch},"arch=${arch}"}39 debug=yes 40 check: 41 $(MAKE) -C tests all-tests installed=no debug=${debug} 42 42 43 check:44 $ {MAKE} -C tests tests installed=${installed} debug=${debug} ${ARCH}43 installcheck: 44 $(MAKE) -C tests all-tests installed=yes debug=${debug} 45 45 46 tests : check # synonym 47 48 installcheck : 49 ${MAKE} -C tests tests installed=yes debug=${debug} ${ARCH} 50 51 installtest : installcheck # synonym 52 53 help : 54 @echo "user targets:" 55 @echo " Compile compiler/runtime and run test suite." 56 @echo " $$ make check / tests [debug=yes/no] [installed=yes/no] [arch=x86/x64/arm]" 57 @echo "" 58 @echo " Compile compiler/runtime, run test suite, and install." 59 @echo " $$ make installcheck / installtests [debug=yes/no] installed=yes [arch=x86/x64/arm]" 60 61 configure-libcfa : @LIBCFA_TARGET_MAKEFILES@ 46 configure-libcfa: @LIBCFA_TARGET_MAKEFILES@ 62 47 @true 63 48 64 status : @LIBCFA_TARGET_MAKEFILES@49 status: @LIBCFA_TARGET_MAKEFILES@ 65 50 @echo -ne "translator\n\t" 66 51 @./config.status --config | sed "s/ /\n\t/g; s/\t'/\t/g; s/'\n/\n/g; s/^'//g; s/'$$//g" 67 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" 68 53 69 @LIBCFA_TARGET_DIRS@ ::70 $ {MAKE} -C ${@} ${MAKECMDGOALS}54 @LIBCFA_TARGET_DIRS@:: 55 $(MAKE) -C $@ $(MAKECMDGOALS) 71 56 72 mostlyclean clean distclean maintainer-clean : @LIBCFA_TARGET_DIRS@57 mostlyclean clean distclean maintainer-clean: @LIBCFA_TARGET_DIRS@
Note:
See TracChangeset
for help on using the changeset viewer.