1997-11-18 14:06:00 +00:00
|
|
|
## Process this file with automake to produce Makefile.in
|
|
|
|
|
1999-07-14 17:47:23 +00:00
|
|
|
|
1998-02-09 17:43:42 +00:00
|
|
|
INCLUDES = -I$(top_srcdir)/include
|
1999-02-13 11:19:14 +00:00
|
|
|
CFLAGS = @CFLAGS@ @MPI_OPT_FLAGS@
|
2000-05-30 15:31:45 +00:00
|
|
|
ASFLAGS = @MPI_SFLAGS@
|
1997-11-18 14:06:00 +00:00
|
|
|
|
1997-12-16 19:15:09 +00:00
|
|
|
EXTRA_DIST = config.links
|
1998-03-03 08:43:28 +00:00
|
|
|
DISTCLEANFILES = mpih-add1.S mpih-mul1.S mpih-mul2.S mpih-mul3.S \
|
1998-05-26 13:38:00 +00:00
|
|
|
mpih-lshift.S mpih-rshift.S mpih-sub1.S asm-syntax.h sysdep.h
|
1999-07-14 17:47:23 +00:00
|
|
|
# Note: we only use .S files so we should delete all left over .s
|
2000-05-30 15:31:45 +00:00
|
|
|
CLEANFILES = _*.s
|
1997-12-16 19:15:09 +00:00
|
|
|
|
2000-05-30 15:31:45 +00:00
|
|
|
noinst_LIBRARIES = libmpi.a
|
1997-11-18 14:06:00 +00:00
|
|
|
|
2000-05-30 15:31:45 +00:00
|
|
|
# libmpi_a_LDFLAGS =
|
|
|
|
libmpi_a_SOURCES = longlong.h \
|
1997-11-26 21:06:44 +00:00
|
|
|
mpi-add.c \
|
|
|
|
mpi-bit.c \
|
|
|
|
mpi-cmp.c \
|
|
|
|
mpi-div.c \
|
|
|
|
mpi-gcd.c \
|
|
|
|
mpi-internal.h \
|
|
|
|
mpi-inline.h \
|
1999-04-26 15:53:01 +00:00
|
|
|
mpi-inline.c \
|
1997-11-26 21:06:44 +00:00
|
|
|
mpi-inv.c \
|
|
|
|
mpi-mul.c \
|
|
|
|
mpi-pow.c \
|
1998-02-11 03:25:44 +00:00
|
|
|
mpi-mpow.c \
|
1997-11-26 21:06:44 +00:00
|
|
|
mpi-scan.c \
|
|
|
|
mpicoder.c \
|
|
|
|
mpih-cmp.c \
|
|
|
|
mpih-div.c \
|
|
|
|
mpih-mul.c \
|
1998-06-13 17:00:02 +00:00
|
|
|
mpiutil.c \
|
|
|
|
g10m.c
|
1997-11-18 14:06:00 +00:00
|
|
|
|
1998-02-03 12:09:20 +00:00
|
|
|
# Note this objects are actually links, the sourcefiles are
|
|
|
|
# distributed by special code in dist-hook
|
2000-05-30 15:31:45 +00:00
|
|
|
common_asm_objects = mpih-mul1.o \
|
|
|
|
mpih-mul2.o \
|
|
|
|
mpih-mul3.o \
|
|
|
|
mpih-add1.o \
|
|
|
|
mpih-sub1.o \
|
|
|
|
mpih-lshift.o \
|
|
|
|
mpih-rshift.o
|
1998-02-03 12:09:20 +00:00
|
|
|
|
2000-05-30 15:31:45 +00:00
|
|
|
libmpi_a_DEPENDENCIES = $(common_asm_objects) @MPI_EXTRA_ASM_OBJS@
|
|
|
|
libmpi_a_LIBADD = $(common_asm_objects) @MPI_EXTRA_ASM_OBJS@
|
1997-11-26 22:02:28 +00:00
|
|
|
|
1999-07-14 17:47:23 +00:00
|
|
|
# cancel the default rules used by libtool which do not really
|
|
|
|
# work and add one to cpp .S files
|
1999-04-07 18:58:34 +00:00
|
|
|
.S.o:
|
2000-05-30 15:31:45 +00:00
|
|
|
$(CPP) $(INCLUDES) $(DEFS) $< | grep -v '^#' > _$*.s
|
|
|
|
$(COMPILE) -c _$*.s
|
|
|
|
mv -f _$*.o $*.o
|
1999-04-07 18:58:34 +00:00
|
|
|
|
1999-07-07 11:28:26 +00:00
|
|
|
.S.lo:
|
1999-07-14 17:47:23 +00:00
|
|
|
|
1999-07-07 11:28:26 +00:00
|
|
|
|