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 34@CODE_COVERAGE_RULES@ 35 36check_PROGRAMS = 37XFAIL_TESTS = 38 39AM_LIBS = $(CODE_COVERAGE_LIBS) 40AM_CPPFLAGS = $(CODE_COVERAGE_CPPFLAGS) -UNDEBUG 41AM_CFLAGS = $(CODE_COVERAGE_CFLAGS) 42AM_CXXFLAGS = $(CODE_COVERAGE_CXXFLAGS) 43 44include test/Makefile.am.include 45 46if VIRTUAL_PNOR_ENABLED 47include vpnor/test/Makefile.am.include 48endif 49 50TESTS = $(check_PROGRAMS) 51 52cscope.files: clean-cscope cscopelist-unique 53 54cscopelist-unique: cscopelist 55 sort -u cscope.files > cscope.files.u && mv cscope.files.u cscope.files 56