@@ -51,22 +51,22 @@ CLEANFILES =
5151# Note that we invoke some OPAL functions directly in libmpi_mpifh.la,
5252# so we need to link in the OPAL library directly (pulling it in
5353# indirectly via libmpi.la does not work on all platforms).
54- libmpi_mpifh_la_LIBADD = \
54+ lib@OMPI_LIBMPI_NAME@_mpifh_la_LIBADD = \
5555 $(top_builddir ) /ompi/lib@
[email protected] \ 5656 $(OMPI_MPIEXT_MPIFH_LIBS ) \
5757 $(OMPI_TOP_BUILDDIR ) /opal/lib@
[email protected] 5858
59- libmpi_mpifh_la_LDFLAGS = -version-info $(libmpi_mpifh_so_version )
59+ lib@OMPI_LIBMPI_NAME@_mpifh_la_LDFLAGS = -version-info $(libmpi_mpifh_so_version )
6060
6161# Are we building the mpif.h bindings at all?
6262if OMPI_BUILD_FORTRAN_MPIFH_BINDINGS
6363# If yes, then we need to build the installable library and the glue
6464# convenience library that will be sucked up into the main libmpi.
65- lib_LTLIBRARIES += libmpi_mpifh .la
65+ lib_LTLIBRARIES += lib@OMPI_LIBMPI_NAME@_mpifh .la
6666# Do we need to suck in the convenience library from the lower
6767# directory?
6868if BUILD_PMPI_FORTRAN_MPIFH_BINDINGS_LAYER
69- libmpi_mpifh_la_LIBADD += profile/libmpi_mpifh_pmpi.la
69+ lib@OMPI_LIBMPI_NAME@_mpifh_la_LIBADD += profile/libmpi_mpifh_pmpi.la
7070endif
7171endif
7272
@@ -78,7 +78,7 @@ headers = \
7878#
7979# These files are only built and added to libmpi_mpifh.la in certain cases.
8080#
81- libmpi_mpifh_la_SOURCES =
81+ lib@OMPI_LIBMPI_NAME@_mpifh_la_SOURCES =
8282
8383# sizeof_f.f90 is generated based on some results from configure tests.
8484CLEANFILES += sizeof_f.f90
@@ -108,7 +108,7 @@ if BUILD_FORTRAN_SIZEOF
108108noinst_LTLIBRARIES += libmpi_mpifh_sizeof.la
109109# Do not dist this file; it is generated
110110nodist_libmpi_mpifh_sizeof_la_SOURCES = sizeof_f.f90
111- libmpi_mpifh_la_LIBADD += libmpi_mpifh_sizeof.la
111+ lib@OMPI_LIBMPI_NAME@_mpifh_la_LIBADD += libmpi_mpifh_sizeof.la
112112endif
113113
114114sizeof_pl = $(top_srcdir ) /ompi/mpi/fortran/base/gen-mpi-sizeof.pl
@@ -124,7 +124,7 @@ sizeof_f.f90:
124124 --complex32=$(OMPI_HAVE_FORTRAN_COMPLEX32 )
125125
126126if BUILD_MPI_FORTRAN_MPIFH_BINDINGS_LAYER
127- libmpi_mpifh_la_SOURCES += \
127+ lib@OMPI_LIBMPI_NAME@_mpifh_la_SOURCES += \
128128 abort_f.c \
129129 add_error_class_f.c \
130130 add_error_code_f.c \
@@ -432,7 +432,7 @@ libmpi_mpifh_la_SOURCES += \
432432 win_flush_local_all_f.c
433433
434434if OMPI_PROVIDE_MPI_FILE_INTERFACE
435- libmpi_mpifh_la_SOURCES += \
435+ lib@OMPI_LIBMPI_NAME@_mpifh_la_SOURCES += \
436436 file_call_errhandler_f.c \
437437 file_close_f.c \
438438 file_create_errhandler_f.c \
0 commit comments