4c59058053
include any optimization flags - Use these flags to always compile ompi/debuggers/* and orterun so that parallel debuggers (such as Totalview) can always see the debugging symbols (see comments in ompi/debuggers/Makefile.am and orte/tools/orterun/Makefile.am) - Remove some obsolete LAM-named variables from configure.ac This commit was SVN r7125.
47 строки
1.3 KiB
Makefile
47 строки
1.3 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 $(top_srcdir)/config/Makefile.options
|
|
|
|
noinst_LTLIBRARIES = libdebuggers.la
|
|
|
|
# This is not quite in the Automake spirit, but we have to do it.
|
|
# Since the totalview portion of the library must be built with -g, we
|
|
# must eliminate the CFLAGS that are passed in here by default (which
|
|
# may already have debugging and/or optimization flags). We use
|
|
# post-processed forms of the CFLAGS in the library targets down
|
|
# below.
|
|
|
|
CFLAGS = $(CFLAGS_WITHOUT_OPTFLAGS) $(TOTALVIEW_DEBUG_FLAGS)
|
|
|
|
# Source code files
|
|
|
|
headers = \
|
|
debuggers.h
|
|
|
|
libdebuggers_la_SOURCES = \
|
|
$(headers) \
|
|
ompi_totalview.c
|
|
|
|
# Conditionally install the header files
|
|
|
|
if WANT_INSTALL_HEADERS
|
|
ompidir = $(includedir)/openmpi/ompi/debuggers
|
|
ompi_HEADERS = $(headers)
|
|
else
|
|
ompidir = $(includedir)
|
|
endif
|