|
Packit |
345191 |
#
|
|
Packit |
345191 |
# Copyright (C) 2014 - 2019 Intel Corporation.
|
|
Packit |
345191 |
# All rights reserved.
|
|
Packit |
345191 |
#
|
|
Packit |
345191 |
# Redistribution and use in source and binary forms, with or without
|
|
Packit |
345191 |
# modification, are permitted provided that the following conditions are met:
|
|
Packit |
345191 |
# 1. Redistributions of source code must retain the above copyright notice(s),
|
|
Packit |
345191 |
# this list of conditions and the following disclaimer.
|
|
Packit |
345191 |
# 2. Redistributions in binary form must reproduce the above copyright notice(s),
|
|
Packit |
345191 |
# this list of conditions and the following disclaimer in the documentation
|
|
Packit |
345191 |
# and/or other materials provided with the distribution.
|
|
Packit |
345191 |
#
|
|
Packit |
345191 |
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) ``AS IS'' AND ANY EXPRESS
|
|
Packit |
345191 |
# OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
|
Packit |
345191 |
# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
|
|
Packit |
345191 |
# EVENT SHALL THE COPYRIGHT HOLDER(S) BE LIABLE FOR ANY DIRECT, INDIRECT,
|
|
Packit |
345191 |
# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
|
Packit |
345191 |
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
|
|
Packit |
345191 |
# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
|
Packit |
345191 |
# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
|
|
Packit |
345191 |
# OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
|
|
Packit |
345191 |
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
Packit |
345191 |
#
|
|
Packit |
345191 |
|
|
Packit |
345191 |
noinst_PROGRAMS += examples/autohbw_candidates \
|
|
Packit |
345191 |
examples/filter_memkind \
|
|
Packit |
345191 |
examples/hello_hbw \
|
|
Packit |
345191 |
examples/hello_memkind \
|
|
Packit |
345191 |
examples/hello_memkind_debug \
|
|
Packit |
345191 |
examples/memkind_get_stat \
|
|
Packit |
345191 |
examples/pmem_alignment \
|
|
Packit |
345191 |
examples/pmem_and_dax_kmem_kind \
|
|
Packit |
345191 |
examples/pmem_and_default_kind \
|
|
Packit |
345191 |
examples/pmem_config \
|
|
Packit |
345191 |
examples/pmem_detect_kind \
|
|
Packit |
345191 |
examples/pmem_free_with_unknown_kind \
|
|
Packit |
345191 |
examples/pmem_kinds \
|
|
Packit |
345191 |
examples/pmem_malloc \
|
|
Packit |
345191 |
examples/pmem_malloc_unlimited \
|
|
Packit |
345191 |
examples/pmem_multithreads \
|
|
Packit |
345191 |
examples/pmem_multithreads_onekind \
|
|
Packit |
345191 |
examples/pmem_usable_size \
|
|
Packit |
345191 |
# end
|
|
Packit |
345191 |
if HAVE_CXX11
|
|
Packit |
345191 |
noinst_PROGRAMS += examples/memkind_allocated
|
|
Packit |
345191 |
noinst_PROGRAMS += examples/memkind_cpp_allocator
|
|
Packit |
345191 |
noinst_PROGRAMS += examples/pmem_cpp_allocator
|
|
Packit |
345191 |
endif
|
|
Packit |
345191 |
|
|
Packit |
345191 |
examples_autohbw_candidates_LDADD = libmemkind.la
|
|
Packit |
345191 |
examples_filter_memkind_LDADD = libmemkind.la
|
|
Packit |
345191 |
examples_hello_hbw_LDADD = libmemkind.la
|
|
Packit |
345191 |
examples_hello_memkind_LDADD = libmemkind.la
|
|
Packit |
345191 |
examples_hello_memkind_debug_LDADD = libmemkind.la
|
|
Packit |
345191 |
examples_memkind_get_stat_LDADD = libmemkind.la
|
|
Packit |
345191 |
examples_pmem_alignment_LDADD = libmemkind.la
|
|
Packit |
345191 |
examples_pmem_and_dax_kmem_kind_LDADD = libmemkind.la
|
|
Packit |
345191 |
examples_pmem_and_default_kind_LDADD = libmemkind.la
|
|
Packit |
345191 |
examples_pmem_config_LDADD = libmemkind.la
|
|
Packit |
345191 |
examples_pmem_detect_kind_LDADD = libmemkind.la
|
|
Packit |
345191 |
examples_pmem_free_with_unknown_kind_LDADD = libmemkind.la
|
|
Packit |
345191 |
examples_pmem_kinds_LDADD = libmemkind.la
|
|
Packit |
345191 |
examples_pmem_malloc_LDADD = libmemkind.la
|
|
Packit |
345191 |
examples_pmem_malloc_unlimited_LDADD = libmemkind.la
|
|
Packit |
345191 |
examples_pmem_multithreads_LDADD = libmemkind.la
|
|
Packit |
345191 |
examples_pmem_multithreads_onekind_LDADD = libmemkind.la
|
|
Packit |
345191 |
examples_pmem_usable_size_LDADD = libmemkind.la
|
|
Packit |
345191 |
|
|
Packit |
345191 |
if HAVE_CXX11
|
|
Packit |
345191 |
examples_memkind_allocated_LDADD = libmemkind.la
|
|
Packit |
345191 |
examples_memkind_cpp_allocator_LDADD = libmemkind.la
|
|
Packit |
345191 |
examples_pmem_cpp_allocator_LDADD = libmemkind.la
|
|
Packit |
345191 |
endif
|
|
Packit |
345191 |
|
|
Packit |
345191 |
examples_autohbw_candidates_SOURCES = examples/autohbw_candidates.c
|
|
Packit |
345191 |
examples_filter_memkind_SOURCES = examples/filter_example.c
|
|
Packit |
345191 |
examples_hello_hbw_SOURCES = examples/hello_hbw_example.c
|
|
Packit |
345191 |
examples_hello_memkind_SOURCES = examples/hello_memkind_example.c
|
|
Packit |
345191 |
examples_hello_memkind_debug_SOURCES = examples/hello_memkind_example.c examples/memkind_decorator_debug.c
|
|
Packit |
345191 |
examples_pmem_alignment_SOURCES = examples/pmem_alignment.c
|
|
Packit |
345191 |
examples_pmem_and_dax_kmem_kind_SOURCES = examples/pmem_and_dax_kmem_kind.c
|
|
Packit |
345191 |
examples_pmem_and_default_kind_SOURCES = examples/pmem_and_default_kind.c
|
|
Packit |
345191 |
examples_pmem_config_SOURCES = examples/pmem_config.c
|
|
Packit |
345191 |
examples_pmem_detect_kind_SOURCES = examples/pmem_detect_kind.c
|
|
Packit |
345191 |
examples_pmem_free_with_unknown_kind_SOURCES = examples/pmem_free_with_unknown_kind.c
|
|
Packit |
345191 |
examples_pmem_kinds_SOURCES = examples/pmem_kinds.c
|
|
Packit |
345191 |
examples_pmem_malloc_SOURCES = examples/pmem_malloc.c
|
|
Packit |
345191 |
examples_pmem_malloc_unlimited_SOURCES = examples/pmem_malloc_unlimited.c
|
|
Packit |
345191 |
examples_pmem_multithreads_SOURCES = examples/pmem_multithreads.c
|
|
Packit |
345191 |
examples_pmem_multithreads_onekind_SOURCES = examples/pmem_multithreads_onekind.c
|
|
Packit |
345191 |
examples_pmem_usable_size_SOURCES = examples/pmem_usable_size.c
|
|
Packit |
345191 |
if HAVE_CXX11
|
|
Packit |
345191 |
examples_memkind_allocated_SOURCES = examples/memkind_allocated_example.cpp examples/memkind_allocated.hpp
|
|
Packit |
345191 |
examples_memkind_cpp_allocator_SOURCES = examples/memkind_cpp_allocator.cpp
|
|
Packit |
345191 |
examples_pmem_cpp_allocator_SOURCES = examples/pmem_cpp_allocator.cpp
|
|
Packit |
345191 |
endif
|
|
Packit |
345191 |
|
|
Packit |
345191 |
clean-local:
|
|
Packit |
345191 |
rm -f examples/*.gcno examples/*.gcda
|