1# -*- makefile.am	 -*-
2#
3# Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana
4#                         University Research and Technology
5#                         Corporation.  All rights reserved.
6# Copyright (c) 2004-2013 The University of Tennessee and The University
7#                         of Tennessee Research Foundation.  All rights
8#                         reserved.
9# Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
10#                         University of Stuttgart.  All rights reserved.
11# Copyright (c) 2004-2005 The Regents of the University of California.
12#                         All rights reserved.
13# Copyright (c) 2009-2014 Cisco Systems, Inc.  All rights reserved.
14# Copyright (c) 2011      Sandia National Laboratories. All rights reserved.
15# Copyright (c) 2012      Oak Ridge National Laboratory. All rights reserved.
16# Copyright (c) 2012-2013 Inria.  All rights reserved.
17# Copyright (c) 2013      Los Alamos National Security, LLC. All rights
18#                         reserved.
19# Copyright (c) 2015-2018 Research Organization for Information Science
20#                         and Technology (RIST). All rights reserved.
21# $COPYRIGHT$
22#
23# Additional copyrights may follow
24#
25# $HEADER$
26#
27
28include $(top_srcdir)/Makefile.ompi-rules
29
30# If OMPI_BUILD_MPI_PROFILING is enabled when we want our generated MPI_* symbols
31# to be replaced by PMPI_*.
32# In this directory, we definately need it to be 1.
33
34AM_CPPFLAGS = -DOMPI_BUILD_MPI_PROFILING=1
35
36#
37# This build needs to go through only if profiling is required.
38# Further, this build HAS to go through if profiling is required.
39#
40
41noinst_LTLIBRARIES = libmpi_c_pmpi.la
42
43nodist_libmpi_c_pmpi_la_SOURCES = \
44        pabort.c \
45        padd_error_class.c \
46        padd_error_code.c \
47        padd_error_string.c \
48        pallgather.c \
49        piallgather.c \
50        pallgatherv.c \
51        piallgatherv.c \
52        palloc_mem.c \
53        pallreduce.c \
54        piallreduce.c \
55        palltoall.c \
56        pialltoall.c \
57        palltoallv.c \
58        pialltoallv.c \
59        palltoallw.c \
60        pialltoallw.c \
61        pattr_delete.c \
62        pattr_get.c \
63        pattr_put.c \
64        pbarrier.c \
65        pibarrier.c \
66        pbcast.c \
67        pibcast.c \
68        pbsend.c \
69        pbsend_init.c \
70        pbuffer_attach.c \
71        pbuffer_detach.c \
72        pcancel.c \
73        pcart_coords.c \
74        pcart_create.c \
75        pcartdim_get.c \
76        pcart_get.c \
77        pcart_map.c \
78        pcart_rank.c \
79        pcart_shift.c \
80        pcart_sub.c \
81        pclose_port.c \
82        pcomm_accept.c \
83        pcomm_c2f.c \
84        pcomm_call_errhandler.c \
85        pcomm_compare.c \
86        pcomm_connect.c \
87        pcomm_create.c \
88        pcomm_create_errhandler.c \
89        pcomm_create_group.c \
90        pcomm_create_keyval.c \
91        pcomm_delete_attr.c \
92        pcomm_disconnect.c \
93        pcomm_dup.c \
94        pcomm_dup_with_info.c \
95        pcomm_idup.c \
96        pcomm_f2c.c \
97        pcomm_free.c \
98        pcomm_free_keyval.c \
99        pcomm_get_attr.c \
100        pcomm_get_errhandler.c \
101        pcomm_get_info.c \
102        pcomm_get_name.c \
103        pcomm_get_parent.c \
104        pcomm_group.c \
105        pcomm_join.c \
106        pcomm_rank.c \
107        pcomm_remote_group.c \
108        pcomm_remote_size.c \
109        pcomm_set_attr.c \
110        pcomm_set_info.c \
111        pdist_graph_create.c \
112        pdist_graph_create_adjacent.c \
113        pdist_graph_neighbors.c \
114        pdist_graph_neighbors_count.c \
115        pcomm_set_errhandler.c \
116        pcomm_set_name.c \
117        pcomm_size.c \
118        pcomm_spawn.c \
119        pcomm_spawn_multiple.c \
120        pcomm_split.c \
121        pcomm_split_type.c \
122        pcomm_test_inter.c \
123	pcompare_and_swap.c \
124        pdims_create.c \
125        perrhandler_c2f.c \
126        perrhandler_f2c.c \
127        perrhandler_free.c \
128        perror_class.c \
129        perror_string.c \
130        pexscan.c \
131	pfetch_and_op.c \
132        piexscan.c \
133        pfile_c2f.c \
134        pfile_call_errhandler.c \
135        pfile_close.c \
136        pfile_create_errhandler.c \
137        pfile_delete.c \
138        pfile_f2c.c \
139        pfile_get_amode.c \
140        pfile_get_atomicity.c \
141        pfile_get_byte_offset.c \
142        pfile_get_errhandler.c \
143        pfile_get_group.c \
144        pfile_get_info.c \
145        pfile_get_position.c \
146        pfile_get_position_shared.c \
147        pfile_get_size.c \
148        pfile_get_type_extent.c \
149        pfile_get_view.c \
150        pfile_iread_at.c \
151        pfile_iread.c \
152        pfile_iread_at_all.c \
153        pfile_iread_all.c \
154        pfile_iread_shared.c \
155        pfile_iwrite_at.c \
156        pfile_iwrite.c \
157        pfile_iwrite_at_all.c \
158        pfile_iwrite_all.c \
159        pfile_iwrite_shared.c \
160        pfile_open.c \
161        pfile_preallocate.c \
162        pfile_read_all_begin.c \
163        pfile_read_all.c \
164        pfile_read_all_end.c \
165        pfile_read_at_all_begin.c \
166        pfile_read_at_all.c \
167        pfile_read_at_all_end.c \
168        pfile_read_at.c \
169        pfile_read.c \
170        pfile_read_ordered_begin.c \
171        pfile_read_ordered.c \
172        pfile_read_ordered_end.c \
173        pfile_read_shared.c \
174        pfile_seek.c \
175        pfile_seek_shared.c \
176        pfile_set_atomicity.c \
177        pfile_set_errhandler.c \
178        pfile_set_info.c \
179        pfile_set_size.c \
180        pfile_set_view.c \
181        pfile_sync.c \
182        pfile_write_all_begin.c \
183        pfile_write_all.c \
184        pfile_write_all_end.c \
185        pfile_write_at_all_begin.c \
186        pfile_write_at_all.c \
187        pfile_write_at_all_end.c \
188        pfile_write_at.c \
189        pfile_write.c \
190        pfile_write_ordered_begin.c \
191        pfile_write_ordered.c \
192        pfile_write_ordered_end.c \
193        pfile_write_shared.c \
194        pfinalize.c \
195        pfinalized.c \
196        pfree_mem.c \
197        pgather.c \
198        pigather.c \
199        pgatherv.c \
200        pigatherv.c \
201        pget_address.c \
202        pget_count.c \
203        pget_elements.c \
204        pget_elements_x.c \
205	pget_accumulate.c \
206        pget_library_version.c \
207        pget_processor_name.c \
208        pget_version.c \
209        pgraph_create.c \
210        pgraph_get.c \
211        pgraph_map.c \
212        pgraph_neighbors_count.c \
213        pgraph_neighbors.c \
214        pgraphdims_get.c \
215        pgrequest_complete.c \
216        pgrequest_start.c \
217        pgroup_c2f.c \
218        pgroup_compare.c \
219        pgroup_difference.c \
220        pgroup_excl.c \
221        pgroup_f2c.c \
222        pgroup_free.c \
223        pgroup_incl.c \
224        pgroup_intersection.c \
225        pgroup_range_excl.c \
226        pgroup_range_incl.c \
227        pgroup_rank.c \
228        pgroup_size.c \
229        pgroup_translate_ranks.c \
230        pgroup_union.c \
231        pibsend.c \
232	pimprobe.c \
233	pimrecv.c \
234        pinfo_c2f.c \
235        pinfo_create.c \
236        pinfo_delete.c \
237        pinfo_dup.c \
238        pinfo_f2c.c \
239        pinfo_free.c \
240        pinfo_get.c \
241        pinfo_get_nkeys.c \
242        pinfo_get_nthkey.c \
243        pinfo_get_valuelen.c \
244        pinfo_set.c \
245        pinit.c \
246        pinit_thread.c \
247        pinitialized.c \
248        pintercomm_create.c \
249        pintercomm_merge.c \
250        piprobe.c \
251        pirecv.c \
252        pirsend.c \
253        pis_thread_main.c \
254        pisend.c \
255        pissend.c \
256        plookup_name.c \
257        pmessage_f2c.c \
258        pmessage_c2f.c \
259        pmprobe.c \
260        pmrecv.c \
261        pneighbor_allgather.c \
262        pineighbor_allgather.c \
263        pneighbor_allgatherv.c \
264        pineighbor_allgatherv.c \
265        pneighbor_alltoall.c \
266        pineighbor_alltoall.c \
267        pneighbor_alltoallv.c \
268        pineighbor_alltoallv.c \
269        pneighbor_alltoallw.c \
270        pineighbor_alltoallw.c \
271        pkeyval_create.c \
272        pkeyval_free.c \
273        pop_c2f.c \
274        pop_create.c \
275        pop_commutative.c \
276        pop_f2c.c \
277        pop_free.c \
278        popen_port.c \
279        ppack_external.c \
280        ppack_external_size.c \
281        ppack.c \
282        ppack_size.c \
283        ppcontrol.c \
284        pprobe.c \
285        ppublish_name.c \
286        pquery_thread.c \
287	praccumulate.c \
288        precv_init.c \
289        precv.c \
290        preduce.c \
291        pregister_datarep.c \
292        pireduce.c \
293        preduce_local.c \
294        preduce_scatter.c \
295        pireduce_scatter.c \
296        preduce_scatter_block.c \
297        pireduce_scatter_block.c \
298        prequest_c2f.c \
299        prequest_f2c.c \
300        prequest_free.c \
301        prequest_get_status.c \
302	prget.c \
303	prget_accumulate.c \
304	prput.c \
305        prsend_init.c \
306        prsend.c \
307        pscan.c \
308        piscan.c \
309        pscatter.c \
310        piscatter.c \
311        pscatterv.c \
312        piscatterv.c \
313        psend.c \
314        psend_init.c \
315        psendrecv.c \
316        psendrecv_replace.c \
317        pssend_init.c \
318        pssend.c \
319        pstart.c \
320        pstartall.c \
321        pstatus_c2f.c \
322        pstatus_f2c.c \
323        pstatus_set_cancelled.c \
324        pstatus_set_elements.c \
325        pstatus_set_elements_x.c \
326        ptestall.c \
327        ptestany.c \
328        ptest.c \
329        ptest_cancelled.c \
330        ptestsome.c \
331        ptopo_test.c \
332        ptype_c2f.c \
333        ptype_commit.c \
334        ptype_contiguous.c \
335        ptype_create_darray.c \
336        ptype_create_f90_complex.c \
337        ptype_create_f90_integer.c \
338        ptype_create_f90_real.c \
339        ptype_create_hindexed.c \
340        ptype_create_hvector.c \
341        ptype_create_indexed_block.c \
342        ptype_create_hindexed_block.c \
343        ptype_create_keyval.c \
344        ptype_create_resized.c \
345        ptype_create_struct.c \
346        ptype_create_subarray.c \
347        ptype_delete_attr.c \
348        ptype_dup.c \
349        ptype_f2c.c \
350        ptype_free.c \
351        ptype_free_keyval.c \
352        ptype_get_attr.c \
353        ptype_get_contents.c \
354        ptype_get_envelope.c \
355        ptype_get_extent.c \
356        ptype_get_extent_x.c \
357        ptype_get_name.c \
358        ptype_get_true_extent.c \
359        ptype_get_true_extent_x.c \
360        ptype_indexed.c \
361        ptype_match_size.c \
362        ptype_set_attr.c \
363        ptype_set_name.c \
364        ptype_size.c \
365        ptype_size_x.c \
366        ptype_vector.c  \
367        punpack_external.c \
368        punpack.c \
369        punpublish_name.c \
370        pwait.c \
371        pwaitall.c \
372        pwaitany.c \
373        pwaitsome.c \
374	pwtime.c \
375	pwtick.c \
376        paccumulate.c \
377        pget.c \
378        pput.c \
379	pwin_allocate.c \
380	pwin_allocate_shared.c \
381	pwin_attach.c \
382        pwin_c2f.c \
383        pwin_call_errhandler.c \
384        pwin_complete.c  \
385        pwin_create_errhandler.c \
386        pwin_create_keyval.c \
387        pwin_create.c \
388	pwin_create_dynamic.c \
389        pwin_delete_attr.c \
390	pwin_detach.c \
391        pwin_f2c.c \
392        pwin_fence.c \
393	pwin_flush.c \
394	pwin_flush_all.c \
395	pwin_flush_local.c \
396	pwin_flush_local_all.c \
397        pwin_free_keyval.c \
398        pwin_free.c \
399        pwin_get_attr.c \
400        pwin_get_errhandler.c \
401        pwin_get_group.c \
402        pwin_get_info.c  \
403        pwin_get_name.c  \
404        pwin_lock.c \
405	pwin_lock_all.c \
406        pwin_post.c \
407        pwin_set_attr.c \
408        pwin_set_errhandler.c \
409        pwin_set_info.c \
410        pwin_set_name.c \
411	pwin_shared_query.c \
412        pwin_start.c \
413	pwin_sync.c \
414        pwin_test.c \
415        pwin_unlock.c \
416	pwin_unlock_all.c \
417        pwin_wait.c
418
419# include all of the removed MPI functions in library
420# for v4.0.x regardless of state of OMPI_ENABLE_MPI1_COMPAT
421nodist_libmpi_c_pmpi_la_SOURCES += \
422        paddress.c \
423        perrhandler_create.c \
424        perrhandler_get.c \
425        perrhandler_set.c \
426        ptype_extent.c \
427        ptype_hindexed.c \
428        ptype_hvector.c \
429        ptype_lb.c \
430        ptype_struct.c \
431        ptype_ub.c
432
433#
434# Sym link in the sources from the real MPI directory
435#
436$(nodist_libmpi_c_pmpi_la_SOURCES):
437	$(OMPI_V_LN_S) if test ! -r $@ ; then \
438		pname=`echo $@ | cut -b '2-'` ; \
439		$(LN_S) $(top_srcdir)/ompi/mpi/c/$$pname $@ ; \
440	fi
441
442# Conditionally install the header files
443
444if WANT_INSTALL_HEADERS
445ompidir = $(ompiincludedir)/$(subdir)
446endif
447
448# These files were created by targets above
449
450MAINTAINERCLEANFILES = $(nodist_libmpi_c_pmpi_la_SOURCES)
451
452# Don't want these targets in here
453
454tags-recursive:
455tags:
456TAGS:
457GTAGS:
458ID:
459