aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/hd/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--plugins/hd/Makefile.am40
1 files changed, 40 insertions, 0 deletions
diff --git a/plugins/hd/Makefile.am b/plugins/hd/Makefile.am
new file mode 100644
index 000000000..f4d4608d8
--- /dev/null
+++ b/plugins/hd/Makefile.am
@@ -0,0 +1,40 @@
+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 = libhd.la
+
+### libhd
+
+libhd_la_LIBADD =\
+ $(GLIB_LIBS)\
+ $(libcurl_LIBS)
+
+libhd_la_headers =\
+ $(plugins_headers)
+
+libhd_la_SOURCES =\
+ lyrics_hd.c\
+ $(libhd_la_headers)
+install:
+ @$(MAKE)
+ mkdir -p ${ncmpc_modulesdir}
+ if test -f .libs/libhd.so; then cp .libs/libhd.so ${ncmpc_modulesdir}/lyrics_hd.so; fi
+
+uninstall:
+ @$(MAKE)
+ rm -f ${ncmpc_modulesdir}/lyrics_hd.so