diff options
author | Werner Koch <wk@gnupg.org> | 2007-04-30 14:09:33 +0000 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2007-04-30 14:09:33 +0000 |
commit | 9222b6f51074fa33a962db3ef25414f01e23677e (patch) | |
tree | 2df53738a9bcb47bbb9fedcca7c768537a9b0580 /mpi/config.links | |
parent | 48caaefe40af7ba14d6f63f2b31daa1da7a953bd (diff) | |
download | libgcrypt-9222b6f51074fa33a962db3ef25414f01e23677e.tar.gz |
./
* 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.
Diffstat (limited to 'mpi/config.links')
-rw-r--r-- | mpi/config.links | 8 |
1 files changed, 7 insertions, 1 deletions
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" |