diff --git a/src/Makefile.am b/src/Makefile.am
index abf121cb22a3a88b1c9c4f2403ac94f237085810..fc81ed9b9a584ad06ac3902fecc7227d18723f54 100644 (file)
--- a/src/Makefile.am
+++ b/src/Makefile.am
bin_PROGRAMS = ncmpc
-ncmpc_headers = libmpdclient.h mpc.h options.h conf.h command.h screen.h \
- screen_utils.h screen_play.h screen_file.h screen_search.h \
- screen_help.h list_window.h colors.h support.h
+ncmpc_LDADD = $(GLIB_LIBS)
-ncmpc_SOURCES = libmpdclient.c main.c mpc.c options.c conf.c command.c \
+AM_CPPFLAGS = $(GLIB_CFLAGS) -DLOCALE_DIR=\""$(datadir)/locale"\" -DSYSCONFDIR=\""$(sysconfdir)"\"
+
+
+ncmpc_headers = libmpdclient.h mpdclient.h options.h conf.h command.h \
+ screen.h screen_utils.h list_window.h colors.h support.h \
+ wreadln.h strfsong.h utils.h ncmpc.h
+
+ncmpc_SOURCES = libmpdclient.c main.c mpdclient.c options.c conf.c command.c \
screen.c screen_utils.c screen_play.c screen_file.c \
- screen_search.c screen_help.c screen_keydef.c \
- list_window.c colors.c support.c $(ncmpc_headers)
+ screen_search.c screen_help.c screen_keydef.c screen_clock.c \
+ list_window.c colors.c support.c wreadln.c strfsong.c utils.c \
+ $(ncmpc_headers)