aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/leoslyrics/Makefile.am
blob: 4eb76f3ee15a1719abfd060b7c5b4aeb11682e2a (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
41
42
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