Code

test: added "run_hscroll" program
[ncmpc.git] / Makefile.am
index 91c83b2961475c470a8b2f895684706315d9ac63..1033e66b3ab05a2fd7b27e1d93d01128dfb7bf21 100644 (file)
@@ -13,6 +13,7 @@ AM_CPPFLAGS = \
 
 ncmpc_headers = \
        src/resolver.h \
+       src/gidle.h \
        src/mpdclient.h \
        src/playlist.h \
        src/filelist.h \
@@ -26,13 +27,16 @@ ncmpc_headers = \
        src/progress_bar.h \
        src/status_bar.h \
        src/screen.h \
+       src/screen_message.h \
        src/screen_interface.h \
        src/screen_list.h \
-       src/screen_play.h \
+       src/screen_find.h \
        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/charset.h \
        src/match.h \
@@ -42,8 +46,16 @@ ncmpc_headers = \
        src/ncmpc.h \
        src/defaults.h \
        src/i18n.h \
+       src/screen_help.h \
+       src/screen_queue.h \
        src/screen_file.h \
+       src/screen_artist.h \
        src/screen_browser.h \
+       src/screen_search.h \
+       src/screen_song.h \
+       src/screen_keydef.h \
+       src/screen_lyrics.h \
+       src/screen_outputs.h \
        src/screen_text.h \
        src/plugin.h \
        src/lyrics.h \
@@ -61,6 +73,7 @@ src_ncmpc_SOURCES = \
        $(ncmpc_headers) \
        src/resolver.c \
        src/main.c \
+       src/gidle.c \
        src/mpdclient.c \
        src/playlist.c \
        src/filelist.c \
@@ -72,13 +85,16 @@ src_ncmpc_SOURCES = \
        src/progress_bar.c \
        src/status_bar.c \
        src/screen.c \
+       src/screen_message.c \
        src/screen_list.c \
+       src/screen_find.c \
        src/screen_utils.c \
        src/screen_client.c \
-       src/screen_play.c \
+       src/screen_queue.c \
        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 \
@@ -142,6 +158,17 @@ src/ncmpc-tiny: $(filter-out %.h,$(src_ncmpc_SOURCES))
 
 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
 #