| 1 |
# SPDX-License-Identifier: BSD-3-Clause |
| 2 |
# Copyright 2022-2023, Intel Corporation |
| 3 |
|
| 4 |
# |
| 5 |
# src/test/pmem2_mover/Makefile -- build pmem2_mover test |
| 6 |
# |
| 7 |
TOP = ../../.. |
| 8 |
|
| 9 |
vpath %.c $(TOP)/src/test/unittest |
| 10 |
|
| 11 |
TARGET = pmem2_mover |
| 12 |
OBJS = pmem2_mover.o\ |
| 13 |
ut_pmem2_utils.o\ |
| 14 |
ut_pmem2_config.o\ |
| 15 |
ut_pmem2_source.o\ |
| 16 |
ut_pmem2_setup_integration.o |
| 17 |
|
| 18 |
LIBPMEM2=y |
| 19 |
LIBMINIASYNC=y |
| 20 |
include ../Makefile.inc |
| 21 |
|
| 22 |
# Miniasync support is deprecated. |
| 23 |
# This flag allows to build tests, examples and benchmarks |
| 24 |
# using miniasync despite the deprecated state. |
| 25 |
CFLAGS += -Wno-deprecated-declarations |