1ACLOCAL_AMFLAGS = -I m4 2sbin_PROGRAMS = mboxd mboxctl 3 4mboxd_SOURCES = \ 5 mboxd.c \ 6 common.c \ 7 mboxd_dbus.c \ 8 mboxd_lpc.c \ 9 mboxd_msg.c \ 10 mboxd_windows.c \ 11 mtd.c 12mboxd_LDFLAGS = $(LIBSYSTEMD_LIBS) 13mboxd_CFLAGS = $(LIBSYSTEMD_CFLAGS) 14 15if VIRTUAL_PNOR_ENABLED 16mboxd_SOURCES += pnor_partition_table.cpp \ 17 mboxd_pnor_partition_table.cpp \ 18 mboxd_flash_virtual.cpp \ 19 pnor_partition.cpp \ 20 mboxd_lpc_virtual.cpp 21 22mboxd_LDFLAGS += -lstdc++fs \ 23 $(SDBUSPLUS_LIBS) \ 24 $(PHOSPHOR_LOGGING_LIBS) \ 25 $(PHOSPHOR_DBUS_INTERFACES_LIBS) 26else 27mboxd_SOURCES += mboxd_flash_physical.c \ 28 mboxd_lpc_physical.c 29endif 30 31mboxctl_SOURCES = mboxctl.c 32mboxctl_LDFLAGS = $(LIBSYSTEMD_LIBS) 33mboxctl_CFLAGS = $(LIBSYSTEMD_CFLAGS) 34 35@CODE_COVERAGE_RULES@ 36 37check_PROGRAMS = 38XFAIL_TESTS = 39 40include test/Makefile.am.include 41include test/vpnor/Makefile.am.include 42 43TESTS = $(check_PROGRAMS) 44