summaryrefslogtreecommitdiff
path: root/tune
diff options
context:
space:
mode:
authorKevin Ryde <user42@zip.com.au>2001-08-26 02:07:55 +0200
committerKevin Ryde <user42@zip.com.au>2001-08-26 02:07:55 +0200
commit38eef071e844c3a080ae9414ff15919a782b3bed (patch)
treeac3f92205ed01e3b6215a291dbaa66e8f56ba8a5 /tune
parentd7b72066fc2d01398c25631918f9a15be8b2ae0d (diff)
downloadgmp-38eef071e844c3a080ae9414ff15919a782b3bed.tar.gz
* tune/Makefile.am: Eliminate empty TUNE_MPZ_SRCS.
The rule $(TUNE_MPZ_SRCS): ... upset SCO make.
Diffstat (limited to 'tune')
-rw-r--r--tune/Makefile.am11
1 files changed, 2 insertions, 9 deletions
diff --git a/tune/Makefile.am b/tune/Makefile.am
index 4d295fed9..428922825 100644
--- a/tune/Makefile.am
+++ b/tune/Makefile.am
@@ -75,7 +75,7 @@ speed_ext_SOURCES = speed.c
speed_ext_LDFLAGS = -static
tuneup_SOURCES = tuneup.c
-nodist_tuneup_SOURCES = sqr_basecase.c $(TUNE_MPN_SRCS) $(TUNE_MPZ_SRCS)
+nodist_tuneup_SOURCES = sqr_basecase.c $(TUNE_MPN_SRCS)
tuneup_DEPENDENCIES = $(TUNE_SQR_OBJ) libspeed.la
tuneup_LDADD = $(tuneup_DEPENDENCIES)
tuneup_LDFLAGS = -static
@@ -89,7 +89,7 @@ allprogs: $(EXTRA_PROGRAMS)
CLEANFILES = $(EXTRA_PROGRAMS) $(EXTRA_LTLIBRARIES) \
- $(TUNE_MPN_SRCS) $(TUNE_MPZ_SRCS) sqr_asm.asm \
+ $(TUNE_MPN_SRCS) sqr_asm.asm \
stg.gnuplot stg.data \
mtg.gnuplot mtg.data \
fibg.gnuplot fibg.data \
@@ -117,7 +117,6 @@ DISTCLEANFILES = sqr_basecase.c
TUNE_MPN_SRCS = $(TUNE_MPN_SRCS_BASIC) divrem_1.c mod_1.c
TUNE_MPN_SRCS_BASIC = dc_divrem_n.c divrem_2.c gcd.c mul_n.c mul_fft.c mul.c \
sb_divrem_mn.c tdiv_qr.c
-TUNE_MPZ_SRCS =
$(TUNE_MPN_SRCS_BASIC):
for i in $(TUNE_MPN_SRCS_BASIC); do \
@@ -135,12 +134,6 @@ mod_1.c:
echo "#define __gmpn_mod_1 mpn_mod_1_tune" >>mod_1.c
echo "#include \"mpn/generic/mod_1.c\"" >>mod_1.c
-$(TUNE_MPZ_SRCS):
- for i in $(TUNE_MPZ_SRCS); do \
- echo "#define TUNE_PROGRAM_BUILD 1" >$$i; \
- echo "#include \"mpz/$$i\"" >>$$i; \
- done
-
sqr_asm.asm: $(top_builddir)/mpn/sqr_basecase.asm
echo 'define(KARATSUBA_SQR_THRESHOLD_OVERRIDE,KARATSUBA_SQR_THRESHOLD_MAX)' >sqr_asm.asm
echo 'include(../mpn/sqr_basecase.asm)' >>sqr_asm.asm