From 9222b6f51074fa33a962db3ef25414f01e23677e Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Mon, 30 Apr 2007 14:09:33 +0000 Subject: ./ * README.apichanges: Move to doc/. * Makefile.am (EXTRA_DIST): Removed that file. doc/ * HACKING: New. Two items by Marcus. * README.apichanges: Move from .. to here. * Makefile.am (EXTRA_DIST): Add new files. mpi/ * config.links: Create a file mod-source-info.h. * Makefile.am (DISTCLEANFILES): Add that file. * mpiutil.c (_gcry_mpi_get_hw_config): New. src/ * global.c (gcry_control): New. * gcrypt.h.in (GCRYCTL_DUMP_CONFIG): New. tests/ * version.c: New. * Makefile.am (TESTS): Add version. --- mpi/config.links | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'mpi/config.links') diff --git a/mpi/config.links b/mpi/config.links index a522cf79..65ed8609 100644 --- a/mpi/config.links +++ b/mpi/config.links @@ -318,11 +318,14 @@ if test "$mpi_extra_modules" != ""; then done fi -# try to get file to link from the assembler subdirectory and +# Try to get file to link from the assembler subdirectory and # if this fails get it from the generic subdirectory. mpi_ln_list= mpi_mod_list= path="$mpi_extra_path $path generic" +echo '/* Created by config.links - do not edit */' >./mpi/mod-source-info.h +echo "/* Target: ${target} */" >>./mpi/mod-source-info.h +echo "static char mod_source_info[] =" >>./mpi/mod-source-info.h for fn in $mpi_required_modules ; do fnu=`echo $fn | sed 's/-/_/g'` eval mpi_mod_c_${fnu}=no @@ -330,11 +333,13 @@ for fn in $mpi_required_modules ; do for dir in $path ; do rm -f $srcdir/mpi/$fn.[Sc] if test -f $srcdir/mpi/$dir/$fn.S ; then + echo " \":$dir/$fn.S\"" >>./mpi/mod-source-info.h mpi_ln_list="$mpi_ln_list mpi/$fn.S:mpi/$dir/$fn.S" eval mpi_mod_asm_${fnu}=yes mpi_mod_list="$mpi_mod_list $fn" break; elif test -f $srcdir/mpi/$dir/$fn.c ; then + echo " \":$dir/$fn.c\"" >>./mpi/mod-source-info.h mpi_ln_list="$mpi_ln_list mpi/$fn.c:mpi/$dir/$fn.c" eval mpi_mod_c_${fnu}=yes mpi_mod_list="$mpi_mod_list $fn" @@ -342,6 +347,7 @@ for fn in $mpi_required_modules ; do fi done done +echo " ;" >>./mpi/mod-source-info.h # Same thing for the file which defines the limb size path="$path generic" -- cgit v1.2.1