niobe/third_party/mtd-utils/tests/mtd-tests/Makemodule.am

38 lines
1.1 KiB
Plaintext

flash_torture_SOURCES = tests/mtd-tests/flash_torture.c
flash_torture_LDADD = libmtd.a
flash_torture_CPPFLAGS = $(AM_CPPFLAGS)
flash_stress_SOURCES = tests/mtd-tests/flash_stress.c
flash_stress_LDADD = libmtd.a
flash_stress_CPPFLAGS = $(AM_CPPFLAGS)
flash_speed_SOURCES = tests/mtd-tests/flash_speed.c
flash_speed_LDADD = libmtd.a
flash_speed_CPPFLAGS = $(AM_CPPFLAGS)
nandbiterrs_SOURCES = tests/mtd-tests/nandbiterrs.c
nandbiterrs_LDADD = libmtd.a
nandbiterrs_CPPFLAGS = $(AM_CPPFLAGS)
flash_readtest_SOURCES = tests/mtd-tests/flash_readtest.c
flash_readtest_LDADD = libmtd.a
flash_readtest_CPPFLAGS = $(AM_CPPFLAGS)
nandpagetest_SOURCES = tests/mtd-tests/nandpagetest.c
nandpagetest_LDADD = libmtd.a
nandpagetest_CPPFLAGS = $(AM_CPPFLAGS)
nandsubpagetest_SOURCES = tests/mtd-tests/nandsubpagetest.c
nandsubpagetest_LDADD = libmtd.a
nandsubpagetest_CPPFLAGS = $(AM_CPPFLAGS)
MTDTEST_BINS = \
flash_torture flash_stress flash_speed nandbiterrs flash_readtest \
nandpagetest nandsubpagetest
if INSTALL_TESTS
pkglibexec_PROGRAMS += $(MTDTEST_BINS)
else
noinst_PROGRAMS += $(MTDTEST_BINS)
endif