diff --git a/Makefile.am b/Makefile.am
index 8ad132b2b2f8b1dbbbe2cb7613ca2f507674a506..531954593cc6c94c058c636e20976b391d9c5ab0 100644 (file)
--- a/Makefile.am
+++ b/Makefile.am
po
ACLOCAL_AMFLAGS = -I m4
-AUTOMAKE_OPTIONS = foreign 1.9 dist-bzip2
+AUTOMAKE_OPTIONS = foreign 1.10 dist-bzip2 subdir-objects
AM_CPPFLAGS = \
$(LIBMPDCLIENT_CFLAGS) \
src/screen_utils.h \
src/screen_client.h \
src/list_window.h \
+ src/song_paint.h \
src/colors.h \
src/paint.h \
src/hscroll.h \
src/screen_browser.c \
src/screen_file.c \
src/list_window.c \
+ src/song_paint.c \
src/colors.c \
src/charset.c \
src/wreadln.c \
CLEANFILES = src/ncmpc-tiny
+#
+# test suite
+#
+
+check_PROGRAMS = \
+ test/run_hscroll
+
+test_run_hscroll_SOURCES = test/run_hscroll.c src/hscroll.c src/charset.c
+test_run_hscroll_CPPFLAGS = -Isrc $(AM_CPPFLAGS)
+test_run_hscroll_LDFLAGS = $(GLIB_LIBS)
+
#
# sparse
#