2005-08-09 22:40:42 +00:00
|
|
|
#
|
|
|
|
# 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$
|
|
|
|
#
|
|
|
|
|
2005-09-07 05:54:53 +00:00
|
|
|
|
2005-08-09 22:40:42 +00:00
|
|
|
|
2005-09-22 12:28:54 +00:00
|
|
|
AM_CPPFLAGS = -DMALLOC_DEBUG=0
|
2005-08-09 22:40:42 +00:00
|
|
|
|
|
|
|
if OMPI_HAVE_POSIX_THREADS
|
|
|
|
AM_CPPFLAGS += -DUSE_TSD_DATA_HACK \
|
2005-09-22 12:28:54 +00:00
|
|
|
-Isysdeps/pthread
|
2005-08-09 22:40:42 +00:00
|
|
|
endif
|
|
|
|
if OMPI_HAVE_SOLARIS_THREADS
|
|
|
|
AM_CPPFLAGS += -Isysdeps/solaris
|
|
|
|
endif
|
|
|
|
# this must come *after* the threads -Is
|
|
|
|
AM_CPPFLAGS += -Isysdeps/generic
|
|
|
|
|
|
|
|
# ptmalloc requires us to include the copyright notice in the
|
|
|
|
# software. So install it in the same place that we install ROMIO's
|
|
|
|
# copyright notices.
|
|
|
|
|
2005-09-22 12:28:54 +00:00
|
|
|
docdir = $(datadir)/openmpi/doc
|
|
|
|
doc_DATA = ptmalloc2-COPYRIGHT
|
2005-08-09 22:40:42 +00:00
|
|
|
|
2005-09-22 12:28:54 +00:00
|
|
|
noinst_LTLIBRARIES = libmca_memory_ptmalloc2.la
|
2005-08-09 22:40:42 +00:00
|
|
|
|
2005-08-13 01:08:34 +00:00
|
|
|
libmca_memory_ptmalloc2_la_SOURCES = \
|
2005-09-22 12:28:54 +00:00
|
|
|
ptmalloc2_component.c \
|
|
|
|
ptmalloc2_munmap.c \
|
|
|
|
malloc.c \
|
|
|
|
malloc-stats.c \
|
|
|
|
malloc.h
|
|
|
|
libmca_memory_ptmalloc2_la_LIBADD = \
|
|
|
|
$(top_ompi_builddir)/opal/libopal.la
|
|
|
|
|
2005-08-09 22:40:42 +00:00
|
|
|
# these are included directly and shouldn't be built solo
|
2005-08-13 01:08:34 +00:00
|
|
|
EXTRA_libmca_memory_ptmalloc2_la_SOURCES = \
|
2005-09-22 12:28:54 +00:00
|
|
|
arena.c \
|
|
|
|
hooks.c
|
2005-08-09 22:40:42 +00:00
|
|
|
|
2005-09-22 12:28:54 +00:00
|
|
|
EXTRA_DIST = \
|
|
|
|
ChangeLog \
|
|
|
|
README \
|
|
|
|
ChangeLog \
|
|
|
|
lran2.h \
|
|
|
|
t-test.h \
|
|
|
|
t-test1.c \
|
|
|
|
t-test2.c \
|
|
|
|
tst-mallocstate.c \
|
|
|
|
tst-mstats.c \
|
|
|
|
sysdeps/sproc/malloc-machine.h \
|
|
|
|
sysdeps/sproc/thread-st.h \
|
|
|
|
sysdeps/pthread/malloc-machine.h \
|
|
|
|
sysdeps/pthread/thread-st.h \
|
|
|
|
sysdeps/solaris/malloc-machine.h \
|
|
|
|
sysdeps/solaris/thread-st.h \
|
|
|
|
sysdeps/generic/malloc-machine.h \
|
|
|
|
sysdeps/generic/thread-st.h \
|
|
|
|
sysdeps/generic/atomic.h \
|
|
|
|
$(doc_DATA)
|