aboutsummaryrefslogtreecommitdiff
path: root/stdlib
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib')
-rw-r--r--stdlib/Makefile8
-rw-r--r--stdlib/gen-mpn-copy10
2 files changed, 12 insertions, 6 deletions
diff --git a/stdlib/Makefile b/stdlib/Makefile
index a28d2a8..6228a2a 100644
--- a/stdlib/Makefile
+++ b/stdlib/Makefile
@@ -76,14 +76,15 @@ mpn-sysdep := $(addsuffix .c,$(mpn-routines)) \
mpn-try := $(addprefix $(gmp-srcdir)/mpn/*/,$(mpn-sysdep))
mpn-found := $(wildcard $(mpn-try))
-mpn-found := $(filter-out $(patsubst %.S,%.s,$(filter %.s,$(mpn-found))),\
- $(mpn-found))
include mpn-copy.mk
%.mk: gen-%; sh $< > $@
mpn-copy-1 := $(patsubst $(gmp-srcdir)/mpn/%,$(sysdep_dir)/%,$(mpn-found))
mpn-copy-sysdep := $(mpn-copy-sysdep) $(mpn-copy-1)
+mpn-copy-sysdep := $(filter $(addsuffix %,\
+ $(wildcard $(sort $(dir $(mpn-copy-sysdep))))), \
+ $(mpn-copy-sysdep))
$(mpn-copy-1): $(sysdep_dir)/%: $(ignore gmp2glibc.sed) $(gmp-srcdir)/mpn/%
$(gmp2glibc)
@@ -97,11 +98,12 @@ chmod a-w $@-tmp
mv -f $@-tmp $@
endef
-mpn-copy = $(filter-out $(mpn-sysdep),$(mpn-headers) mp_clz_tab.c)
+mpn-copy = $(filter-out $(mpn-sysdep),$(mpn-headers))# mp_clz_tab.c)
$(mpn-copy): %: $(ignore gmp2glibc.sed) $(gmp-srcdir)/%; $(gmp2glibc)
.PHONY: copy-mpn clean-mpn
copy-mpn: $(mpn-stuff)
+ test ! -d CVS || cvs commit -m'Updated from $(gmp-srcdir)' $+
clean-mpn:
rm -f $(mpn-stuff)
diff --git a/stdlib/gen-mpn-copy b/stdlib/gen-mpn-copy
index b403f27..8fffcb2 100644
--- a/stdlib/gen-mpn-copy
+++ b/stdlib/gen-mpn-copy
@@ -8,10 +8,14 @@ mc68000 m68k/m68000
mc68020 m68k/m68020
mc88100 m88k/m88100
mc88110 m88k/m88110
-r3000 mips
-r4000 mips/mips64
-hppa1_0 hppa/hppa1.0
+mips2 mips
+mips3 mips/mips3
+hppa1_0 hppa
hppa1_1 hppa/hppa1.1
+ev4 alpha
+ev5 alpha/alphaev5
+power rs6000
+am29000 a29k
'
set $translations