1997-11-18 15:06:00 +01:00
|
|
|
## Process this file with automake to produce Makefile.in
|
|
|
|
|
1998-02-09 18:43:42 +01:00
|
|
|
INCLUDES = -I$(top_srcdir)/include
|
1999-02-13 12:19:14 +01:00
|
|
|
CFLAGS = @CFLAGS@ @MPI_OPT_FLAGS@
|
1998-11-10 19:35:11 +01:00
|
|
|
SFLAGS = @MPI_SFLAGS@
|
1997-11-18 15:06:00 +01:00
|
|
|
|
1997-12-16 20:15:09 +01:00
|
|
|
EXTRA_DIST = config.links
|
1998-03-03 09:43:28 +01:00
|
|
|
DISTCLEANFILES = mpih-add1.S mpih-mul1.S mpih-mul2.S mpih-mul3.S \
|
1998-05-26 15:38:00 +02:00
|
|
|
mpih-lshift.S mpih-rshift.S mpih-sub1.S asm-syntax.h sysdep.h
|
1999-04-07 20:58:34 +02:00
|
|
|
CLEANFILES = tmp-*.s
|
1997-12-16 20:15:09 +01:00
|
|
|
|
|
|
|
|
1998-02-02 15:36:06 +01:00
|
|
|
noinst_LIBRARIES = libmpi.a
|
1997-12-23 18:30:18 +01:00
|
|
|
# noinst_HEADERS =
|
1997-11-18 15:06:00 +01:00
|
|
|
|
1998-02-03 13:09:20 +01:00
|
|
|
|
1998-02-02 15:36:06 +01:00
|
|
|
libmpi_a_SOURCES = longlong.h \
|
1997-11-26 22:06:44 +01:00
|
|
|
mpi-add.c \
|
|
|
|
mpi-bit.c \
|
|
|
|
mpi-cmp.c \
|
|
|
|
mpi-div.c \
|
|
|
|
mpi-gcd.c \
|
|
|
|
mpi-internal.h \
|
|
|
|
mpi-inline.h \
|
|
|
|
mpi-inv.c \
|
|
|
|
mpi-mul.c \
|
|
|
|
mpi-pow.c \
|
1998-02-11 04:25:44 +01:00
|
|
|
mpi-mpow.c \
|
1997-11-26 22:06:44 +01:00
|
|
|
mpi-scan.c \
|
|
|
|
mpicoder.c \
|
|
|
|
mpih-cmp.c \
|
1997-11-26 23:02:28 +01:00
|
|
|
mpih-add.c \
|
|
|
|
mpih-sub.c \
|
1997-11-26 22:06:44 +01:00
|
|
|
mpih-div.c \
|
|
|
|
mpih-mul.c \
|
1998-06-13 19:00:02 +02:00
|
|
|
mpiutil.c \
|
|
|
|
g10m.c
|
1997-11-18 15:06:00 +01:00
|
|
|
|
1998-02-03 13:09:20 +01:00
|
|
|
# Note this objects are actually links, the sourcefiles are
|
|
|
|
# distributed by special code in dist-hook
|
|
|
|
common_asm_objects = mpih-mul1.o \
|
|
|
|
mpih-mul2.o \
|
|
|
|
mpih-mul3.o \
|
|
|
|
mpih-add1.o \
|
|
|
|
mpih-sub1.o \
|
1998-05-26 15:38:00 +02:00
|
|
|
mpih-lshift.o \
|
|
|
|
mpih-rshift.o
|
1998-02-03 13:09:20 +01:00
|
|
|
|
1998-02-16 21:05:02 +01:00
|
|
|
libmpi_a_DEPENDENCIES = $(common_asm_objects) @MPI_EXTRA_ASM_OBJS@
|
1998-02-03 13:09:20 +01:00
|
|
|
libmpi_a_LIBADD = $(common_asm_objects) @MPI_EXTRA_ASM_OBJS@
|
1997-11-26 23:02:28 +01:00
|
|
|
|
1999-04-07 20:58:34 +02:00
|
|
|
SUFFIXES = .S
|
|
|
|
|
|
|
|
.S.o:
|
|
|
|
$(CPP) $(INCLUDES) $(DEFS) $< | grep -v '^#' >tmp-$*.s
|
|
|
|
$(CC) $(CFLAGS) $(SFLAGS) -c tmp-$*.s
|
|
|
|
mv tmp-$*.o $@
|
|
|
|
rm -f tmp-$*.s
|
|
|
|
|