2005-09-01 00:35:15 +04:00
|
|
|
#
|
2005-11-05 22:57:48 +03:00
|
|
|
# Copyright (c) 2004-2005 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.
|
2005-09-01 00:35:15 +04:00
|
|
|
# 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.
|
2008-08-14 16:57:44 +04:00
|
|
|
# Copyright (c) 2007-2008 Cisco Systems, Inc. All rights reserved.
|
2005-09-01 00:35:15 +04:00
|
|
|
# $COPYRIGHT$
|
|
|
|
#
|
|
|
|
# Additional copyrights may follow
|
|
|
|
#
|
|
|
|
# $HEADER$
|
|
|
|
#
|
|
|
|
|
2008-08-14 16:57:44 +04:00
|
|
|
noinst_LTLIBRARIES = libdebuggers.la libompi_debugger_canary.la
|
2008-03-05 15:22:34 +03:00
|
|
|
pkglib_LTLIBRARIES = libompi_dbg_msgq.la
|
2005-09-01 00:35:15 +04:00
|
|
|
|
2005-09-01 14:37:20 +04:00
|
|
|
# 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)
|
|
|
|
|
2005-09-01 00:35:15 +04:00
|
|
|
# Source code files
|
|
|
|
|
2008-03-05 15:22:34 +03:00
|
|
|
headers = \
|
|
|
|
debuggers.h \
|
|
|
|
ompi_common_dll_defs.h \
|
|
|
|
msgq_interface.h ompi_msgq_dll_defs.h
|
2006-10-05 00:01:33 +04:00
|
|
|
|
2005-09-01 00:35:15 +04:00
|
|
|
libdebuggers_la_SOURCES = \
|
|
|
|
$(headers) \
|
2008-03-05 15:22:34 +03:00
|
|
|
ompi_debuggers.c
|
|
|
|
libdebuggers_la_CPPFLAGS = \
|
|
|
|
-DOMPI_MSGQ_DLL=\"$(pkglibdir)/libompi_dbg_msgq.so\" \
|
|
|
|
-DOMPI_MSGQ_DLL_PREFIX=\"libompi_dbg_msgq\" \
|
|
|
|
-DOMPI_MPIHANDLES_DLL_PREFIX=\"libompi_dbg_mpihandles\"
|
|
|
|
|
2008-08-14 16:57:44 +04:00
|
|
|
libompi_debugger_canary_la_SOURCES = \
|
|
|
|
ompi_debugger_canary.c
|
|
|
|
|
2008-03-05 15:22:34 +03:00
|
|
|
common = ompi_common_dll_defs.h ompi_common_dll.c
|
|
|
|
|
|
|
|
# MPI message queue DLL
|
|
|
|
libompi_dbg_msgq_la_SOURCES = ompi_msgq_dll.c ompi_msgq_dll_defs.h $(common)
|
|
|
|
libompi_dbg_msgq_la_CFLAGS = -g
|
|
|
|
libompi_dbg_msgq_la_LDFLAGS = -module -avoid-version
|
2005-09-01 00:35:15 +04:00
|
|
|
|
|
|
|
# Conditionally install the header files
|
|
|
|
|
|
|
|
if WANT_INSTALL_HEADERS
|
|
|
|
ompidir = $(includedir)/openmpi/ompi/debuggers
|
|
|
|
ompi_HEADERS = $(headers)
|
|
|
|
else
|
|
|
|
ompidir = $(includedir)
|
|
|
|
endif
|