diff --git a/Makefile.am b/Makefile.am
index 50003aa5fd852573e67cbc05856b32238cd4346d..1c178d645071bba24de7bc1a140774aebd8f1c7d 100644 (file)
--- a/Makefile.am
+++ b/Makefile.am
-DSYSCONFDIR=\""$(sysconfdir)"\"
ncmpc_headers = \
+ src/glib_compat.h \
src/resolver.h \
src/gidle.h \
src/mpdclient.h \
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)
+test_run_hscroll_CPPFLAGS = -I$(srcdir)/src $(AM_CPPFLAGS)
+test_run_hscroll_LDADD = $(GLIB_LIBS)
#
# sparse