comparison Plugins/General/scrobbler/Makefile.in @ 833:d17d96d91e7d trunk

[svn] - improve the way the scrobbler plugin is compiled - use G_MODULE_BIND_LAZY to safely bind plugins dependant on libaudacious, some libdl implementations hate doing this otherwise
author nenolod
date Mon, 13 Mar 2006 19:29:55 -0800
parents 285ecb44708d
children 66df1cf8b82f
comparison
equal deleted inserted replaced
832:d2db0feae0ca 833:d17d96d91e7d
1 include ../../../mk/rules.mk 1 include ../../../mk/rules.mk
2 include ../../../mk/objective.mk 2 include ../../../mk/objective.mk
3 3
4 SUBDIRS = tags 4 SUBDIRS =
5 5
6 OBJECTIVE_LIBS = libscrobbler.so 6 OBJECTIVE_LIBS = libscrobbler.so
7 7
8 LIBDIR = $(plugindir)/$(GENERAL_PLUGIN_DIR) 8 LIBDIR = $(plugindir)/$(GENERAL_PLUGIN_DIR)
9 9
10 LIBADD += $(GTK_LIBS) $(CURL_LIBS) $(MUSICBRAINZ_LIBS) tags/libmetatag.a 10 LIBADD += $(GTK_LIBS) $(CURL_LIBS) $(MUSICBRAINZ_LIBS) -laudacious
11 11
12 SOURCES = \ 12 SOURCES = \
13 fmt.c \ 13 fmt.c \
14 configure.c \ 14 configure.c \
15 gtkstuff.c \ 15 gtkstuff.c \
16 md5.c \ 16 md5.c \
17 queue.c \ 17 queue.c \
18 scrobbler.c \ 18 scrobbler.c \
19 xmms_scrobbler.c 19 xmms_scrobbler.c \
20 20 tags/tags.c \
21 tags/id3v1.c \
22 tags/id3v2.c \
23 tags/id3genres.c \
24 tags/ape.c \
25 tags/cdaudio.c \
26 tags/itunes.c \
27 tags/unicode.c \
28 tags/vorbis.c \
29 tags/wma.c
21 30
22 CFLAGS += -fPIC -DPIC $(GTK_CFLAGS) $(CURL_CFLAGS) -I../../../intl -I../../.. 31 CFLAGS += -fPIC -DPIC $(GTK_CFLAGS) $(CURL_CFLAGS) -I../../../intl -I../../..
23 32
24 OBJECTS = ${SOURCES:.c=.o} 33 OBJECTS = ${SOURCES:.c=.o}