c33d3f93abf8392fdc60e12bea41ffd12cc85a8dTimo Sirainennoinst_LTLIBRARIES = libfs.la
c33d3f93abf8392fdc60e12bea41ffd12cc85a8dTimo SirainenAM_CPPFLAGS = \
6e8fce0589289d10e6dcd9b71fde763492bb29b8Timo Sirainen -I$(top_srcdir)/src/lib \
140afad728d78c56fb4c0256f94eb81a213688dbTimo Sirainen -I$(top_srcdir)/src/lib-test \
6c0d8dc7cad70a336b01bd1978b3eee84a63b3b7Timo Sirainen -I$(top_srcdir)/src/lib-dict \
6e8fce0589289d10e6dcd9b71fde763492bb29b8Timo Sirainen -DMODULE_DIR=\""$(moduledir)"\"
c33d3f93abf8392fdc60e12bea41ffd12cc85a8dTimo Sirainenlibfs_la_SOURCES = \
c33d3f93abf8392fdc60e12bea41ffd12cc85a8dTimo Sirainenpkginc_libdir=$(pkgincludedir)
c33d3f93abf8392fdc60e12bea41ffd12cc85a8dTimo Sirainenpkginc_lib_HEADERS = $(headers)
b2ff0468c298dd2f525fff5977f1f24fba3a9f3bTimo Sirainennoinst_PROGRAMS = $(test_programs)
b2ff0468c298dd2f525fff5977f1f24fba3a9f3bTimo Sirainentest_programs = \
78717e55d8c4b6528d1afe70505a19e4fcc0a56fPhil Carmody test-fs-metawrap \
78717e55d8c4b6528d1afe70505a19e4fcc0a56fPhil Carmody test-fs-posix
b2ff0468c298dd2f525fff5977f1f24fba3a9f3bTimo Sirainen $(noinst_LTLIBRARIES) \
b2ff0468c298dd2f525fff5977f1f24fba3a9f3bTimo Sirainen $(test_deps) \
b2ff0468c298dd2f525fff5977f1f24fba3a9f3bTimo Sirainen $(MODULE_LIBS)
b2ff0468c298dd2f525fff5977f1f24fba3a9f3bTimo Sirainentest_fs_metawrap_SOURCES = test-fs-metawrap.c
b2ff0468c298dd2f525fff5977f1f24fba3a9f3bTimo Sirainentest_fs_metawrap_LDADD = $(test_libs)
b2ff0468c298dd2f525fff5977f1f24fba3a9f3bTimo Sirainentest_fs_metawrap_DEPENDENCIES = $(test_deps)
78717e55d8c4b6528d1afe70505a19e4fcc0a56fPhil Carmodytest_fs_posix_SOURCES = test-fs-posix.c
78717e55d8c4b6528d1afe70505a19e4fcc0a56fPhil Carmodytest_fs_posix_LDADD = $(test_libs)
78717e55d8c4b6528d1afe70505a19e4fcc0a56fPhil Carmodytest_fs_posix_DEPENDENCIES = $(test_deps)
b2ff0468c298dd2f525fff5977f1f24fba3a9f3bTimo Sirainen for bin in $(test_programs); do \
b2ff0468c298dd2f525fff5977f1f24fba3a9f3bTimo Sirainen if ! $(RUN_TEST) ./$$bin; then exit 1; fi; \