1 ## Process this file with automake to produce Makefile.in
3 INCLUDES = -I$(top_srcdir)/include
4 CFLAGS = @CFLAGS@ @MPI_OPT_FLAGS@
7 EXTRA_DIST = config.links
8 DISTCLEANFILES = mpih-add1.S mpih-mul1.S mpih-mul2.S mpih-mul3.S \
9 mpih-lshift.S mpih-rshift.S mpih-sub1.S asm-syntax.h sysdep.h
12 noinst_LTLIBRARIES = libmpi.la
15 libmpi_la_SOURCES = longlong.h \
36 # Note this objects are actually links, the sourcefiles are
37 # distributed by special code in dist-hook
38 common_asm_objects = mpih-mul1.lo \
46 libmpi_la_DEPENDENCIES = $(common_asm_objects) @MPI_EXTRA_ASM_OBJS@
47 libmpi_la_LIBADD = $(common_asm_objects) @MPI_EXTRA_ASM_OBJS@
52 $(CPP) $(INCLUDES) $(DEFS) $< | grep -v '^#' >tmp-$*.s
53 $(CC) $(CFLAGS) $(SFLAGS) -c tmp-$*.s
58 $(CPP) $(INCLUDES) $(DEFS) $< | grep -v '^#' >tmp-$*.s
59 if test -f tmp-$*.lo; then rm tmp-$*.lo; fi
60 if test -f tmp-$*.o ; then rm tmp-$*.o ; fi
61 $(LIBTOOL) --mode=compile $(CC) $(CFLAGS) $(SFLAGS) -c tmp-$*.s
62 if test -f tmp-$*.lo; then mv tmp-$*.lo $*.lo; fi
63 if test -f tmp-$*.o ; then mv tmp-$*.o $*.o ; fi