1# -*- makefile -*- 2# 3# Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana 4# University Research and Technology 5# Corporation. All rights reserved. 6# Copyright (c) 2004-2007 The University of Tennessee and The University 7# of Tennessee Research Foundation. All rights 8# reserved. 9# Copyright (c) 2004-2005 High Performance Computing Center Stuttgart, 10# University of Stuttgart. All rights reserved. 11# Copyright (c) 2004-2005 The Regents of the University of California. 12# All rights reserved. 13# Copyright (c) 2010-2015 Cisco Systems, Inc. All rights reserved. 14# Copyright (c) 2014 Research Organization for Information Science 15# and Technology (RIST). All rights reserved. 16# Copyright (c) 2016 IBM Corporation. All rights reserved. 17# $COPYRIGHT$ 18# 19# Additional copyrights may follow 20# 21# $HEADER$ 22# 23 24AM_CPPFLAGS="-I$(top_srcdir)/test/support" 25 26if PROJECT_OMPI 27 REQUIRES_OMPI = ompi_rb_tree 28endif 29 30check_PROGRAMS = \ 31 $(REQUIRES_OMPI) opal_bitmap \ 32 opal_hash_table \ 33 opal_proc_table \ 34 opal_tree \ 35 opal_list \ 36 opal_value_array \ 37 opal_pointer_array \ 38 opal_lifo \ 39 opal_fifo 40 41TESTS = $(check_PROGRAMS) 42 43opal_bitmap_SOURCES = opal_bitmap.c 44opal_bitmap_LDADD = \ 45 $(top_builddir)/opal/lib@OPAL_LIB_PREFIX@open-pal.la \ 46 $(top_builddir)/test/support/libsupport.a 47opal_bitmap_DEPENDENCIES = $(opal_bitmap_LDADD) 48 49opal_list_SOURCES = opal_list.c 50opal_list_LDADD = \ 51 $(top_builddir)/opal/lib@OPAL_LIB_PREFIX@open-pal.la \ 52 $(top_builddir)/test/support/libsupport.a 53opal_list_DEPENDENCIES = $(opal_list_LDADD) 54 55opal_tree_SOURCES = opal_tree.c 56opal_tree_LDADD = \ 57 $(top_builddir)/opal/lib@OPAL_LIB_PREFIX@open-pal.la \ 58 $(top_builddir)/test/support/libsupport.a 59opal_tree_DEPENDENCIES = $(opal_tree_LDADD) 60 61opal_hash_table_SOURCES = opal_hash_table.c 62opal_hash_table_LDADD = \ 63 $(top_builddir)/opal/lib@OPAL_LIB_PREFIX@open-pal.la \ 64 $(top_builddir)/test/support/libsupport.a 65opal_hash_table_DEPENDENCIES = $(opal_hash_table_LDADD) 66 67opal_proc_table_SOURCES = opal_proc_table.c 68opal_proc_table_LDADD = \ 69 $(top_builddir)/opal/lib@OPAL_LIB_PREFIX@open-pal.la \ 70 $(top_builddir)/test/support/libsupport.a 71opal_proc_table_DEPENDENCIES = $(opal_proc_table_LDADD) 72 73opal_pointer_array_SOURCES = opal_pointer_array.c 74opal_pointer_array_LDADD = \ 75 $(top_builddir)/opal/lib@OPAL_LIB_PREFIX@open-pal.la \ 76 $(top_builddir)/test/support/libsupport.a 77opal_pointer_array_DEPENDENCIES = $(opal_pointer_array_LDADD) 78 79opal_value_array_SOURCES = opal_value_array.c 80opal_value_array_LDADD = \ 81 $(top_builddir)/opal/lib@OPAL_LIB_PREFIX@open-pal.la \ 82 $(top_builddir)/test/support/libsupport.a 83opal_value_array_DEPENDENCIES = $(opal_value_array_LDADD) 84 85ompi_rb_tree_SOURCES = ompi_rb_tree.c 86ompi_rb_tree_LDADD = \ 87 $(top_builddir)/ompi/lib@OMPI_LIBMPI_NAME@.la \ 88 $(top_builddir)/opal/lib@OPAL_LIB_PREFIX@open-pal.la \ 89 $(top_builddir)/test/support/libsupport.a 90ompi_rb_tree_DEPENDENCIES = $(ompi_rb_tree_LDADD) 91 92opal_lifo_SOURCES = opal_lifo.c 93opal_lifo_LDADD = \ 94 $(top_builddir)/opal/lib@OPAL_LIB_PREFIX@open-pal.la \ 95 $(top_builddir)/test/support/libsupport.a 96opal_lifo_DEPENDENCIES = $(opal_lifo_LDADD) 97 98opal_fifo_SOURCES = opal_fifo.c 99opal_fifo_LDADD = \ 100 $(top_builddir)/opal/lib@OPAL_LIB_PREFIX@open-pal.la \ 101 $(top_builddir)/test/support/libsupport.a 102opal_fifo_DEPENDENCIES = $(opal_fifo_LDADD) 103 104clean-local: 105 rm -f opal_bitmap_test_out.txt opal_hash_table_test_out.txt opal_proc_table_test_out.txt 106 107distclean: 108 rm -rf *.dSYM .deps .libs *.log *.txt *.o *.trs $(check_PROGRAMS) Makefile 109