@@ -583,115 +583,17 @@ EXTRA_DIST = interface.json
583583
584584if OMPI_GENERATE_BINDINGS
585585
586- prototype_files = \
587- accumulate_ts.c.in \
588- bsend_init_ts.c.in \
589- bsend_ts.c.in \
590- buffer_attach_ts.c.in \
591- compare_and_swap_ts.c.in \
592- f_sync_reg_ts.c.in \
593- fetch_and_op_ts.c.in \
594- file_iread_all_ts.c.in \
595- file_iread_at_all_ts.c.in \
596- file_iread_at_ts.c.in \
597- file_iread_shared_ts.c.in \
598- file_iread_ts.c.in \
599- file_iwrite_all_ts.c.in \
600- file_iwrite_at_all_ts.c.in \
601- file_iwrite_at_ts.c.in \
602- file_iwrite_shared_ts.c.in \
603- file_iwrite_ts.c.in \
604- file_read_all_begin_ts.c.in \
605- file_read_all_end_ts.c.in \
606- file_read_all_ts.c.in \
607- file_read_at_all_begin_ts.c.in \
608- file_read_at_all_end_ts.c.in \
609- file_read_at_all_ts.c.in \
610- file_read_at_ts.c.in \
611- file_read_ordered_begin_ts.c.in \
612- file_read_ordered_end_ts.c.in \
613- file_read_ordered_ts.c.in \
614- file_read_shared_ts.c.in \
615- file_read_ts.c.in \
616- file_write_all_begin_ts.c.in \
617- file_write_all_end_ts.c.in \
618- file_write_all_ts.c.in \
619- file_write_at_all_begin_ts.c.in \
620- file_write_at_all_end_ts.c.in \
621- file_write_at_all_ts.c.in \
622- file_write_at_ts.c.in \
623- file_write_ordered_begin_ts.c.in \
624- file_write_ordered_end_ts.c.in \
625- file_write_ordered_ts.c.in \
626- file_write_shared_ts.c.in \
627- file_write_ts.c.in \
628- free_mem_ts.c.in \
629- get_accumulate_ts.c.in \
630- get_address_ts.c.in \
631- get_ts.c.in \
632- iallgather_ts.c.in \
633- iallgatherv_ts.c.in \
634- iallreduce_ts.c.in \
635- ialltoall_ts.c.in \
636- ialltoallv_ts.c.in \
637- ialltoallw_ts.c.in \
638- ibcast_ts.c.in \
639- ibsend_ts.c.in \
640- iexscan_ts.c.in \
641- igather_ts.c.in \
642- igatherv_ts.c.in \
643- imrecv_ts.c.in \
644- ineighbor_allgather_ts.c.in \
645- ineighbor_allgatherv_ts.c.in \
646- ineighbor_alltoall_ts.c.in \
647- ineighbor_alltoallv_ts.c.in \
648- ineighbor_alltoallw_ts.c.in \
649- irecv_ts.c.in \
650- ireduce_scatter_block_ts.c.in \
651- ireduce_scatter_ts.c.in \
652- ireduce_ts.c.in \
653- irsend_ts.c.in \
654- iscan_ts.c.in \
655- iscatter_ts.c.in \
656- iscatterv_ts.c.in \
657- isend_ts.c.in \
658- isendrecv_replace_ts.c.in \
659- isendrecv_ts.c.in \
660- issend_ts.c.in \
661- mrecv_ts.c.in \
662- pack_external_ts.c.in \
663- pack_ts.c.in \
664- put_ts.c.in \
665- raccumulate_ts.c.in \
666- recv_init_ts.c.in \
667- recv_ts.c.in \
668- rget_accumulate_ts.c.in \
669- rget_ts.c.in \
670- rput_ts.c.in \
671- rsend_init_ts.c.in \
672- rsend_ts.c.in \
673- send_init_ts.c.in \
674- send_ts.c.in \
675- sendrecv_replace_ts.c.in \
676- sendrecv_ts.c.in \
677- ssend_init_ts.c.in \
678- ssend_ts.c.in \
679- ts.c.in \
680- unpack_external_ts.c.in \
681- unpack_ts.c.in \
682- win_attach_ts.c.in \
683- win_create_ts.c.in \
684- win_detach_ts.c.in
685-
686- api_f08_generated.F90 : interface.json
586+ include Makefile.prototype_files
587+
588+ api_f08_generated.F90 : $(prototype_files )
687589 $(OMPI_V_GEN ) $(PYTHON ) $(top_srcdir ) /ompi/mpi/bindings/bindings.py \
688590 --builddir $(abs_top_builddir ) \
689591 --srcdir $(abs_top_srcdir ) \
690592 --output $(abs_builddir ) /$@ \
691593 fortran \
692- --prototypes $(abs_srcdir ) /$< \
693594 code \
694- fortran
595+ fortran \
596+ $(prototype_files )
695597
696598# Delete generated file on maintainer-clean
697599MAINTAINERCLEANFILES = api_f08_generated.F90
0 commit comments