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 | |
Deepak Kodihalli | 393821d | 2017-04-28 04:44:38 -0500 | [diff] [blame] | 4 | mboxd_SOURCES = \ |
| 5 | mboxd.c \ |
| 6 | common.c \ |
| 7 | mboxd_dbus.c \ |
Deepak Kodihalli | 393821d | 2017-04-28 04:44:38 -0500 | [diff] [blame] | 8 | mboxd_lpc.c \ |
| 9 | mboxd_msg.c \ |
| 10 | mboxd_windows.c \ |
| 11 | mtd.c |
Suraj Jitindar Singh | e39c916 | 2017-03-28 10:47:43 +1100 | [diff] [blame] | 12 | mboxd_LDFLAGS = $(LIBSYSTEMD_LIBS) |
| 13 | mboxd_CFLAGS = $(LIBSYSTEMD_CFLAGS) |
Suraj Jitindar Singh | ddf0edb | 2017-03-28 10:50:40 +1100 | [diff] [blame] | 14 | |
Deepak Kodihalli | 393821d | 2017-04-28 04:44:38 -0500 | [diff] [blame] | 15 | if VIRTUAL_PNOR_ENABLED |
Ratan Gupta | b032758 | 2017-06-28 18:26:14 +0530 | [diff] [blame] | 16 | mboxd_SOURCES += pnor_partition_table.cpp \ |
| 17 | mboxd_pnor_partition_table.cpp \ |
Ratan Gupta | c0ef987 | 2017-06-06 14:31:37 +0530 | [diff] [blame] | 18 | mboxd_flash_virtual.cpp \ |
Deepak Kodihalli | 017e45c | 2017-07-12 01:06:30 -0500 | [diff] [blame] | 19 | pnor_partition.cpp \ |
| 20 | mboxd_lpc_virtual.cpp |
Ratan Gupta | b032758 | 2017-06-28 18:26:14 +0530 | [diff] [blame] | 21 | |
| 22 | mboxd_LDFLAGS += -lstdc++fs \ |
| 23 | $(SDBUSPLUS_LIBS) \ |
| 24 | $(PHOSPHOR_LOGGING_LIBS) \ |
| 25 | $(PHOSPHOR_DBUS_INTERFACES_LIBS) |
Deepak Kodihalli | 6c2fa90 | 2017-05-01 06:36:02 -0500 | [diff] [blame] | 26 | else |
Deepak Kodihalli | 017e45c | 2017-07-12 01:06:30 -0500 | [diff] [blame] | 27 | mboxd_SOURCES += mboxd_flash_physical.c \ |
| 28 | mboxd_lpc_physical.c |
Deepak Kodihalli | 393821d | 2017-04-28 04:44:38 -0500 | [diff] [blame] | 29 | endif |
| 30 | |
Suraj Jitindar Singh | ddf0edb | 2017-03-28 10:50:40 +1100 | [diff] [blame] | 31 | mboxctl_SOURCES = mboxctl.c |
| 32 | mboxctl_LDFLAGS = $(LIBSYSTEMD_LIBS) |
| 33 | mboxctl_CFLAGS = $(LIBSYSTEMD_CFLAGS) |
Andrew Jeffery | 65e2162 | 2017-04-12 20:25:31 +0930 | [diff] [blame] | 34 | |
| 35 | @CODE_COVERAGE_RULES@ |
| 36 | |
Andrew Jeffery | 8598591 | 2018-02-22 10:20:31 +1030 | [diff] [blame] | 37 | check_PROGRAMS = |
Andrew Jeffery | 17bbf45 | 2018-02-26 09:57:56 +1030 | [diff] [blame] | 38 | XFAIL_TESTS = |
Andrew Jeffery | 8598591 | 2018-02-22 10:20:31 +1030 | [diff] [blame] | 39 | |
Andrew Jeffery | 5345c51 | 2018-02-21 21:36:59 +1030 | [diff] [blame] | 40 | include test/Makefile.am.include |
Andrew Jeffery | 8598591 | 2018-02-22 10:20:31 +1030 | [diff] [blame] | 41 | include test/vpnor/Makefile.am.include |
Deepak Kodihalli | 393821d | 2017-04-28 04:44:38 -0500 | [diff] [blame] | 42 | |
Andrew Jeffery | 62af1ba | 2017-04-24 13:36:46 +0930 | [diff] [blame] | 43 | TESTS = $(check_PROGRAMS) |