Makefile.am revision 7a896d960824c93e2f04ac21e8eae0f892bf8d20
noinst_LTLIBRARIES = libindex.la
AM_CPPFLAGS = \
-I$(top_srcdir)/src/lib \
-I$(top_srcdir)/src/lib-test \
-I$(top_srcdir)/src/lib-mail
libindex_la_SOURCES = \
headers = \
test_programs = test-index
noinst_PROGRAMS = $(test_programs)
test_libs = \
test_index_SOURCES = \
test_headers = \
test_index_LDADD = $(test_libs) $(LIBICONV)
test_index_DEPENDENCIES = $(test_libs)
check: check-am check-test
check-test: $(test_programs)
for bin in $(test_programs); do \
if ! ./$$bin; then exit 1; fi \
done
if INSTALL_HEADERS
pkginc_libdir=$(pkgincludedir)
pkginc_lib_HEADERS = $(headers) $(test_headers)
else
noinst_HEADERS = $(headers) $(test_headers)
endif