1
1
openmpi/ompi/mpi/c/profile/Makefile.am
Jeff Squyres 173c046617 build: add Automake-like silent/verbose macros for "ln -s ..." operations
Also, since I put some of the macros for these silent/verbose rules up
in the top-level Makefile.man-page-rules file, I renamed it to
Makefile.ompi-rules.

I've had this sitting around for a while; now seems like as good a
time as any to commit it.

This commit was SVN r31271.
2014-03-28 18:24:32 +00:00

461 строка
12 KiB
Makefile

# -*- makefile -*-
#
# Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana
# University Research and Technology
# Corporation. All rights reserved.
# Copyright (c) 2004-2005 The University of Tennessee and The University
# of Tennessee Research Foundation. All rights
# reserved.
# Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
# University of Stuttgart. All rights reserved.
# Copyright (c) 2004-2005 The Regents of the University of California.
# All rights reserved.
# Copyright (c) 2009-2014 Cisco Systems, Inc. All rights reserved.
# Copyright (c) 2011 Sandia National Laboratories. All rights reserved.
# Copyright (c) 2012 Oak Ridge National Laboratory. All rights reserved.
# Copyright (c) 2013 Los Alamos National Security, LLC. All rights
# reserved.
# $COPYRIGHT$
#
# Additional copyrights may follow
#
# $HEADER$
#
include $(top_srcdir)/Makefile.ompi-rules
#
# OMPI_PROFILING_DEFINES flag s enabled when we want our MPI_* symbols
# 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.
#
AM_CPPFLAGS = -DOMPI_PROFILING_DEFINES=1
#
# This build needs to go through only if profiling is required.
# Further, this build HAS to go through if profiling is required.
#
noinst_LTLIBRARIES =
if BUILD_PMPI_BINDINGS_LAYER
noinst_LTLIBRARIES += libmpi_c_pmpi.la
endif
headers = defines.h
nodist_libmpi_c_pmpi_la_SOURCES = \
pabort.c \
padd_error_class.c \
padd_error_code.c \
padd_error_string.c \
paddress.c \
pallgather.c \
piallgather.c \
pallgatherv.c \
piallgatherv.c \
palloc_mem.c \
pallreduce.c \
piallreduce.c \
palltoall.c \
pialltoall.c \
palltoallv.c \
pialltoallv.c \
palltoallw.c \
pialltoallw.c \
pattr_delete.c \
pattr_get.c \
pattr_put.c \
pbarrier.c \
pibarrier.c \
pbcast.c \
pibcast.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_group.c \
pcomm_create_keyval.c \
pcomm_delete_attr.c \
pcomm_disconnect.c \
pcomm_dup.c \
pcomm_dup_with_info.c \
pcomm_idup.c \
pcomm_f2c.c \
pcomm_free.c \
pcomm_free_keyval.c \
pcomm_get_attr.c \
pcomm_get_errhandler.c \
pcomm_get_info.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_attr.c \
pcomm_set_info.c \
pdist_graph_create.c \
pdist_graph_create_adjacent.c \
pdist_graph_neighbors.c \
pdist_graph_neighbors_count.c \
pcomm_set_errhandler.c \
pcomm_set_name.c \
pcomm_size.c \
pcomm_spawn.c \
pcomm_spawn_multiple.c \
pcomm_split.c \
pcomm_split_type.c \
pcomm_test_inter.c \
pcompare_and_swap.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 \
pfetch_and_op.c \
piexscan.c \
pfinalize.c \
pfinalized.c \
pfree_mem.c \
pgather.c \
pigather.c \
pgatherv.c \
pigatherv.c \
pget_address.c \
pget_count.c \
pget_elements.c \
pget_elements_x.c \
pget_accumulate.c \
pget_library_version.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 \
pgrequest_complete.c \
pgrequest_start.c \
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 \
pibsend.c \
pimprobe.c \
pimrecv.c \
pinfo_c2f.c \
pinfo_create.c \
pinfo_delete.c \
pinfo_dup.c \
pinfo_f2c.c \
pinfo_free.c \
pinfo_get.c \
pinfo_get_nkeys.c \
pinfo_get_nthkey.c \
pinfo_get_valuelen.c \
pinfo_set.c \
pinit.c \
pinit_thread.c \
pinitialized.c \
pintercomm_create.c \
pintercomm_merge.c \
piprobe.c \
pirecv.c \
pirsend.c \
pis_thread_main.c \
pisend.c \
pissend.c \
pkeyval_create.c \
pkeyval_free.c \
plookup_name.c \
pmessage_f2c.c \
pmessage_c2f.c \
pmprobe.c \
pmrecv.c \
pneighbor_allgather.c \
pineighbor_allgather.c \
pneighbor_allgatherv.c \
pineighbor_allgatherv.c \
pneighbor_alltoall.c \
pineighbor_alltoall.c \
pneighbor_alltoallv.c \
pineighbor_alltoallv.c \
pneighbor_alltoallw.c \
pineighbor_alltoallw.c \
pop_c2f.c \
pop_create.c \
pop_commutative.c \
pop_f2c.c \
pop_free.c \
popen_port.c \
ppack_external.c \
ppack_external_size.c \
ppack.c \
ppack_size.c \
ppcontrol.c \
pprobe.c \
ppublish_name.c \
pquery_thread.c \
praccumulate.c \
precv_init.c \
precv.c \
preduce.c \
pireduce.c \
preduce_local.c \
preduce_scatter.c \
pireduce_scatter.c \
preduce_scatter_block.c \
pireduce_scatter_block.c \
prequest_c2f.c \
prequest_f2c.c \
prequest_free.c \
prequest_get_status.c \
prget.c \
prget_accumulate.c \
prput.c \
prsend_init.c \
prsend.c \
pscan.c \
piscan.c \
pscatter.c \
piscatter.c \
pscatterv.c \
piscatterv.c \
psend.c \
psend_init.c \
psendrecv.c \
psendrecv_replace.c \
pssend_init.c \
pssend.c \
pstart.c \
pstartall.c \
pstatus_c2f.c \
pstatus_f2c.c \
pstatus_set_cancelled.c \
pstatus_set_elements.c \
pstatus_set_elements_x.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_hindexed_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_extent_x.c \
ptype_get_name.c \
ptype_get_true_extent.c \
ptype_get_true_extent_x.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_size_x.c \
ptype_struct.c \
ptype_ub.c \
ptype_vector.c \
punpack_external.c \
punpack.c \
punpublish_name.c \
pwait.c \
pwaitall.c \
pwaitany.c \
pwaitsome.c \
pwtime.c \
pwtick.c \
paccumulate.c \
pget.c \
pput.c \
pwin_allocate.c \
pwin_allocate_shared.c \
pwin_attach.c \
pwin_c2f.c \
pwin_call_errhandler.c \
pwin_complete.c \
pwin_create_errhandler.c \
pwin_create_keyval.c \
pwin_create.c \
pwin_create_dynamic.c \
pwin_delete_attr.c \
pwin_detach.c \
pwin_f2c.c \
pwin_fence.c \
pwin_flush.c \
pwin_flush_all.c \
pwin_flush_local.c \
pwin_flush_local_all.c \
pwin_free_keyval.c \
pwin_free.c \
pwin_get_attr.c \
pwin_get_errhandler.c \
pwin_get_group.c \
pwin_get_info.c \
pwin_get_name.c \
pwin_lock.c \
pwin_lock_all.c \
pwin_post.c \
pwin_set_attr.c \
pwin_set_errhandler.c \
pwin_set_info.c \
pwin_set_name.c \
pwin_shared_query.c \
pwin_start.c \
pwin_sync.c \
pwin_test.c \
pwin_unlock.c \
pwin_unlock_all.c \
pwin_wait.c
if OMPI_PROVIDE_MPI_FILE_INTERFACE
nodist_libmpi_c_pmpi_la_SOURCES += \
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 \
pregister_datarep.c
endif
#
# Sym link in the sources from the real MPI directory
#
$(nodist_libmpi_c_pmpi_la_SOURCES):
$(OMPI_V_LN_S) if test ! -r $@ ; then \
pname=`echo $@ | cut -b '2-'` ; \
$(LN_S) $(top_srcdir)/ompi/mpi/c/$$pname $@ ; \
fi
# Conditionally install the header files
if WANT_INSTALL_HEADERS
ompidir = $(ompiincludedir)/$(subdir)
ompi_HEADERS = $(headers)
endif
# These files were created by targets above
MAINTAINERCLEANFILES = $(nodist_libmpi_c_pmpi_la_SOURCES)
# Don't want these targets in here
tags-recursive:
tags:
TAGS:
GTAGS:
ID: