2004-01-19 08:41:06 +03:00
|
|
|
#
|
2004-11-22 04:38:40 +03:00
|
|
|
# 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.
|
2004-11-28 23:09:25 +03:00
|
|
|
# Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
|
|
|
|
# University of Stuttgart. All rights reserved.
|
2005-03-24 15:43:37 +03:00
|
|
|
# Copyright (c) 2004-2005 The Regents of the University of California.
|
|
|
|
# All rights reserved.
|
2004-11-22 04:38:40 +03:00
|
|
|
# $COPYRIGHT$
|
|
|
|
#
|
|
|
|
# Additional copyrights may follow
|
|
|
|
#
|
2004-01-19 08:41:06 +03:00
|
|
|
# $HEADER$
|
|
|
|
#
|
|
|
|
|
|
|
|
include $(top_srcdir)/config/Makefile.options
|
|
|
|
|
2004-01-19 20:43:50 +03:00
|
|
|
AM_CPPFLAGS = \
|
2004-06-07 19:33:53 +04:00
|
|
|
-DOMPI_PREFIX="\"$(prefix)\"" \
|
|
|
|
-DOMPI_BINDIR="\"$(bindir)\"" \
|
|
|
|
-DOMPI_LIBDIR="\"$(libdir)\"" \
|
|
|
|
-DOMPI_INCDIR="\"$(includedir)\"" \
|
|
|
|
-DOMPI_PKGLIBDIR="\"$(pkglibdir)\"" \
|
|
|
|
-DOMPI_SYSCONFDIR="\"$(sysconfdir)\"" \
|
|
|
|
-DOMPI_CONFIGURE_USER="\"@OMPI_CONFIGURE_USER@\"" \
|
|
|
|
-DOMPI_CONFIGURE_HOST="\"@OMPI_CONFIGURE_HOST@\"" \
|
2004-06-17 17:29:46 +04:00
|
|
|
-DOMPI_CONFIGURE_DATE="\"@OMPI_CONFIGURE_DATE@\"" \
|
2005-04-08 00:13:41 +04:00
|
|
|
-DOMPI_BUILD_USER="\"$$USER\"" \
|
|
|
|
-DOMPI_BUILD_HOST="\"`hostname`\"" \
|
|
|
|
-DOMPI_BUILD_DATE="\"`date`\"" \
|
2004-06-17 17:29:46 +04:00
|
|
|
-DOMPI_BUILD_CFLAGS="\"@CFLAGS@\"" \
|
|
|
|
-DOMPI_BUILD_CPPFLAGS="\"@CPPFLAGS@\"" \
|
|
|
|
-DOMPI_BUILD_CXXFLAGS="\"@CXXFLAGS@\"" \
|
|
|
|
-DOMPI_BUILD_CXXCPPFLAGS="\"@CXXCPPFLAGS@\"" \
|
|
|
|
-DOMPI_BUILD_FFLAGS="\"@FFLAGS@\"" \
|
|
|
|
-DOMPI_BUILD_FCFLAGS="\"@FCFLAGS@\"" \
|
|
|
|
-DOMPI_BUILD_LDFLAGS="\"@LDFLAGS@\"" \
|
2004-08-07 08:20:28 +04:00
|
|
|
-DOMPI_BUILD_LIBS="\"@LIBS@\"" \
|
2005-06-17 05:06:36 +04:00
|
|
|
-DOMPI_CC_ABSOLUTE="\"@OMPI_CC_ABSOLUTE@\"" \
|
|
|
|
-DOMPI_CXX_ABSOLUTE="\"@OMPI_CXX_ABSOLUTE@\"" \
|
|
|
|
-DOMPI_F77_ABSOLUTE="\"@OMPI_F77_ABSOLUTE@\"" \
|
|
|
|
-DOMPI_F90_ABSOLUTE="\"@OMPI_F90_ABSOLUTE@\"" \
|
2005-03-25 06:19:46 +03:00
|
|
|
-DOMPI_WANT_SVN=\"@OMPI_WANT_SVN@\" \
|
Major simplifications to component versioning:
- After long discussions and ruminations on how we run components in
LAM/MPI, made the decision that, by default, all components included
in Open MPI will use the version number of their parent project
(i.e., OMPI or ORTE). They are certaint free to use a different
number, but this simplification makes the common cases easy:
- components are only released when the parent project is released
- it is easy (trivial?) to distinguish which version component goes
with with version of the parent project
- removed all autogen/configure code for templating the version .h
file in components
- made all ORTE components use ORTE_*_VERSION for version numbers
- made all OMPI components use OMPI_*_VERSION for version numbers
- removed all VERSION files from components
- configure now displays OPAL, ORTE, and OMPI version numbers
- ditto for ompi_info
- right now, faking it -- OPAL and ORTE and OMPI will always have the
same version number (i.e., they all come from the same top-level
VERSION file). But this paves the way for the Great Configure
Reorganization, where, among other things, each project will have
its own version number.
So all in all, we went from a boatload of version numbers to
[effectively] three. That's pretty good. :-)
This commit was SVN r6344.
2005-07-05 00:12:36 +04:00
|
|
|
-DOMPI_SVN_R=\"@OMPI_SVN_R@\" \
|
|
|
|
-DORTE_WANT_SVN=\"@ORTE_WANT_SVN@\" \
|
|
|
|
-DORTE_SVN_R=\"@ORTE_SVN_R@\" \
|
|
|
|
-DOPAL_WANT_SVN=\"@OPAL_WANT_SVN@\" \
|
|
|
|
-DOPAL_SVN_R=\"@OPAL_SVN_R@\"
|
2004-01-19 08:41:06 +03:00
|
|
|
|
2005-06-17 05:06:36 +04:00
|
|
|
pkgdata_DATA = help-ompi_info.txt
|
|
|
|
|
2005-06-17 13:40:16 +04:00
|
|
|
EXTRA_DIST = $(pkgdata_DATA)
|
|
|
|
|
2005-07-02 19:06:47 +04:00
|
|
|
libs = \
|
|
|
|
$(top_builddir)/ompi/libmpi.la \
|
|
|
|
$(top_builddir)/orte/liborte.la \
|
|
|
|
$(top_builddir)/opal/libopal.la
|
2004-01-19 08:41:06 +03:00
|
|
|
|
2004-06-07 19:33:53 +04:00
|
|
|
bin_PROGRAMS = ompi_info
|
|
|
|
ompi_info_SOURCES = \
|
2004-08-02 04:24:22 +04:00
|
|
|
components.cc \
|
2004-06-07 19:33:53 +04:00
|
|
|
ompi_info.h \
|
|
|
|
ompi_info.cc \
|
2004-01-19 20:43:50 +03:00
|
|
|
output.cc \
|
|
|
|
param.cc \
|
|
|
|
version.cc
|
2005-02-08 08:06:15 +03:00
|
|
|
ompi_info_LDADD = $(libs) $(LIBMPI_EXTRA_LIBS)
|
|
|
|
ompi_info_LDFLAGS = $(LIBMPI_EXTRA_LDFLAGS)
|
2004-06-07 19:33:53 +04:00
|
|
|
ompi_info_DEPENDENCIES = $(libs)
|
2004-01-19 08:41:06 +03:00
|
|
|
|
|
|
|
clean-local:
|
2004-06-07 19:33:53 +04:00
|
|
|
test -z "$(OMPI_CXX_TEMPLATE_REPOSITORY)" || $(RM) -rf $(OMPI_CXX_TEMPLATE_REPOSITORY)
|