File tree Expand file tree Collapse file tree 2 files changed +23
-24
lines changed Expand file tree Collapse file tree 2 files changed +23
-24
lines changed Original file line number Diff line number Diff line change @@ -497,6 +497,8 @@ if BUILD_MPI_BINDINGS_LAYER
497497libmpi_c_la_LIBADD  += libmpi_c_noprofile.la
498498endif
499499
500+ nobase_include_HEADERS  = abi.h standard_abi/mpi.h
501+ 
500502# 
501503#  List of all C files that have profile versions (*_generated.c files were
502504#  generated from prototype_sources above).
@@ -554,8 +556,29 @@ if OMPI_GENERATE_BINDINGS
554556	    source  \ 
555557	    ompi \ 
556558	    $< 
559+ abi.h : $(prototype_sources ) 
560+ 	$(OMPI_V_GEN )  $(PYTHON )  $(top_srcdir ) /ompi/mpi/bindings/bindings.py \ 
561+ 	    --builddir $(abs_top_builddir )  \ 
562+ 	    --srcdir $(abs_top_srcdir )  \ 
563+ 	    --output $@  \ 
564+ 	    c \ 
565+ 	    header \ 
566+ 	    --srcdir $(srcdir )  \ 
567+ 	    $(prototype_sources ) 
568+ standard_abi/mpi.h : $(prototype_sources ) 
569+ 	mkdir -p standard_abi
570+ 	$(OMPI_V_GEN )  $(PYTHON )  $(top_srcdir ) /ompi/mpi/bindings/bindings.py \ 
571+ 	    --builddir $(abs_top_builddir )  \ 
572+ 	    --srcdir $(abs_top_srcdir )  \ 
573+ 	    --output $@  \ 
574+ 	    c \ 
575+ 	    header \ 
576+             --srcdir $(srcdir) \
577+ 	    --external \
578+             $(prototype_sources)
557579endif
558580
581+ MAINTAINERCLEANFILES  = *_generated.c abi.h
559582if OMPI_STANDARD_ABI
560583include  Makefile_abi.include
561584endif
Original file line number Diff line number Diff line change @@ -57,8 +57,6 @@ libmpi_c_abi_profile_la_CPPFLAGS = -DOMPI_NO_MPI_PROTOTYPES -DOMPI_BUILD_MPI_PRO
5757libmpi_c_abi_noprofile_la_SOURCES = $(abi_interface_profile_sources)
5858libmpi_c_abi_noprofile_la_CPPFLAGS = -DOMPI_NO_MPI_PROTOTYPES -DOMPI_BUILD_MPI_PROFILING=0
5959
60- nobase_include_HEADERS = abi.h standard_abi/mpi.h
61- 
6260if OMPI_GENERATE_BINDINGS
6361%_abi_generated.c: %.c.in
6462	$(OMPI_V_GEN) $(PYTHON) $(top_srcdir)/ompi/mpi/bindings/bindings.py \
@@ -69,26 +67,4 @@ if OMPI_GENERATE_BINDINGS
6967	    source \
7068	    standard \
7169            $<
72- abi.h: $(prototype_sources)
73- 	$(OMPI_V_GEN) $(PYTHON) $(top_srcdir)/ompi/mpi/bindings/bindings.py \
74- 	    --builddir $(abs_top_builddir) \
75- 	    --srcdir $(abs_top_srcdir) \
76- 	    --output $@ \
77- 	    c \
78- 	    header \
79-             --srcdir $(srcdir) \
80-             $(prototype_sources)
81- standard_abi/mpi.h: $(prototype_sources)
82- 	mkdir -p standard_abi
83- 	$(OMPI_V_GEN) $(PYTHON) $(top_srcdir)/ompi/mpi/bindings/bindings.py \
84- 	    --builddir $(abs_top_builddir) \
85- 	    --srcdir $(abs_top_srcdir) \
86- 	    --output $@ \
87- 	    c \
88- 	    header \
89-             --srcdir $(srcdir) \
90- 	    --external \
91-             $(prototype_sources)
9270endif
93- # Delete generated files on maintainer-clean
94- MAINTAINERCLEANFILES = *_generated.c abi.h standard_abi/
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments