Migrate certificates, icons, logs to XDG dirs
[pidgin-git.git] / pidgin / plugins / musicmessaging / Makefile.am
blob2ea0c459cce17722ff05471eeb16940e619c77d7
1 EXTRA_DIST = \
2         music.png
4 musicmessagingdir = @PIDGIN_PLUGINDIR@
6 musicmessaging_la_LDFLAGS = -module @PLUGIN_LDFLAGS@
8 if PLUGINS
9 if ENABLE_DBUS
11 musicmessagingpixdir = $(datadir)/pixmaps/pidgin/buttons
12 musicmessagingpix_DATA = music.png
14 musicmessaging_LTLIBRARIES = musicmessaging.la
16 musicmessaging_la_SOURCES = \
17         musicmessaging.c
19 musicmessaging_la_LIBADD = @PIDGIN_LIBS@ $(DBUS_LIBS)
21 CLEANFILES              = music-messaging-bindings.c
23 .PHONY: always
25 $(top_builddir)/libpurple/dbus-types.h: always
26         $(AM_V_GEN)cd $(@D) && $(MAKE) $(AM_MAKEFLAGS) $(@F)
28 music-messaging-bindings.c: $(top_srcdir)/libpurple/dbus-analyze-functions.py $(musicmessaging_la_SOURCES)
29         $(AM_V_GEN)cat $(srcdir)/$(musicmessaging_la_SOURCES) | \
30         $(PYTHON) $(top_srcdir)/libpurple/dbus-analyze-functions.py --export-only > $@
32 $(musicmessaging_la_OBJECTS) musicmessaging.so: music-messaging-bindings.c $(top_builddir)/libpurple/dbus-types.h
34 endif
35 endif
37 AM_CPPFLAGS = \
38         -I$(top_builddir)/libpurple \
39         -I$(top_srcdir)/libpurple \
40         -I$(top_srcdir)/pidgin \
41         $(DEBUG_CFLAGS) \
42         $(GTK_CFLAGS) \
43         $(GPLUGIN_CFLAGS) \
44         $(DBUS_CFLAGS)