fix trac ticket 146 , ie clean up after a fat build
This commit is contained in:
parent
e70e8fdad3
commit
07b64f72a2
@ -128,7 +128,7 @@ lib_LTLIBRARIES += $(GMPXX_LTLIBRARIES_OPTION) $(MPBSD_LTLIBRARIES_OPTION)
|
|||||||
|
|
||||||
BUILT_SOURCES = mpir.h
|
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.
|
# Tell mpir.h it's building gmp, not an application, used by windows DLL stuff.
|
||||||
INCLUDES=-D__GMP_WITHIN_GMP
|
INCLUDES=-D__GMP_WITHIN_GMP
|
||||||
|
@ -542,7 +542,7 @@ lib_LTLIBRARIES = libmpir.la $(am__append_2) \
|
|||||||
$(GMPXX_LTLIBRARIES_OPTION) $(MPBSD_LTLIBRARIES_OPTION)
|
$(GMPXX_LTLIBRARIES_OPTION) $(MPBSD_LTLIBRARIES_OPTION)
|
||||||
BUILT_SOURCES = mpir.h mp.h mpz/fac_ui.h fib_table.h mpn/fib_table.c \
|
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
|
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-fac_ui$(EXEEXT_FOR_BUILD) gen-fib$(EXEEXT_FOR_BUILD) \
|
||||||
gen-bases$(EXEEXT_FOR_BUILD) gen-psqr$(EXEEXT_FOR_BUILD)
|
gen-bases$(EXEEXT_FOR_BUILD) gen-psqr$(EXEEXT_FOR_BUILD)
|
||||||
|
|
||||||
|
2
configure
vendored
2
configure
vendored
@ -29789,6 +29789,7 @@ esac
|
|||||||
# that macro doesn't accept a set of separate commands generated
|
# that macro doesn't accept a set of separate commands generated
|
||||||
# by shell code.
|
# by shell code.
|
||||||
#
|
#
|
||||||
|
gmp_srclinks="$gmp_srclinks mpn/${tmp_prefix}_$tmp_fn.$tmp_ext"
|
||||||
case $tmp_ext in
|
case $tmp_ext in
|
||||||
as)
|
as)
|
||||||
echo "; mpn_$tmp_fbase - from $tmp_dir directory for fat binary.
|
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
|
" >mpn/${tmp_prefix}_$tmp_fn.asm
|
||||||
;;
|
;;
|
||||||
c)
|
c)
|
||||||
|
|
||||||
echo "/* mpn_$tmp_fbase - from $tmp_dir directory for fat binary.
|
echo "/* mpn_$tmp_fbase - from $tmp_dir directory for fat binary.
|
||||||
Generated by configure - DO NOT EDIT. */
|
Generated by configure - DO NOT EDIT. */
|
||||||
|
|
||||||
|
@ -2747,6 +2747,7 @@ DECL_$tmp_fbase (__MPN(${tmp_fbase}_init));" >>fat.h
|
|||||||
# that macro doesn't accept a set of separate commands generated
|
# that macro doesn't accept a set of separate commands generated
|
||||||
# by shell code.
|
# by shell code.
|
||||||
#
|
#
|
||||||
|
gmp_srclinks="$gmp_srclinks mpn/${tmp_prefix}_$tmp_fn.$tmp_ext"
|
||||||
case $tmp_ext in
|
case $tmp_ext in
|
||||||
as)
|
as)
|
||||||
echo ["; mpn_$tmp_fbase - from $tmp_dir directory for fat binary.
|
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
|
"] >mpn/${tmp_prefix}_$tmp_fn.asm
|
||||||
;;
|
;;
|
||||||
c)
|
c)
|
||||||
|
|
||||||
echo ["/* mpn_$tmp_fbase - from $tmp_dir directory for fat binary.
|
echo ["/* mpn_$tmp_fbase - from $tmp_dir directory for fat binary.
|
||||||
Generated by configure - DO NOT EDIT. */
|
Generated by configure - DO NOT EDIT. */
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user