Makefile.am revision d1a0d9aa3b7062a56c2cbde5171352e0283485fc
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