blob: 7212558ff34f4e8898662d60fedb3500aed61889 [file] [log] [blame]
Andrew Jeffery22778042017-01-13 22:37:26 +10301ACLOCAL_AMFLAGS = -I m4
Suraj Jitindar Singhddf0edb2017-03-28 10:50:40 +11002sbin_PROGRAMS = mboxd mboxctl
Andrew Jeffery22778042017-01-13 22:37:26 +10303
Andrew Jeffery41f211b2017-04-12 14:08:03 +09304mboxd_SOURCES = mboxd.c common.c mboxd_dbus.c mboxd_flash.c mboxd_lpc.c mboxd_msg.c mboxd_windows.c mtd.c
Suraj Jitindar Singhe39c9162017-03-28 10:47:43 +11005mboxd_LDFLAGS = $(LIBSYSTEMD_LIBS)
6mboxd_CFLAGS = $(LIBSYSTEMD_CFLAGS)
Suraj Jitindar Singhddf0edb2017-03-28 10:50:40 +11007
8mboxctl_SOURCES = mboxctl.c
9mboxctl_LDFLAGS = $(LIBSYSTEMD_LIBS)
10mboxctl_CFLAGS = $(LIBSYSTEMD_CFLAGS)
Andrew Jeffery65e21622017-04-12 20:25:31 +093011
12@CODE_COVERAGE_RULES@
13
14AM_LIBS = $(CODE_COVERAGE_LIBS)
15AM_CPPFLAGS = $(CODE_COVERAGE_CPPFLAGS)
16AM_CFLAGS = $(CODE_COVERAGE_CFLAGS)
Andrew Jeffery62af1ba2017-04-24 13:36:46 +093017
18test_sanity_SOURCES = test/sanity.c
19
Andrew Jeffery0484c752017-04-12 14:20:18 +093020test_copy_flash_SOURCES = test/copy_flash.c mboxd_flash.c common.c mtd.c test/tmpf.c
21
Andrew Jefferyf37ae022017-04-12 14:21:37 +093022test_erase_flash_SOURCES = test/erase_flash.c mboxd_flash.c common.c test/tmpf.c
23
Andrew Jeffery0484c752017-04-12 14:20:18 +093024check_PROGRAMS = test/sanity \
Andrew Jefferyf37ae022017-04-12 14:21:37 +093025 test/copy_flash \
26 test/erase_flash
Andrew Jeffery62af1ba2017-04-24 13:36:46 +093027
28TESTS = $(check_PROGRAMS)