Fix installation of all header files in all cases (even if we're not building
C++, F90, F77, or separate compilation for profiling). This commit was SVN r179.
Этот коммит содержится в:
родитель
0809111335
Коммит
4831ce2780
@ -8,25 +8,20 @@ include $(top_srcdir)/config/Makefile.options
|
|||||||
# See if configure found a valid f77 compiler
|
# See if configure found a valid f77 compiler
|
||||||
|
|
||||||
if BUILD_MPI_F77
|
if BUILD_MPI_F77
|
||||||
f77_subdir = f77
|
f77_lib = f77/libmpi_f77.la
|
||||||
f77_lib = f77/libmpi_f77.la
|
|
||||||
else
|
else
|
||||||
f77_subdir =
|
f77_lib =
|
||||||
f77_lib =
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# See if configure found a valid f90/f95 compiler
|
# See if configure found a valid f90/f95 compiler
|
||||||
|
|
||||||
if BUILD_MPI_F90
|
if BUILD_MPI_F90
|
||||||
f90_subdir = f90
|
f90_lib =
|
||||||
f90_lib =
|
|
||||||
else
|
else
|
||||||
f90_subdir =
|
f90_lib =
|
||||||
f90_lib =
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
SUBDIRS = c cxx $(f77_subdir) $(f90_subdir)
|
SUBDIRS = c cxx f77 f90
|
||||||
DIST_SUBDIRS = c cxx f77 f90
|
|
||||||
|
|
||||||
# If the --enable-single-library flag was given to configure, then the
|
# If the --enable-single-library flag was given to configure, then the
|
||||||
# user wants to merge liblam and libmpi into a single big, honkin'
|
# user wants to merge liblam and libmpi into a single big, honkin'
|
||||||
@ -34,20 +29,20 @@ DIST_SUBDIRS = c cxx f77 f90
|
|||||||
# (noinst) library. Otherwise, it should be installed into lib.
|
# (noinst) library. Otherwise, it should be installed into lib.
|
||||||
|
|
||||||
if WANT_SINGLE_MPI_LIBRARY
|
if WANT_SINGLE_MPI_LIBRARY
|
||||||
install_lib =
|
install_lib =
|
||||||
convenience_lib = libmpi_convenience.la
|
convenience_lib = libmpi_convenience.la
|
||||||
else
|
else
|
||||||
install_lib = libmpi.la
|
install_lib = libmpi.la
|
||||||
convenience_lib =
|
convenience_lib =
|
||||||
endif
|
endif
|
||||||
|
|
||||||
lib_LTLIBRARIES = $(install_lib)
|
lib_LTLIBRARIES = $(install_lib)
|
||||||
noinst_LTLIBRARIES = $(convenience_lib)
|
noinst_LTLIBRARIES = $(convenience_lib)
|
||||||
|
|
||||||
sources = c/libmpi_c.la $(f77_lib) $(f90_lib)
|
sources = c/libmpi_c.la $(f77_lib) $(f90_lib)
|
||||||
|
|
||||||
libmpi_la_SOURCES =
|
libmpi_la_SOURCES =
|
||||||
libmpi_la_LIBADD = $(sources)
|
libmpi_la_LIBADD = $(sources)
|
||||||
|
|
||||||
libmpi_convenience_la_SOURCES =
|
libmpi_convenience_la_SOURCES =
|
||||||
libmpi_convenience_la_LIBADD = $(sources)
|
libmpi_convenience_la_LIBADD = $(sources)
|
||||||
|
@ -8,25 +8,20 @@ include $(top_srcdir)/config/Makefile.options
|
|||||||
# See if configure found a valid f77 compiler
|
# See if configure found a valid f77 compiler
|
||||||
|
|
||||||
if BUILD_MPI_F77
|
if BUILD_MPI_F77
|
||||||
f77_subdir = f77
|
f77_lib = f77/libmpi_f77.la
|
||||||
f77_lib = f77/libmpi_f77.la
|
|
||||||
else
|
else
|
||||||
f77_subdir =
|
f77_lib =
|
||||||
f77_lib =
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# See if configure found a valid f90/f95 compiler
|
# See if configure found a valid f90/f95 compiler
|
||||||
|
|
||||||
if BUILD_MPI_F90
|
if BUILD_MPI_F90
|
||||||
f90_subdir = f90
|
f90_lib =
|
||||||
f90_lib =
|
|
||||||
else
|
else
|
||||||
f90_subdir =
|
f90_lib =
|
||||||
f90_lib =
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
SUBDIRS = c cxx $(f77_subdir) $(f90_subdir)
|
SUBDIRS = c cxx f77 f90
|
||||||
DIST_SUBDIRS = c cxx f77 f90
|
|
||||||
|
|
||||||
# If the --enable-single-library flag was given to configure, then the
|
# If the --enable-single-library flag was given to configure, then the
|
||||||
# user wants to merge liblam and libmpi into a single big, honkin'
|
# user wants to merge liblam and libmpi into a single big, honkin'
|
||||||
@ -34,20 +29,20 @@ DIST_SUBDIRS = c cxx f77 f90
|
|||||||
# (noinst) library. Otherwise, it should be installed into lib.
|
# (noinst) library. Otherwise, it should be installed into lib.
|
||||||
|
|
||||||
if WANT_SINGLE_MPI_LIBRARY
|
if WANT_SINGLE_MPI_LIBRARY
|
||||||
install_lib =
|
install_lib =
|
||||||
convenience_lib = libmpi_convenience.la
|
convenience_lib = libmpi_convenience.la
|
||||||
else
|
else
|
||||||
install_lib = libmpi.la
|
install_lib = libmpi.la
|
||||||
convenience_lib =
|
convenience_lib =
|
||||||
endif
|
endif
|
||||||
|
|
||||||
lib_LTLIBRARIES = $(install_lib)
|
lib_LTLIBRARIES = $(install_lib)
|
||||||
noinst_LTLIBRARIES = $(convenience_lib)
|
noinst_LTLIBRARIES = $(convenience_lib)
|
||||||
|
|
||||||
sources = c/libmpi_c.la $(f77_lib) $(f90_lib)
|
sources = c/libmpi_c.la $(f77_lib) $(f90_lib)
|
||||||
|
|
||||||
libmpi_la_SOURCES =
|
libmpi_la_SOURCES =
|
||||||
libmpi_la_LIBADD = $(sources)
|
libmpi_la_LIBADD = $(sources)
|
||||||
|
|
||||||
libmpi_convenience_la_SOURCES =
|
libmpi_convenience_la_SOURCES =
|
||||||
libmpi_convenience_la_LIBADD = $(sources)
|
libmpi_convenience_la_LIBADD = $(sources)
|
||||||
|
@ -5,19 +5,17 @@
|
|||||||
|
|
||||||
include $(top_srcdir)/config/Makefile.options
|
include $(top_srcdir)/config/Makefile.options
|
||||||
|
|
||||||
# If the user selected --disable-profiling, then we don't traverse
|
# We must traverse into the profile directory to install the proper
|
||||||
# into the profile directory.
|
# header files. So only only expect to find the C profiling library
|
||||||
|
# if we're compiling profiling separately.
|
||||||
|
|
||||||
if COMPILE_PROFILING_SEPARATELY
|
if COMPILE_PROFILING_SEPARATELY
|
||||||
profile_dir = profile
|
|
||||||
profile_lib = profile/libmpi_c_profile.la
|
profile_lib = profile/libmpi_c_profile.la
|
||||||
else
|
else
|
||||||
profile_dir =
|
|
||||||
profile_lib =
|
profile_lib =
|
||||||
endif
|
endif
|
||||||
|
|
||||||
SUBDIRS = $(profile_dir)
|
SUBDIRS = profile
|
||||||
DIST_SUBDIRS = profile
|
|
||||||
|
|
||||||
noinst_LTLIBRARIES = libmpi_c.la
|
noinst_LTLIBRARIES = libmpi_c.la
|
||||||
|
|
||||||
|
@ -7,7 +7,17 @@ include $(top_srcdir)/config/Makefile.options
|
|||||||
|
|
||||||
AM_CPPFLAGS = -DLAM_PROFILING_DEFINES=1
|
AM_CPPFLAGS = -DLAM_PROFILING_DEFINES=1
|
||||||
|
|
||||||
noinst_LTLIBRARIES = libmpi_c_profile.la
|
# We must traverse into the profile directory to install the proper
|
||||||
|
# header files. So only only expect to find the C profiling library
|
||||||
|
# if we're compiling profiling separately.
|
||||||
|
|
||||||
|
if COMPILE_PROFILING_SEPARATELY
|
||||||
|
lib = libmpi_c_profile.la
|
||||||
|
else
|
||||||
|
lib =
|
||||||
|
endif
|
||||||
|
|
||||||
|
noinst_LTLIBRARIES = $(lib)
|
||||||
|
|
||||||
headers = defines.h
|
headers = defines.h
|
||||||
|
|
||||||
|
@ -5,21 +5,31 @@
|
|||||||
|
|
||||||
include $(top_srcdir)/config/Makefile.options
|
include $(top_srcdir)/config/Makefile.options
|
||||||
|
|
||||||
|
# We must traverse into this directory to install the proper header
|
||||||
|
# files. So only build the f77 bindings if we want to build them, and
|
||||||
|
# only expect to find the f77 profiling library if we're building the
|
||||||
|
# f77 bindings *and* we're compiling profiling separately.
|
||||||
|
|
||||||
# If the user selected --disable-profiling, then we don't traverse
|
# If the user selected --disable-profiling, then we don't traverse
|
||||||
# into the profile directory.
|
# into the profile directory.
|
||||||
|
|
||||||
|
if BUILD_MPI_F77
|
||||||
|
f77_lib = libmpi_f77.la
|
||||||
|
|
||||||
if COMPILE_PROFILING_SEPARATELY
|
if COMPILE_PROFILING_SEPARATELY
|
||||||
profile_dir = profile
|
|
||||||
profile_lib = profile/libmpi_f77_profile.la
|
profile_lib = profile/libmpi_f77_profile.la
|
||||||
else
|
else
|
||||||
profile_dir =
|
|
||||||
profile_lib =
|
profile_lib =
|
||||||
endif
|
endif
|
||||||
|
|
||||||
SUBDIRS = $(profile_dir)
|
else
|
||||||
DIST_SUBDIRS = profile
|
f77_lib =
|
||||||
|
profile_lib =
|
||||||
|
endif
|
||||||
|
|
||||||
noinst_LTLIBRARIES = libmpi_f77.la
|
SUBDIRS = profile
|
||||||
|
|
||||||
|
noinst_LTLIBRARIES = $(f77_lib)
|
||||||
|
|
||||||
headers = \
|
headers = \
|
||||||
bindings.h \
|
bindings.h \
|
||||||
|
@ -7,9 +7,24 @@ include $(top_srcdir)/config/Makefile.options
|
|||||||
|
|
||||||
AM_CPPFLAGS = -DLAM_PROFILING_DEFINES=1
|
AM_CPPFLAGS = -DLAM_PROFILING_DEFINES=1
|
||||||
|
|
||||||
noinst_LTLIBRARIES = libmpi_f77_profile.la
|
# We must traverse into this directory to install the proper header
|
||||||
|
# files. So only build the f77 profiling bindings only if we're
|
||||||
|
# building the f77 bindings *and* we're compiling profiling
|
||||||
|
# separately.
|
||||||
|
|
||||||
noinst_HEADERS = defines.h
|
if BUILD_MPI_F77
|
||||||
|
if COMPILE_PROFILING_SEPARATELY
|
||||||
|
f77_lib = libmpi_f77_profile.la
|
||||||
|
else
|
||||||
|
f77_lib =
|
||||||
|
endif
|
||||||
|
else
|
||||||
|
f77_lib =
|
||||||
|
endif
|
||||||
|
|
||||||
|
noinst_LTLIBRARIES = $(f77_lib)
|
||||||
|
|
||||||
|
headers = defines.h
|
||||||
|
|
||||||
nodist_libmpi_f77_profile_la_SOURCES = \
|
nodist_libmpi_f77_profile_la_SOURCES = \
|
||||||
pcomm_get_name_f.c \
|
pcomm_get_name_f.c \
|
||||||
|
Загрузка…
Ссылка в новой задаче
Block a user