Andrew Jeffery | 2277804 | 2017-01-13 22:37:26 +1030 | [diff] [blame] | 1 | ACLOCAL_AMFLAGS = -I m4 |
Suraj Jitindar Singh | ddf0edb | 2017-03-28 10:50:40 +1100 | [diff] [blame] | 2 | sbin_PROGRAMS = mboxd mboxctl |
Andrew Jeffery | 2277804 | 2017-01-13 22:37:26 +1030 | [diff] [blame] | 3 | |
Andrew Jeffery | 41f211b | 2017-04-12 14:08:03 +0930 | [diff] [blame] | 4 | mboxd_SOURCES = mboxd.c common.c mboxd_dbus.c mboxd_flash.c mboxd_lpc.c mboxd_msg.c mboxd_windows.c mtd.c |
Suraj Jitindar Singh | e39c916 | 2017-03-28 10:47:43 +1100 | [diff] [blame] | 5 | mboxd_LDFLAGS = $(LIBSYSTEMD_LIBS) |
| 6 | mboxd_CFLAGS = $(LIBSYSTEMD_CFLAGS) |
Suraj Jitindar Singh | ddf0edb | 2017-03-28 10:50:40 +1100 | [diff] [blame] | 7 | |
| 8 | mboxctl_SOURCES = mboxctl.c |
| 9 | mboxctl_LDFLAGS = $(LIBSYSTEMD_LIBS) |
| 10 | mboxctl_CFLAGS = $(LIBSYSTEMD_CFLAGS) |
Andrew Jeffery | 65e2162 | 2017-04-12 20:25:31 +0930 | [diff] [blame] | 11 | |
| 12 | @CODE_COVERAGE_RULES@ |
| 13 | |
| 14 | AM_LIBS = $(CODE_COVERAGE_LIBS) |
| 15 | AM_CPPFLAGS = $(CODE_COVERAGE_CPPFLAGS) |
| 16 | AM_CFLAGS = $(CODE_COVERAGE_CFLAGS) |
Andrew Jeffery | 62af1ba | 2017-04-24 13:36:46 +0930 | [diff] [blame] | 17 | |
| 18 | test_sanity_SOURCES = test/sanity.c |
| 19 | |
Andrew Jeffery | 0484c75 | 2017-04-12 14:20:18 +0930 | [diff] [blame] | 20 | test_copy_flash_SOURCES = test/copy_flash.c mboxd_flash.c common.c mtd.c test/tmpf.c |
| 21 | |
Andrew Jeffery | f37ae02 | 2017-04-12 14:21:37 +0930 | [diff] [blame] | 22 | test_erase_flash_SOURCES = test/erase_flash.c mboxd_flash.c common.c test/tmpf.c |
| 23 | |
Andrew Jeffery | 26b3567 | 2017-04-12 14:22:25 +0930 | [diff] [blame] | 24 | test_write_flash_SOURCES = test/write_flash.c mboxd_flash.c common.c test/tmpf.c |
| 25 | |
Andrew Jeffery | 0484c75 | 2017-04-12 14:20:18 +0930 | [diff] [blame] | 26 | check_PROGRAMS = test/sanity \ |
Andrew Jeffery | f37ae02 | 2017-04-12 14:21:37 +0930 | [diff] [blame] | 27 | test/copy_flash \ |
Andrew Jeffery | 26b3567 | 2017-04-12 14:22:25 +0930 | [diff] [blame] | 28 | test/erase_flash \ |
| 29 | test/write_flash |
Andrew Jeffery | 62af1ba | 2017-04-24 13:36:46 +0930 | [diff] [blame] | 30 | |
| 31 | TESTS = $(check_PROGRAMS) |