38
38
include $(top_srcdir ) /Makefile.ompi-rules
39
39
40
40
noinst_LTLIBRARIES = libmpi_c.la libmpi_c_profile.la
41
- if OMPI_STANDARD_ABI
42
- noinst_LTLIBRARIES += libmpi_c_abi.la libmpi_c_abi_profile.la
43
- endif
44
41
if BUILD_MPI_BINDINGS_LAYER
45
- noinst_LTLIBRARIES += libmpi_c_noprofile.la libmpi_c_abi_noprofile.la
42
+ noinst_LTLIBRARIES += libmpi_c_noprofile.la
46
43
endif
47
44
48
45
headers = bindings.h
@@ -483,7 +480,6 @@ prototype_sources = \
483
480
wtime.c.in
484
481
485
482
EXTRA_DIST = $(prototype_sources )
486
- BUILT_SOURCES = abi.h standard_abi/mpi.h
487
483
488
484
# attr_fn.c contains attribute manipulation functions which do not
489
485
# profiling implications, and so are always built.
@@ -501,25 +497,12 @@ if BUILD_MPI_BINDINGS_LAYER
501
497
libmpi_c_la_LIBADD += libmpi_c_noprofile.la
502
498
endif
503
499
504
- libmpi_c_abi_la_SOURCES = \
505
- attr_fn.c \
506
- abi_details.c \
507
- abi_supported.c \
508
- abi_version.c
509
-
510
- libmpi_c_abi_la_CPPFLAGS = -DOMPI_NO_MPI_PROTOTYPES
511
- libmpi_c_abi_la_LIBADD = libmpi_c_abi_profile.la
512
- if BUILD_MPI_BINDINGS_LAYER
513
- libmpi_c_abi_la_LIBADD += libmpi_c_abi_noprofile.la
514
- endif
515
-
516
500
#
517
501
# List of all C files that have profile versions (*_generated.c files were
518
502
# generated from prototype_sources above).
519
503
#
520
504
#
521
505
interface_profile_sources = $(prototype_sources:.c.in=_ompi_generated.c )
522
- abi_interface_profile_sources = $(prototype_sources:.c.in=_abi_generated.c )
523
506
524
507
525
508
# Conditionally install the header files
@@ -561,15 +544,6 @@ libmpi_c_profile_la_CPPFLAGS = -DOMPI_BUILD_MPI_PROFILING=1
561
544
libmpi_c_noprofile_la_SOURCES = $(interface_profile_sources ) $(extra_interface_profile_sources ) $(deprecated_interface_profile_sources )
562
545
libmpi_c_noprofile_la_CPPFLAGS = -DOMPI_BUILD_MPI_PROFILING=0
563
546
564
- libmpi_c_abi_profile_la_SOURCES = $(abi_interface_profile_sources )
565
- libmpi_c_abi_profile_la_CPPFLAGS = -DOMPI_NO_MPI_PROTOTYPES -DOMPI_BUILD_MPI_PROFILING=1
566
-
567
- libmpi_c_abi_noprofile_la_SOURCES = $(abi_interface_profile_sources )
568
- libmpi_c_abi_noprofile_la_CPPFLAGS = -DOMPI_NO_MPI_PROTOTYPES -DOMPI_BUILD_MPI_PROFILING=0
569
-
570
- nobase_include_HEADERS = standard_abi/mpi.h
571
-
572
- # ABI generation rules
573
547
if OMPI_GENERATE_BINDINGS
574
548
% _ompi_generated.c : % .c.in
575
549
$(OMPI_V_GEN ) $(PYTHON ) $(top_srcdir ) /ompi/mpi/bindings/bindings.py \
@@ -580,36 +554,8 @@ if OMPI_GENERATE_BINDINGS
580
554
source \
581
555
ompi \
582
556
$<
557
+ endif
583
558
584
- % _abi_generated.c : % .c.in
585
- $(OMPI_V_GEN ) $(PYTHON ) $(top_srcdir ) /ompi/mpi/bindings/bindings.py \
586
- --builddir $(abs_top_builddir ) \
587
- --srcdir $(abs_top_srcdir ) \
588
- --output $@ \
589
- c \
590
- source \
591
- standard \
592
- $<
593
- abi.h : $(prototype_sources )
594
- $(OMPI_V_GEN ) $(PYTHON ) $(top_srcdir ) /ompi/mpi/bindings/bindings.py \
595
- --builddir $(abs_top_builddir ) \
596
- --srcdir $(abs_top_srcdir ) \
597
- --output $@ \
598
- c \
599
- header \
600
- --srcdir $(srcdir) \
601
- $(prototype_sources)
602
- standard_abi/mpi.h : $(prototype_sources )
603
- mkdir -p standard_abi
604
- $(OMPI_V_GEN ) $(PYTHON ) $(top_srcdir ) /ompi/mpi/bindings/bindings.py \
605
- --builddir $(abs_top_builddir ) \
606
- --srcdir $(abs_top_srcdir ) \
607
- --output $@ \
608
- c \
609
- header \
610
- --srcdir $(srcdir) \
611
- --external \
612
- $(prototype_sources)
559
+ if OMPI_STANDARD_ABI
560
+ include Makefile_abi.include
613
561
endif
614
- # Delete generated files on maintainer-clean
615
- MAINTAINERCLEANFILES = *_generated.c abi.h standard_abi/
0 commit comments