020b9991a4
Other changes: - Added a flag to the MCA variable system to indicate a variable should go away when its group does. Both mca_base_framework_var_register() and mca_base_component_var_register() set this flag. Notes: - mca_base_components_open is deprecated. It will be removed in a future commit. - All frameworks should use MCA_BASE_FRAMEWORK_DECLARE to declare their framework structure. - All calls to framework open/close functions should be changed to use the mca_base_framework_* functions. - Instead of special-casing installdirs a flag was added to prevent calling into the variable system when opening a framework. - Ralph: Clarify the functional definition of the "register" function in the MCA framework object - it had the same name as another function that does a totally different thing. - As per discussion with Ralph the behavior of mca_base_framework_register() is to always call mca_base_framework_components_register() if the framework's register function was successful. This removed the need for frameworks to have to call this function directly. This commit was SVN r28237.
69 строки
1.9 KiB
Makefile
69 строки
1.9 KiB
Makefile
#
|
|
# Copyright (c) 2004-2008 The Trustees of Indiana University and Indiana
|
|
# University Research and Technology
|
|
# Corporation. All rights reserved.
|
|
# Copyright (c) 2004-2005 The University of Tennessee and The University
|
|
# of Tennessee Research Foundation. 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 (c) 2010 Cisco Systems, Inc. All rights reserved.
|
|
# $COPYRIGHT$
|
|
#
|
|
# Additional copyrights may follow
|
|
#
|
|
# $HEADER$
|
|
#
|
|
|
|
# Need this so that the base knows where to load dynamic components from
|
|
# (by default)
|
|
|
|
AM_CPPFLAGS = \
|
|
$(LTDLINCL)
|
|
|
|
noinst_LTLIBRARIES = libmca_base.la
|
|
|
|
dist_pkgdata_DATA = help-mca-base.txt help-mca-var.txt
|
|
|
|
# Source code files
|
|
|
|
headers = \
|
|
base.h \
|
|
mca_base_component_repository.h \
|
|
mca_base_var.h \
|
|
mca_base_var_enum.h \
|
|
mca_base_vari.h \
|
|
mca_base_param.h \
|
|
mca_base_param_internal.h \
|
|
mca_base_framework.h
|
|
|
|
# Library
|
|
|
|
libmca_base_la_SOURCES = \
|
|
$(headers) \
|
|
mca_base_close.c \
|
|
mca_base_cmd_line.c \
|
|
mca_base_component_compare.c \
|
|
mca_base_component_find.c \
|
|
mca_base_component_repository.c \
|
|
mca_base_components_open.c \
|
|
mca_base_components_close.c \
|
|
mca_base_components_select.c \
|
|
mca_base_list.c \
|
|
mca_base_open.c \
|
|
mca_base_param.c \
|
|
mca_base_var.c \
|
|
mca_base_var_enum.c \
|
|
mca_base_parse_paramfile.c \
|
|
mca_base_components_register.c \
|
|
mca_base_framework.c
|
|
|
|
# Conditionally install the header files
|
|
|
|
if WANT_INSTALL_HEADERS
|
|
opaldir = $(includedir)/openmpi/$(subdir)
|
|
opal_HEADERS = $(headers)
|
|
endif
|