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 \ |
Andrew Jeffery | 6802307 | 2018-08-06 10:08:11 +0930 | [diff] [blame] | 7 | control.c \ |
| 8 | control_legacy.c \ |
Andrew Jeffery | 55f4d6f | 2018-08-06 12:26:44 +0930 | [diff] [blame] | 9 | control_dbus.c \ |
Andrew Jeffery | cd18611 | 2018-08-08 10:47:55 +0930 | [diff] [blame] | 10 | lpc.c \ |
Andrew Jeffery | 1e531af | 2018-08-07 13:32:57 +0930 | [diff] [blame] | 11 | protocol.c \ |
Andrew Jeffery | 23140be | 2018-09-05 14:15:07 +0930 | [diff] [blame] | 12 | transport_dbus.c \ |
Andrew Jeffery | 457a6e5 | 2018-08-08 11:21:08 +0930 | [diff] [blame] | 13 | transport_mbox.c \ |
Andrew Jeffery | f593b1b | 2018-08-08 11:01:04 +0930 | [diff] [blame] | 14 | windows.c \ |
Deepak Kodihalli | 393821d | 2017-04-28 04:44:38 -0500 | [diff] [blame] | 15 | mtd.c |
Suraj Jitindar Singh | e39c916 | 2017-03-28 10:47:43 +1100 | [diff] [blame] | 16 | mboxd_LDFLAGS = $(LIBSYSTEMD_LIBS) |
| 17 | mboxd_CFLAGS = $(LIBSYSTEMD_CFLAGS) |
Suraj Jitindar Singh | ddf0edb | 2017-03-28 10:50:40 +1100 | [diff] [blame] | 18 | |
Evan Lojewski | f1e547c | 2019-03-14 14:34:33 +1030 | [diff] [blame] | 19 | # MTD Backing storage |
| 20 | include mtd/Makefile.am.include |
| 21 | |
Evan Lojewski | a042978 | 2019-03-13 15:25:44 +1030 | [diff] [blame] | 22 | # File Backing storage |
| 23 | include file/Makefile.am.include |
| 24 | |
Deepak Kodihalli | 393821d | 2017-04-28 04:44:38 -0500 | [diff] [blame] | 25 | if VIRTUAL_PNOR_ENABLED |
Evan Lojewski | f1e547c | 2019-03-14 14:34:33 +1030 | [diff] [blame] | 26 | # VPNOR Backing storage |
Andrew Jeffery | 53c21aa | 2018-03-26 11:56:16 +1030 | [diff] [blame] | 27 | include vpnor/Makefile.am.include |
Deepak Kodihalli | 393821d | 2017-04-28 04:44:38 -0500 | [diff] [blame] | 28 | endif |
| 29 | |
Suraj Jitindar Singh | ddf0edb | 2017-03-28 10:50:40 +1100 | [diff] [blame] | 30 | mboxctl_SOURCES = mboxctl.c |
| 31 | mboxctl_LDFLAGS = $(LIBSYSTEMD_LIBS) |
| 32 | mboxctl_CFLAGS = $(LIBSYSTEMD_CFLAGS) |
Andrew Jeffery | 65e2162 | 2017-04-12 20:25:31 +0930 | [diff] [blame] | 33 | |
Andrew Jeffery | 7e3f20d | 2019-08-02 13:34:44 +0930 | [diff] [blame] | 34 | if AUTOCONF_CODE_COVERAGE_2019_01_06 |
| 35 | include $(top_srcdir)/aminclude_static.am |
| 36 | clean-local: code-coverage-clean |
| 37 | distclean-local: code-coverage-dist-clean |
| 38 | else |
Andrew Jeffery | 65e2162 | 2017-04-12 20:25:31 +0930 | [diff] [blame] | 39 | @CODE_COVERAGE_RULES@ |
Andrew Jeffery | 7e3f20d | 2019-08-02 13:34:44 +0930 | [diff] [blame] | 40 | endif |
Andrew Jeffery | 65e2162 | 2017-04-12 20:25:31 +0930 | [diff] [blame] | 41 | |
Andrew Jeffery | 8598591 | 2018-02-22 10:20:31 +1030 | [diff] [blame] | 42 | check_PROGRAMS = |
Andrew Jeffery | 17bbf45 | 2018-02-26 09:57:56 +1030 | [diff] [blame] | 43 | XFAIL_TESTS = |
Andrew Jeffery | 8598591 | 2018-02-22 10:20:31 +1030 | [diff] [blame] | 44 | |
Andrew Jeffery | fd7e0d9 | 2018-08-02 11:57:04 +0930 | [diff] [blame] | 45 | AM_LIBS = $(CODE_COVERAGE_LIBS) |
| 46 | AM_CPPFLAGS = $(CODE_COVERAGE_CPPFLAGS) -UNDEBUG |
| 47 | AM_CFLAGS = $(CODE_COVERAGE_CFLAGS) |
| 48 | AM_CXXFLAGS = $(CODE_COVERAGE_CXXFLAGS) |
| 49 | |
Andrew Jeffery | 5345c51 | 2018-02-21 21:36:59 +1030 | [diff] [blame] | 50 | include test/Makefile.am.include |
Andrew Jeffery | 81059e3 | 2019-03-19 14:53:01 +1030 | [diff] [blame] | 51 | |
| 52 | if VIRTUAL_PNOR_ENABLED |
Andrew Jeffery | 30bcf84 | 2018-03-26 12:13:20 +1030 | [diff] [blame] | 53 | include vpnor/test/Makefile.am.include |
Andrew Jeffery | 81059e3 | 2019-03-19 14:53:01 +1030 | [diff] [blame] | 54 | endif |
Deepak Kodihalli | 393821d | 2017-04-28 04:44:38 -0500 | [diff] [blame] | 55 | |
Andrew Jeffery | 62af1ba | 2017-04-24 13:36:46 +0930 | [diff] [blame] | 56 | TESTS = $(check_PROGRAMS) |
Andrew Jeffery | c5578d8 | 2018-08-03 13:52:33 +0930 | [diff] [blame] | 57 | |
| 58 | cscope.files: clean-cscope cscopelist-unique |
| 59 | |
| 60 | cscopelist-unique: cscopelist |
| 61 | sort -u cscope.files > cscope.files.u && mv cscope.files.u cscope.files |