diff options
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 |