diff options
Diffstat (limited to 'src/Makefile.am')
-rw-r--r-- | src/Makefile.am | 33 |
1 files changed, 26 insertions, 7 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index 427c1f529..3ceef6a8c 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1,10 +1,17 @@ +#SUBDIRS = + AM_CPPFLAGS = \ $(GLIB_CFLAGS)\ $(GTHREAD_CFLAGS)\ - $(libcurl_CFLAGS)\ + $(GMODULE_CFLAGS)\ -DLOCALE_DIR=\""$(datadir)/locale"\"\ -DSYSCONFDIR=\""$(sysconfdir)"\" +ncmpc_LDADD = \ + $(GLIB_LIBS)\ + $(GTHREAD_LIBS)\ + $(GMODULE_LIBS) + ncmpc_headers = \ libmpdclient.h\ mpdclient.h\ @@ -22,12 +29,15 @@ ncmpc_headers = \ utils.h\ ncmpc.h\ screen_browse.h\ - splash.h + splash.h\ + src_lyrics.h # $Id$ bin_PROGRAMS = ncmpc +lyr_src=${lyr_src_fixed} + ncmpc_SOURCES = \ libmpdclient.c\ main.c\ @@ -53,9 +63,18 @@ ncmpc_SOURCES = \ strfsong.c\ utils.c\ splash.c\ - $(ncmpc_headers) + src_lyrics.c + +if LEOSLYRICS_FIXED +ncmpc_SOURCES+=lyrics_leoslyrics.c +AM_CPPFLAGS+=${libcurl_CFLAGS} +ncmpc_LDADD+=${libcurl_LIBS} +endif + +if HD_FIXED +ncmpc_SOURCES+=lyrics_hd.c +endif + +ncmpc_SOURCES+=${ncmpc_headers} + -ncmpc_LDADD = \ - $(GLIB_LIBS)\ - $(GTHREAD_LIBS)\ - $(libcurl_LIBS) |