fix trac ticket 146 , ie clean up after a fat build

This commit is contained in:
jasonmoxham 2009-07-29 15:10:46 +00:00
parent e70e8fdad3
commit 07b64f72a2
4 changed files with 6 additions and 2 deletions

View File

@ -128,7 +128,7 @@ lib_LTLIBRARIES += $(GMPXX_LTLIBRARIES_OPTION) $(MPBSD_LTLIBRARIES_OPTION)
BUILT_SOURCES = mpir.h
DISTCLEANFILES = $(BUILT_SOURCES) config.m4 @gmp_srclinks@
DISTCLEANFILES = $(BUILT_SOURCES) config.m4 fat.h @gmp_srclinks@
# Tell mpir.h it's building gmp, not an application, used by windows DLL stuff.
INCLUDES=-D__GMP_WITHIN_GMP

View File

@ -542,7 +542,7 @@ lib_LTLIBRARIES = libmpir.la $(am__append_2) \
$(GMPXX_LTLIBRARIES_OPTION) $(MPBSD_LTLIBRARIES_OPTION)
BUILT_SOURCES = mpir.h mp.h mpz/fac_ui.h fib_table.h mpn/fib_table.c \
mp_bases.h mpn/mp_bases.c mpn/perfsqr.h
DISTCLEANFILES = $(BUILT_SOURCES) config.m4 @gmp_srclinks@ \
DISTCLEANFILES = $(BUILT_SOURCES) config.m4 fat.h @gmp_srclinks@ \
gen-fac_ui$(EXEEXT_FOR_BUILD) gen-fib$(EXEEXT_FOR_BUILD) \
gen-bases$(EXEEXT_FOR_BUILD) gen-psqr$(EXEEXT_FOR_BUILD)

2
configure vendored
View File

@ -29789,6 +29789,7 @@ esac
# that macro doesn't accept a set of separate commands generated
# by shell code.
#
gmp_srclinks="$gmp_srclinks mpn/${tmp_prefix}_$tmp_fn.$tmp_ext"
case $tmp_ext in
as)
echo "; mpn_$tmp_fbase - from $tmp_dir directory for fat binary.
@ -29826,6 +29827,7 @@ include($mpn_relative_top_srcdir/mpn/$tmp_dir/$tmp_base.asm)
" >mpn/${tmp_prefix}_$tmp_fn.asm
;;
c)
echo "/* mpn_$tmp_fbase - from $tmp_dir directory for fat binary.
Generated by configure - DO NOT EDIT. */

View File

@ -2747,6 +2747,7 @@ DECL_$tmp_fbase (__MPN(${tmp_fbase}_init));" >>fat.h
# that macro doesn't accept a set of separate commands generated
# by shell code.
#
gmp_srclinks="$gmp_srclinks mpn/${tmp_prefix}_$tmp_fn.$tmp_ext"
case $tmp_ext in
as)
echo ["; mpn_$tmp_fbase - from $tmp_dir directory for fat binary.
@ -2784,6 +2785,7 @@ include][($mpn_relative_top_srcdir/mpn/$tmp_dir/$tmp_base.asm)
"] >mpn/${tmp_prefix}_$tmp_fn.asm
;;
c)
echo ["/* mpn_$tmp_fbase - from $tmp_dir directory for fat binary.
Generated by configure - DO NOT EDIT. */