aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/hd/Makefile.am
blob: f4d4608d82e320ab8325b817cd0c8b2fdb3152ea (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
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