| ACLOCAL_AMFLAGS = -I m4 |
| sbin_PROGRAMS = mboxd mboxctl |
| |
| mboxd_SOURCES = mboxd.c common.c mboxd_dbus.c mboxd_flash.c mboxd_lpc.c mboxd_msg.c mboxd_windows.c mtd.c |
| mboxd_LDFLAGS = $(LIBSYSTEMD_LIBS) |
| mboxd_CFLAGS = $(LIBSYSTEMD_CFLAGS) |
| |
| mboxctl_SOURCES = mboxctl.c |
| mboxctl_LDFLAGS = $(LIBSYSTEMD_LIBS) |
| mboxctl_CFLAGS = $(LIBSYSTEMD_CFLAGS) |
| |
| @CODE_COVERAGE_RULES@ |
| |
| AM_LIBS = $(CODE_COVERAGE_LIBS) |
| AM_CPPFLAGS = $(CODE_COVERAGE_CPPFLAGS) |
| AM_CFLAGS = $(CODE_COVERAGE_CFLAGS) |
| |
| test_sanity_SOURCES = test/sanity.c |
| |
| test_copy_flash_SOURCES = test/copy_flash.c mboxd_flash.c common.c mtd.c test/tmpf.c |
| |
| test_erase_flash_SOURCES = test/erase_flash.c mboxd_flash.c common.c test/tmpf.c |
| |
| test_write_flash_SOURCES = test/write_flash.c mboxd_flash.c common.c test/tmpf.c |
| |
| TEST_MBOX_SRCS = mboxd_msg.c mboxd_windows.c mboxd_lpc.c mboxd_flash.c common.c |
| TEST_MOCK_SRCS = test/tmpf.c test/mbox.c test/system.c |
| |
| test_get_mbox_info_v2_SOURCES = test/get_mbox_info_v2.c \ |
| $(TEST_MBOX_SRCS) $(TEST_MOCK_SRCS) |
| |
| check_PROGRAMS = test/sanity \ |
| test/copy_flash \ |
| test/erase_flash \ |
| test/write_flash \ |
| test/get_mbox_info_v2 |
| |
| TESTS = $(check_PROGRAMS) |