e42139710b
Valgrind header files if they weren't already in the compiler's default header file search path. This commit fixes that typo and adds a little more infrastructure (via an AC_SUBST) to pass in the relevant CPPFLAGS to the build system for the valgrind memchecker component. This commit was SVN r19764.
40 строки
1.2 KiB
Makefile
40 строки
1.2 KiB
Makefile
#
|
|
# Copyright (c) 2004-2007 High Performance Computing Center Stuttgart,
|
|
# University of Stuttgart. All rights reserved.
|
|
# Copyright (c) 2008 Cisco Systems, Inc. All rights reserved.
|
|
# $COPYRIGHT$
|
|
#
|
|
# Additional copyrights may follow
|
|
#
|
|
# $HEADER$
|
|
#
|
|
|
|
AM_CPPFLAGS = $(memchecker_valgrind_CPPFLAGS)
|
|
sources = \
|
|
memchecker_valgrind.h \
|
|
memchecker_valgrind_component.c \
|
|
memchecker_valgrind_module.c
|
|
|
|
# Make the output library in this directory, and name it either
|
|
# mca_<type>_<name>.la (for DSO builds) or libmca_<type>_<name>.la
|
|
# (for static builds).
|
|
|
|
if OMPI_BUILD_memchecker_valgrind_DSO
|
|
component_noinst =
|
|
component_install = mca_memchecker_valgrind.la
|
|
else
|
|
component_noinst = libmca_memchecker_valgrind.la
|
|
component_install =
|
|
endif
|
|
|
|
mcacomponentdir = $(libdir)/openmpi
|
|
mcacomponent_LTLIBRARIES = $(component_install)
|
|
mca_memchecker_valgrind_la_SOURCES = $(sources)
|
|
mca_memchecker_valgrind_la_LDFLAGS = -module -avoid-version
|
|
mca_memchecker_valgrind_la_LIBADD = \
|
|
$(top_ompi_builddir)/opal/libopal.la
|
|
|
|
noinst_LTLIBRARIES = $(component_noinst)
|
|
libmca_memchecker_valgrind_la_SOURCES =$(sources)
|
|
libmca_memchecker_valgrind_la_LDFLAGS = -module -avoid-version
|