| 1 | # SPDX-License-Identifier: LGPL-2.1-only |
| 2 | |
| 3 | AM_CPPFLAGS += -I$(top_srcdir)/tests/utils |
| 4 | |
| 5 | noinst_PROGRAMS = \ |
| 6 | get_cpu_mask_from_sysfs \ |
| 7 | get_max_cpuid_from_sysfs \ |
| 8 | test_get_max_cpuid_from_mask \ |
| 9 | test_get_possible_cpus_array_len |
| 10 | |
| 11 | dist_noinst_SCRIPTS = \ |
| 12 | test_get_cpu_mask_from_sysfs \ |
| 13 | test_get_max_cpuid_from_sysfs |
| 14 | |
| 15 | get_cpu_mask_from_sysfs_SOURCES = get_cpu_mask_from_sysfs.c |
| 16 | get_cpu_mask_from_sysfs_LDADD = \ |
| 17 | $(top_builddir)/src/common/libcommon.la |
| 18 | |
| 19 | get_max_cpuid_from_sysfs_SOURCES = get_max_cpuid_from_sysfs.c |
| 20 | get_max_cpuid_from_sysfs_LDADD = \ |
| 21 | $(top_builddir)/src/common/libcommon.la |
| 22 | |
| 23 | test_get_max_cpuid_from_mask_SOURCES = test_get_max_cpuid_from_mask.c |
| 24 | test_get_max_cpuid_from_mask_LDADD = \ |
| 25 | $(top_builddir)/src/common/libcommon.la \ |
| 26 | $(top_builddir)/tests/utils/libtap.a |
| 27 | |
| 28 | test_get_possible_cpus_array_len_SOURCES = test_get_possible_cpus_array_len.c |
| 29 | test_get_possible_cpus_array_len_LDADD = \ |
| 30 | $(top_builddir)/src/common/libcommon.la \ |
| 31 | $(top_builddir)/tests/utils/libtap.a |