1
1
openmpi/ompi/Makefile.am
Brian Barrett ed56e743b7 * update configure.ac to use the modern version of AC_INIT and
AM_INIT_AUTOMAKE, instead of the deprecated version.
* Work around dumbness in modern AC_INIT that requires the version
  number to be set at autoconf time (instead of at configure time, as
  it was before).  Set the version number, minus the subversion r number,
  at autoconf time.  Override the internal variables to include the r
  number (if needed) at configure time.  Basically, the right thing
  should always happen.  The only place it might not is the version
  reported as part of configure --help will not have an r number.
* Since AM_INIT_AUTOMAKE taks a list of options, no need to specify
  them in all the Makefile.am files.
* Addes support for subdir-objects, meaning that object files are put
  in the directory containing source files, even if the Makefile.am is
  in another directory.  This should start making it feasible to
  reduce the number of Makefile.am files we have in the tree, which
  will greatly reduce the time to run autogen and configure.

This commit was SVN r7211.
2005-09-07 05:54:53 +00:00

151 строка
5.1 KiB
Makefile

#
# Copyright (c) 2004-2005 The Trustees of Indiana University.
# All rights reserved.
# Copyright (c) 2004-2005 The Trustees of the University of Tennessee.
# All rights reserved.
# Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
# University of Stuttgart. All rights reserved.
# Copyright (c) 2004-2005 The Regents of the University of California.
# All rights reserved.
# $COPYRIGHT$
#
# Additional copyrights may follow
#
# $HEADER$
#
# Include Windows only files in dist
WIN32_FILES = win32/ompi_declspec.h \
win32/ompi_time.c \
win32/ompi_process.c \
win32/ompi_uio.c \
win32/ompi_util.h \
win32/ompi_utsname.h \
win32/ompi_misc.h \
win32/ompi_process.h \
win32/ompi_time.h \
win32/ompi_uio.h \
win32/ompi_utsname.c \
win32/win_compat.h \
win32/generated_include/allocator_static-components.h \
win32/generated_include/iof_static-components.h \
win32/generated_include/errmgr_static-components.h \
win32/generated_include/rml_static-components.h \
win32/generated_include/rmgr_static-components.h \
win32/generated_include/schema_static-components.h \
win32/generated_include/rmaps_static-components.h \
win32/generated_include/soh_static-components.h \
win32/generated_include/ns_static-components.h \
win32/generated_include/pcmclient-seed-version.h \
win32/generated_include/pml_static-components.h \
win32/generated_include/coll-basic-version.h \
win32/generated_include/io-romio-version.h \
win32/generated_include/ompi_config.h \
win32/generated_include/pcmclient-singleton-version.h \
win32/generated_include/ptl-prof-version.h \
win32/generated_include/coll_static-components.h \
win32/generated_include/oob_static-components.h \
win32/generated_include/pcmclient-slurm-version.h \
win32/generated_include/ptl_static-components.h \
win32/generated_include/config.h \
win32/generated_include/llm-hostfile-version.h \
win32/generated_include/pcmclient-env-version.h \
win32/generated_include/pcmclient_static-components.h \
win32/generated_include/topo_static-components.h \
win32/generated_include/gpr_static-components.h \
win32/generated_include/llm_static-components.h \
win32/generated_include/pcmclient-rms-version.h \
win32/generated_include/pcm_static-components.h \
win32/generated_include/topo-unity-version.h \
win32/generated_include/pls_static-components.h \
win32/generated_include/ras_static-components.h \
win32/generated_include/rds_static-components.h \
win32/generated_include/pls-fork-version.h \
win32/generated_include/pls-proxy-version.h \
win32/generated_include/pls-rsh-version.h \
win32/generated_include/libltdl/ltdl.h \
win32/generated_source/ltdl.c
EXTRA_DIST = win_makefile $(WIN32_FILES)
# We always have C bindings, but do we have profiling?
if WANT_MPI_BINDINGS_LAYER
c_mpi_lib = mpi/c/libmpi_c_mpi.la
else
c_mpi_lib =
endif
if WANT_PMPI_BINDINGS_LAYER
c_pmpi_lib = mpi/c/profile/libmpi_c_pmpi.la
else
c_pmpi_lib =
endif
# See if we have f77 MPI bindings
if OMPI_WANT_F77_BINDINGS
f77_base_lib = mpi/f77/libmpi_f77.la
if WANT_MPI_F77_BINDINGS_LAYER
f77_mpi_lib = mpi/f77/libmpi_f77_mpi.la
else
f77_mpi_lib =
endif
if WANT_PMPI_F77_BINDINGS_LAYER
f77_pmpi_lib = mpi/f77/profile/libmpi_f77_pmpi.la
else
f77_pmpi_lib =
endif
else
f77_base_lib =
f77_mpi_lib =
f77_pmpi_lib =
endif
SUBDIRS = \
include \
attribute \
class \
communicator \
datatype \
debuggers \
errhandler \
file \
group \
info \
mca \
mpi \
op \
proc \
request \
runtime \
win \
. \
dynamic-mca \
tools
# Build the main MPI library
lib_LTLIBRARIES = libmpi.la
libmpi_la_SOURCES =
libmpi_la_LIBADD = \
attribute/libattribute.la \
class/libclass.la \
communicator/libcommunicator.la \
datatype/libdatatype.la \
debuggers/libdebuggers.la \
errhandler/liberrhandler.la \
file/libfile.la \
group/libgroup.la \
info/libinfo.la \
mpi/c/libmpi_c.la $(c_mpi_lib) $(c_pmpi_lib) \
$(f77_base_lib) $(f77_mpi_lib) $(f77_pmpi_lib) \
runtime/libmpiruntime.la \
op/libop.la \
proc/libproc.la \
request/librequest.la \
$(MCA_ompi_FRAMEWORK_LIBS)
libmpi_la_DEPENDENCIES = $(libmpi_la_LIBADD)