2005-01-28 00:08:35 +03: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.
|
2015-06-24 06:59:57 +03:00
|
|
|
# Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
|
2005-01-28 00:08:35 +03:00
|
|
|
# University of Stuttgart. All rights reserved.
|
2005-03-24 15:43:37 +03:00
|
|
|
# Copyright (c) 2004-2005 The Regents of the University of California.
|
|
|
|
# All rights reserved.
|
2005-01-28 00:08:35 +03:00
|
|
|
# $COPYRIGHT$
|
2015-06-24 06:59:57 +03:00
|
|
|
#
|
2005-01-28 00:08:35 +03:00
|
|
|
# Additional copyrights may follow
|
2015-06-24 06:59:57 +03:00
|
|
|
#
|
2005-01-28 00:08:35 +03:00
|
|
|
# $HEADER$
|
|
|
|
#
|
|
|
|
|
2005-09-07 09:54:53 +04:00
|
|
|
|
2005-01-28 00:08:35 +03:00
|
|
|
|
2005-04-28 19:04:00 +04:00
|
|
|
TESTS_ENVIRONMENT = $(SHELL) $(srcdir)/run_tests
|
2005-01-28 00:08:35 +03:00
|
|
|
|
|
|
|
check_PROGRAMS = \
|
|
|
|
atomic_barrier \
|
2005-01-28 22:31:24 +03:00
|
|
|
atomic_barrier_noinline \
|
2005-04-18 23:33:23 +04:00
|
|
|
atomic_spinlock \
|
|
|
|
atomic_spinlock_noinline \
|
|
|
|
atomic_math \
|
|
|
|
atomic_math_noinline \
|
|
|
|
atomic_cmpset \
|
|
|
|
atomic_cmpset_noinline
|
2005-01-28 00:08:35 +03:00
|
|
|
|
2005-03-22 07:25:01 +03:00
|
|
|
TESTS = \
|
|
|
|
$(check_PROGRAMS)
|
|
|
|
|
2005-04-18 23:33:23 +04:00
|
|
|
EXTRA_DIST = run_tests
|
|
|
|
|
2005-01-28 00:08:35 +03:00
|
|
|
######################################################################
|
|
|
|
|
|
|
|
atomic_barrier_SOURCES = atomic_barrier.c
|
2005-07-04 18:53:10 +04:00
|
|
|
atomic_barrier_LDADD = $(top_builddir)/opal/asm/libasm.la
|
2005-01-28 00:08:35 +03:00
|
|
|
|
2005-02-15 00:36:59 +03:00
|
|
|
atomic_barrier_noinline.c:
|
2005-03-22 07:25:01 +03:00
|
|
|
ln -s $(top_srcdir)/test/asm/atomic_barrier.c atomic_barrier_noinline.c
|
2005-01-28 22:31:24 +03:00
|
|
|
atomic_barrier_noinline_SOURCES = atomic_barrier_noinline.c
|
2005-07-04 18:53:10 +04:00
|
|
|
atomic_barrier_noinline_LDADD = $(top_builddir)/opal/asm/libasm.la
|
2005-02-15 00:36:59 +03:00
|
|
|
atomic_barrier_noinline_CFLAGS = $(AM_CFLAGS) -DOMPI_DISABLE_INLINE_ASM
|
2005-01-28 22:31:24 +03:00
|
|
|
|
2005-01-28 00:08:35 +03:00
|
|
|
######################################################################
|
|
|
|
|
2005-04-18 23:33:23 +04:00
|
|
|
atomic_spinlock_SOURCES = atomic_spinlock.c
|
2005-07-04 18:53:10 +04:00
|
|
|
atomic_spinlock_LDADD = $(top_builddir)/opal/asm/libasm.la $(libs)
|
2005-02-15 00:36:59 +03:00
|
|
|
|
2005-04-18 23:33:23 +04:00
|
|
|
atomic_spinlock_noinline.c:
|
|
|
|
ln -s $(top_srcdir)/test/asm/atomic_spinlock.c atomic_spinlock_noinline.c
|
|
|
|
atomic_spinlock_noinline_SOURCES = atomic_spinlock_noinline.c
|
|
|
|
atomic_spinlock_noinline_CFLAGS = $(AM_CFLAGS) -DOMPI_DISABLE_INLINE_ASM
|
2005-07-04 18:53:10 +04:00
|
|
|
atomic_spinlock_noinline_LDADD = $(top_builddir)/opal/asm/libasm.la $(libs)
|
2005-02-15 00:36:59 +03:00
|
|
|
|
2005-01-28 00:08:35 +03:00
|
|
|
######################################################################
|
|
|
|
|
2005-04-18 23:33:23 +04:00
|
|
|
atomic_math_SOURCES = atomic_math.c
|
2005-07-04 18:53:10 +04:00
|
|
|
atomic_math_LDADD = $(top_builddir)/opal/asm/libasm.la $(libs)
|
2005-01-28 00:08:35 +03:00
|
|
|
|
2005-04-18 23:33:23 +04:00
|
|
|
atomic_math_noinline.c:
|
|
|
|
ln -s $(top_srcdir)/test/asm/atomic_math.c atomic_math_noinline.c
|
|
|
|
atomic_math_noinline_SOURCES = atomic_math_noinline.c
|
|
|
|
atomic_math_noinline_CFLAGS = $(AM_CFLAGS) -DOMPI_DISABLE_INLINE_ASM
|
2005-07-04 18:53:10 +04:00
|
|
|
atomic_math_noinline_LDADD = $(top_builddir)/opal/asm/libasm.la $(libs)
|
2005-01-28 22:31:24 +03:00
|
|
|
|
2005-01-28 00:08:35 +03:00
|
|
|
######################################################################
|
|
|
|
|
2005-04-18 23:33:23 +04:00
|
|
|
atomic_cmpset_SOURCES = atomic_cmpset.c
|
2005-07-04 18:53:10 +04:00
|
|
|
atomic_cmpset_LDADD = $(top_builddir)/opal/asm/libasm.la $(libs)
|
2005-01-28 00:08:35 +03:00
|
|
|
|
2005-04-18 23:33:23 +04:00
|
|
|
atomic_cmpset_noinline.c:
|
|
|
|
ln -s $(top_srcdir)/test/asm/atomic_cmpset.c atomic_cmpset_noinline.c
|
|
|
|
atomic_cmpset_noinline_SOURCES = atomic_cmpset_noinline.c
|
|
|
|
atomic_cmpset_noinline_CFLAGS = $(AM_CFLAGS) -DOMPI_DISABLE_INLINE_ASM
|
2005-07-04 18:53:10 +04:00
|
|
|
atomic_cmpset_noinline_LDADD = $(top_builddir)/opal/asm/libasm.la $(libs)
|
2005-01-28 22:31:24 +03:00
|
|
|
|
2005-01-28 00:08:35 +03:00
|
|
|
######################################################################
|
|
|
|
|
2005-02-15 00:36:59 +03:00
|
|
|
|
2006-03-21 06:14:49 +03:00
|
|
|
maintainer-clean-local:
|
2005-04-18 23:33:23 +04:00
|
|
|
rm -f atomic_barrier_noinline.c \
|
|
|
|
atomic_spinlock_noinline.c \
|
|
|
|
atomic_math_noinline.c \
|
|
|
|
atomic_cmpset_noinline.c
|