aboutsummaryrefslogtreecommitdiffstats
path: root/mpi
diff options
context:
space:
mode:
Diffstat (limited to 'mpi')
-rw-r--r--mpi/ChangeLog5
-rw-r--r--mpi/Makefile.am8
2 files changed, 9 insertions, 4 deletions
diff --git a/mpi/ChangeLog b/mpi/ChangeLog
index 393eda8c1..e199f316d 100644
--- a/mpi/ChangeLog
+++ b/mpi/ChangeLog
@@ -1,3 +1,8 @@
+2000-03-14 12:03:56 Werner Koch ([email protected])
+
+ * Makefile.am: Do not use .s and .S files but a temp names, so that
+ OSes with caseinsensitive filenames do work. From Frank Donahoe.
+
Tue Mar 7 18:45:31 CET 2000 Werner Koch <[email protected]>
* mpih-mul.c (mpihelp_mul_karatsuba_case): It seems that the
diff --git a/mpi/Makefile.am b/mpi/Makefile.am
index d12e89310..cdc39ee76 100644
--- a/mpi/Makefile.am
+++ b/mpi/Makefile.am
@@ -9,7 +9,7 @@ EXTRA_DIST = config.links
DISTCLEANFILES = mpih-add1.S mpih-mul1.S mpih-mul2.S mpih-mul3.S \
mpih-lshift.S mpih-rshift.S mpih-sub1.S asm-syntax.h sysdep.h
# Note: we only use .S files so we should delete all left over .s
-CLEANFILES = *.s
+CLEANFILES = _*.s
noinst_LIBRARIES = libmpi.a
@@ -51,10 +51,10 @@ libmpi_a_LIBADD = $(common_asm_objects) @MPI_EXTRA_ASM_OBJS@
# cancel the default rules used by libtool which do not really
# work and add one to cpp .S files
.S.o:
+ $(CPP) $(INCLUDES) $(DEFS) $< | grep -v '^#' > _$*.s
+ $(COMPILE) -c _$*.s
+ mv -f _$*.o $*.o
.S.lo:
-.S.s:
- $(CPP) $(INCLUDES) $(DEFS) $< | grep -v '^#' >$*.s
-