blob: 384af502609ac3f80cb514d7d1c744af8ff39761 [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
Deepak Kodihalli393821d2017-04-28 04:44:38 -05004mboxd_SOURCES = \
5 mboxd.c \
6 common.c \
7 mboxd_dbus.c \
Deepak Kodihalli393821d2017-04-28 04:44:38 -05008 mboxd_lpc.c \
9 mboxd_msg.c \
10 mboxd_windows.c \
11 mtd.c
Suraj Jitindar Singhe39c9162017-03-28 10:47:43 +110012mboxd_LDFLAGS = $(LIBSYSTEMD_LIBS)
13mboxd_CFLAGS = $(LIBSYSTEMD_CFLAGS)
Suraj Jitindar Singhddf0edb2017-03-28 10:50:40 +110014
Deepak Kodihalli393821d2017-04-28 04:44:38 -050015if VIRTUAL_PNOR_ENABLED
Andrew Jeffery53c21aa2018-03-26 11:56:16 +103016include vpnor/Makefile.am.include
Deepak Kodihalli6c2fa902017-05-01 06:36:02 -050017else
Andrew Jeffery53c21aa2018-03-26 11:56:16 +103018mboxd_SOURCES += mboxd_flash.c \
19 mboxd_lpc_reset.c
Deepak Kodihalli393821d2017-04-28 04:44:38 -050020endif
21
Suraj Jitindar Singhddf0edb2017-03-28 10:50:40 +110022mboxctl_SOURCES = mboxctl.c
23mboxctl_LDFLAGS = $(LIBSYSTEMD_LIBS)
24mboxctl_CFLAGS = $(LIBSYSTEMD_CFLAGS)
Andrew Jeffery65e21622017-04-12 20:25:31 +093025
26@CODE_COVERAGE_RULES@
27
Andrew Jeffery85985912018-02-22 10:20:31 +103028check_PROGRAMS =
Andrew Jeffery17bbf452018-02-26 09:57:56 +103029XFAIL_TESTS =
Andrew Jeffery85985912018-02-22 10:20:31 +103030
Andrew Jeffery5345c512018-02-21 21:36:59 +103031include test/Makefile.am.include
Andrew Jeffery30bcf842018-03-26 12:13:20 +103032include vpnor/test/Makefile.am.include
Deepak Kodihalli393821d2017-04-28 04:44:38 -050033
Andrew Jeffery62af1ba2017-04-24 13:36:46 +093034TESTS = $(check_PROGRAMS)