1ACLOCAL_AMFLAGS = -I m4 2sbin_PROGRAMS = mboxd mboxctl 3 4mboxd_SOURCES = \ 5 mboxd.c \ 6 common.c \ 7 control.c \ 8 control_legacy.c \ 9 control_dbus.c \ 10 lpc.c \ 11 protocol.c \ 12 transport_dbus.c \ 13 transport_mbox.c \ 14 windows.c \ 15 mtd.c 16mboxd_LDFLAGS = $(LIBSYSTEMD_LIBS) 17mboxd_CFLAGS = $(LIBSYSTEMD_CFLAGS) 18 19# MTD Backing storage 20include mtd/Makefile.am.include 21 22# File Backing storage 23include file/Makefile.am.include 24 25if VIRTUAL_PNOR_ENABLED 26# VPNOR Backing storage 27include vpnor/Makefile.am.include 28endif 29 30mboxctl_SOURCES = mboxctl.c 31mboxctl_LDFLAGS = $(LIBSYSTEMD_LIBS) 32mboxctl_CFLAGS = $(LIBSYSTEMD_CFLAGS) 33 34if AUTOCONF_CODE_COVERAGE_2019_01_06 35include $(top_srcdir)/aminclude_static.am 36clean-local: code-coverage-clean 37distclean-local: code-coverage-dist-clean 38else 39@CODE_COVERAGE_RULES@ 40endif 41 42check_PROGRAMS = 43XFAIL_TESTS = 44 45AM_LIBS = $(CODE_COVERAGE_LIBS) 46AM_CPPFLAGS = $(CODE_COVERAGE_CPPFLAGS) -UNDEBUG 47AM_CFLAGS = $(CODE_COVERAGE_CFLAGS) 48AM_CXXFLAGS = $(CODE_COVERAGE_CXXFLAGS) 49 50include test/Makefile.am.include 51 52if VIRTUAL_PNOR_ENABLED 53include vpnor/test/Makefile.am.include 54endif 55 56TESTS = $(check_PROGRAMS) 57 58cscope.files: clean-cscope cscopelist-unique 59 60cscopelist-unique: cscopelist 61 sort -u cscope.files > cscope.files.u && mv cscope.files.u cscope.files 62