1
1
Jeff Squyres e42139710b A typo prevented the valgrind memchecker component finding the
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.
2008-10-17 23:04:39 +00:00

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