2004-01-08 00:39:46 +03:00
|
|
|
# -*- makefile -*-
|
|
|
|
#
|
|
|
|
# $HEADER$
|
|
|
|
#
|
|
|
|
|
|
|
|
include $(top_srcdir)/config/Makefile.options
|
2004-01-15 04:11:59 +03:00
|
|
|
#
|
2004-01-15 21:25:47 +03:00
|
|
|
# LAM_PROFILING_DEFINES flag s enabled when we want our MPI_* symbols
|
2004-01-15 04:11:59 +03:00
|
|
|
# to be replaced by PMPI_*. In other words, this flag decides
|
|
|
|
# whether "profile/defines.h" is included or not. "profile/defines.h"
|
|
|
|
# replaces all MPI_* symbols with PMPI_* symbols. In this directory
|
|
|
|
# we definately need it to be 1.
|
|
|
|
#
|
2004-01-25 02:17:43 +03:00
|
|
|
AM_CPPFLAGS = -DLAM_PROFILING_DEFINES=1
|
2004-01-15 08:23:55 +03:00
|
|
|
|
2004-01-15 04:11:59 +03:00
|
|
|
#
|
|
|
|
# This build needs to go through only if profiling is required.
|
|
|
|
# Further, this build HAS to go through if profiling is required.
|
|
|
|
#
|
2004-01-08 00:39:46 +03:00
|
|
|
|
2004-01-15 04:11:59 +03:00
|
|
|
if WANT_PMPI_BINDINGS_LAYER
|
|
|
|
pmpi_lib = libmpi_c_pmpi.la
|
2004-01-09 21:55:51 +03:00
|
|
|
else
|
2004-01-15 04:11:59 +03:00
|
|
|
pmpi_lib =
|
2004-01-09 21:55:51 +03:00
|
|
|
endif
|
|
|
|
|
2004-01-15 04:11:59 +03:00
|
|
|
noinst_LTLIBRARIES = $(pmpi_lib)
|
2004-01-08 00:39:46 +03:00
|
|
|
|
2004-01-09 20:44:07 +03:00
|
|
|
headers = defines.h
|
2004-01-09 11:30:19 +03:00
|
|
|
|
2004-01-15 04:11:59 +03:00
|
|
|
nodist_libmpi_c_pmpi_la_SOURCES = \
|
2004-01-25 02:17:43 +03:00
|
|
|
pabort.c \
|
|
|
|
paccumulate.c \
|
|
|
|
padd_error_class.c \
|
|
|
|
padd_error_code.c \
|
|
|
|
padd_error_string.c \
|
|
|
|
paddress.c \
|
|
|
|
pallgather.c \
|
|
|
|
pallgatherv.c \
|
|
|
|
palloc_mem.c \
|
|
|
|
pallreduce.c \
|
|
|
|
palltoall.c \
|
|
|
|
palltoallv.c \
|
|
|
|
palltoallw.c \
|
|
|
|
pattr_delete.c \
|
|
|
|
pattr_get.c \
|
|
|
|
pattr_put.c \
|
|
|
|
pbarrier.c \
|
|
|
|
pbcast.c \
|
|
|
|
pbsend.c \
|
|
|
|
pbsend_init.c \
|
|
|
|
pbuffer_attach.c \
|
|
|
|
pbuffer_detach.c \
|
|
|
|
pcancel.c \
|
|
|
|
pcart_coords.c \
|
|
|
|
pcart_create.c \
|
|
|
|
pcartdim_get.c \
|
|
|
|
pcart_get.c \
|
|
|
|
pcart_map.c \
|
|
|
|
pcart_rank.c \
|
|
|
|
pcart_shift.c \
|
|
|
|
pcart_sub.c \
|
|
|
|
pclose_port.c \
|
|
|
|
pcomm_accept.c \
|
|
|
|
pcomm_c2f.c \
|
|
|
|
pcomm_call_errhandler.c \
|
|
|
|
pcomm_compare.c \
|
|
|
|
pcomm_connect.c \
|
|
|
|
pcomm_create.c \
|
|
|
|
pcomm_create_errhandler.c \
|
|
|
|
pcomm_create_keyval.c \
|
|
|
|
pcomm_delete_attr.c \
|
|
|
|
pcomm_disconnect.c \
|
|
|
|
pcomm_dup.c \
|
|
|
|
pcomm_f2c.c \
|
|
|
|
pcomm_free.c \
|
|
|
|
pcomm_free_keyval.c \
|
|
|
|
pcomm_get_attr.c \
|
|
|
|
pcomm_get_errhandler.c \
|
|
|
|
pcomm_get_name.c \
|
|
|
|
pcomm_get_parent.c \
|
|
|
|
pcomm_group.c \
|
|
|
|
pcomm_join.c \
|
|
|
|
pcomm_rank.c \
|
|
|
|
pcomm_remote_group.c \
|
|
|
|
pcomm_remote_size.c \
|
|
|
|
pcomm_set_attribute.c \
|
|
|
|
pcomm_set_errhandler.c \
|
|
|
|
pcomm_set_name.c \
|
|
|
|
pcomm_size.c \
|
|
|
|
pcomm_spawn.c \
|
|
|
|
pcomm_spawn_multiple.c \
|
|
|
|
pcomm_split.c \
|
|
|
|
pcomm_test_inter.c \
|
|
|
|
pdims_create.c \
|
|
|
|
perrhandler_c2f.c \
|
|
|
|
perrhandler_create.c \
|
|
|
|
perrhandler_f2c.c \
|
|
|
|
perrhandler_free.c \
|
|
|
|
perrhandler_get.c \
|
|
|
|
perrhandler_set.c \
|
|
|
|
perror_class.c \
|
|
|
|
perror_string.c \
|
|
|
|
pexscan.c \
|
|
|
|
pfile_c2f.c \
|
|
|
|
pfile_call_errhandler.c \
|
|
|
|
pfile_close.c \
|
|
|
|
pfile_create_errhandler.c \
|
|
|
|
pfile_delete.c \
|
|
|
|
pfile_f2c.c \
|
|
|
|
pfile_get_amode.c \
|
|
|
|
pfile_get_atomicity.c \
|
|
|
|
pfile_get_byte_offset.c \
|
|
|
|
pfile_get_errhandler.c \
|
|
|
|
pfile_get_group.c \
|
|
|
|
pfile_get_info.c \
|
|
|
|
pfile_get_position.c \
|
|
|
|
pfile_get_position_shared.c \
|
|
|
|
pfile_get_size.c \
|
|
|
|
pfile_get_type_extent.c \
|
|
|
|
pfile_get_view.c \
|
|
|
|
pfile_iread_at.c \
|
|
|
|
pfile_iread.c \
|
|
|
|
pfile_iread_shared.c \
|
|
|
|
pfile_iwrite_at.c \
|
|
|
|
pfile_iwrite.c \
|
|
|
|
pfile_iwrite_shared.c \
|
|
|
|
pfile_open.c \
|
|
|
|
pfile_preallocate.c \
|
|
|
|
pfile_read_all_begin.c \
|
|
|
|
pfile_read_all.c \
|
|
|
|
pfile_read_all_end.c \
|
|
|
|
pfile_read_at_all_begin.c \
|
|
|
|
pfile_read_at_all.c \
|
|
|
|
pfile_read_at_all_end.c \
|
|
|
|
pfile_read_at.c \
|
|
|
|
pfile_read.c \
|
|
|
|
pfile_read_ordered_begin.c \
|
|
|
|
pfile_read_ordered.c \
|
|
|
|
pfile_read_ordered_end.c \
|
|
|
|
pfile_read_shared.c \
|
|
|
|
pfile_seek.c \
|
|
|
|
pfile_seek_shared.c \
|
|
|
|
pfile_set_atomicity.c \
|
|
|
|
pfile_set_errhandler.c \
|
|
|
|
pfile_set_info.c \
|
|
|
|
pfile_set_size.c \
|
|
|
|
pfile_set_view.c \
|
|
|
|
pfile_sync.c \
|
|
|
|
pfile_write_all_begin.c \
|
|
|
|
pfile_write_all.c \
|
|
|
|
pfile_write_all_end.c \
|
|
|
|
pfile_write_at_all_begin.c \
|
|
|
|
pfile_write_at_all.c \
|
|
|
|
pfile_write_at_all_end.c \
|
|
|
|
pfile_write_at.c \
|
|
|
|
pfile_write.c \
|
|
|
|
pfile_write_ordered_begin.c \
|
|
|
|
pfile_write_ordered.c \
|
|
|
|
pfile_write_ordered_end.c \
|
|
|
|
pfile_write_shared.c \
|
|
|
|
pfinalize.c \
|
|
|
|
pfinalized.c \
|
|
|
|
pfree_mem.c \
|
2004-01-25 04:51:28 +03:00
|
|
|
pgather.c \
|
|
|
|
pgatherv.c \
|
|
|
|
pget_address.c \
|
|
|
|
pget_count.c \
|
|
|
|
pget_elements.c \
|
|
|
|
pget.c \
|
|
|
|
pget_processor_name.c \
|
|
|
|
pget_version.c \
|
|
|
|
pgraph_create.c \
|
|
|
|
pgraph_get.c \
|
|
|
|
pgraph_map.c \
|
|
|
|
pgraph_neighbors_count.c \
|
|
|
|
pgraph_neighbors.c \
|
|
|
|
pgraphdims_get.c \
|
2004-01-25 04:59:17 +03:00
|
|
|
pgrequest_complete.c \
|
|
|
|
pgrequest_start.c \
|
2004-01-25 04:51:28 +03:00
|
|
|
pgroup_c2f.c \
|
|
|
|
pgroup_compare.c \
|
|
|
|
pgroup_difference.c \
|
|
|
|
pgroup_excl.c \
|
|
|
|
pgroup_f2c.c \
|
|
|
|
pgroup_free.c \
|
|
|
|
pgroup_incl.c \
|
|
|
|
pgroup_intersection.c \
|
|
|
|
pgroup_range_excl.c \
|
|
|
|
pgroup_range_incl.c \
|
|
|
|
pgroup_rank.c \
|
|
|
|
pgroup_size.c \
|
|
|
|
pgroup_translate_ranks.c \
|
|
|
|
pgroup_union.c \
|
2004-01-25 02:17:43 +03:00
|
|
|
pinit.c \
|
|
|
|
ptestall.c \
|
|
|
|
ptestany.c \
|
|
|
|
ptest.c \
|
|
|
|
ptest_cancelled.c \
|
|
|
|
ptestsome.c \
|
|
|
|
ptopo_test.c \
|
|
|
|
ptype_c2f.c \
|
|
|
|
ptype_commit.c \
|
|
|
|
ptype_contiguous.c \
|
|
|
|
ptype_create_darray.c \
|
|
|
|
ptype_create_f90_complex.c \
|
|
|
|
ptype_create_f90_integer.c \
|
|
|
|
ptype_create_f90_real.c \
|
|
|
|
ptype_create_hindexed.c \
|
|
|
|
ptype_create_hvector.c \
|
|
|
|
ptype_create_indexed_block.c \
|
|
|
|
ptype_create_keyval.c \
|
|
|
|
ptype_create_resized.c \
|
|
|
|
ptype_create_struct.c \
|
|
|
|
ptype_create_subarray.c \
|
|
|
|
ptype_delete_attr.c \
|
|
|
|
ptype_dup.c \
|
|
|
|
ptype_extent.c \
|
|
|
|
ptype_f2c.c \
|
|
|
|
ptype_free.c \
|
|
|
|
ptype_free_keyval.c \
|
|
|
|
ptype_get_attr.c \
|
|
|
|
ptype_get_contents.c \
|
|
|
|
ptype_get_envelope.c \
|
|
|
|
ptype_get_extent.c \
|
|
|
|
ptype_get_name.c \
|
|
|
|
ptype_get_true_extent.c \
|
|
|
|
ptype_hindexed.c \
|
|
|
|
ptype_hvector.c \
|
|
|
|
ptype_indexed.c \
|
|
|
|
ptype_lb.c \
|
|
|
|
ptype_match_size.c \
|
|
|
|
ptype_set_attr.c \
|
|
|
|
ptype_set_name.c \
|
|
|
|
ptype_size.c \
|
|
|
|
ptype_struct.c \
|
|
|
|
ptype_ub.c \
|
2004-01-25 04:59:17 +03:00
|
|
|
ptype_vector.c
|
2004-01-25 04:51:28 +03:00
|
|
|
|
2004-01-15 04:11:59 +03:00
|
|
|
#
|
2004-01-08 00:39:46 +03:00
|
|
|
# Sym link in the sources from the real MPI directory
|
2004-01-15 04:11:59 +03:00
|
|
|
#
|
|
|
|
$(nodist_libmpi_c_pmpi_la_SOURCES):
|
2004-01-08 00:39:46 +03:00
|
|
|
if test ! -r $@ ; then \
|
|
|
|
pname=`echo $@ | cut -b '2-'` ; \
|
2004-01-11 01:41:39 +03:00
|
|
|
ln -s $(top_srcdir)/src/mpi/interface/c/$$pname $@ ; \
|
2004-01-08 00:39:46 +03:00
|
|
|
fi
|
|
|
|
|
2004-01-09 20:44:07 +03:00
|
|
|
# Conditionally install the header files
|
|
|
|
|
|
|
|
if WANT_INSTALL_HEADERS
|
|
|
|
lamdir = $(includedir)/lam/mpi/c/profile
|
|
|
|
lam_HEADERS = $(headers)
|
|
|
|
else
|
|
|
|
lamdir = $(includedir)
|
|
|
|
endif
|
|
|
|
|
2004-01-08 00:39:46 +03:00
|
|
|
# These files were created by targets above
|
|
|
|
|
2004-01-15 04:11:59 +03:00
|
|
|
MAINTAINERCLEANFILES = $(nodist_libmpi_c_pmpi_la_SOURCES)
|
2004-01-08 00:39:46 +03:00
|
|
|
|
|
|
|
# Don't want these targets in here
|
|
|
|
|
|
|
|
tags-recursive:
|
|
|
|
tags:
|
|
|
|
TAGS:
|
|
|
|
GTAGS:
|
|
|
|
ID:
|