diff options
author | Andreas Obergrusberger <tradiaz@yahoo.de> | 2007-01-03 20:12:16 +0000 |
---|---|---|
committer | Andreas Obergrusberger <tradiaz@yahoo.de> | 2007-01-03 20:12:16 +0000 |
commit | 6d9b28ec69212a2542ab2958ed0b012c124dbc07 (patch) | |
tree | 17cb3f8bb8b8a3f6e0bf824202148dc326a9f25c /plugins/leoslyrics/Makefile.am | |
parent | b454d1517608a8f137723c6c5080bbcb29e7329c (diff) | |
download | mpd-6d9b28ec69212a2542ab2958ed0b012c124dbc07.tar.gz mpd-6d9b28ec69212a2542ab2958ed0b012c124dbc07.tar.xz mpd-6d9b28ec69212a2542ab2958ed0b012c124dbc07.zip |
added a plugin system for lyrics sources
git-svn-id: https://svn.musicpd.org/ncmpc/branches/tradiaz@5217 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
-rw-r--r-- | plugins/leoslyrics/Makefile.am | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/plugins/leoslyrics/Makefile.am b/plugins/leoslyrics/Makefile.am new file mode 100644 index 000000000..4eb76f3ee --- /dev/null +++ b/plugins/leoslyrics/Makefile.am @@ -0,0 +1,43 @@ +AM_CPPFLAGS =\ + $(GLIB_CFLAGS)\ + $(GTHREAD_CFLAGS)\ + $(libcurl_CFLAGS)\ + -I../../src + +###---- + +plugin_headers =\ + ../src_lyrics.h\ + ../screen_lyrics.h\ + ../easy_download.h\ + ../options.h + +###----- + +ncmpc_modulesdir = @plugindir@ + +ncmpc_modules_LTLIBRARIES = libleoslyrics.la + +### libleoslyrics + +libleoslyrics_la_LIBADD =\ + $(GLIB_LIBS)\ + $(libcurl_LIBS) + +libleoslyrics_la_headers =\ + easy_download.h\ + $(plugins_headers) + +libleoslyrics_la_SOURCES =\ + easy_download.c\ + lyrics_leoslyrics.c\ + $(libleoslyrics_la_headers) + +install: + @$(MAKE) + mkdir -p ${DESTDIR}${libdir} + if test -f .libs/libleoslyrics.so; then cp .libs/libleoslyrics.so ${ncmpc_modulesdir}/lyrics_leoslyrics.so; fi + +uninstall: + @$(MAKE) + rm -f ${ncmpc_modulesdir}/lyrics_leoslyrics.so |