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 transport_mbox.c \ 12 windows.c \ 13 mtd.c 14mboxd_LDFLAGS = $(LIBSYSTEMD_LIBS) 15mboxd_CFLAGS = $(LIBSYSTEMD_CFLAGS) 16 17if VIRTUAL_PNOR_ENABLED 18include vpnor/Makefile.am.include 19else 20mboxd_SOURCES += flash.c \ 21 lpc_reset.c 22endif 23 24mboxctl_SOURCES = mboxctl.c 25mboxctl_LDFLAGS = $(LIBSYSTEMD_LIBS) 26mboxctl_CFLAGS = $(LIBSYSTEMD_CFLAGS) 27 28@CODE_COVERAGE_RULES@ 29 30check_PROGRAMS = 31XFAIL_TESTS = 32 33AM_LIBS = $(CODE_COVERAGE_LIBS) 34AM_CPPFLAGS = $(CODE_COVERAGE_CPPFLAGS) -UNDEBUG 35AM_CFLAGS = $(CODE_COVERAGE_CFLAGS) 36AM_CXXFLAGS = $(CODE_COVERAGE_CXXFLAGS) 37 38include test/Makefile.am.include 39include vpnor/test/Makefile.am.include 40 41TESTS = $(check_PROGRAMS) 42 43cscope.files: clean-cscope cscopelist-unique 44 45cscopelist-unique: cscopelist 46 sort -u cscope.files > cscope.files.u && mv cscope.files.u cscope.files 47