Minor changelog updates
[pidgin-git.git] / finch / plugins / Makefile.am
blobb31571125728656219b3b04d4218b593078d3a69
1 gntclipboard_la_LDFLAGS = -module -avoid-version
2 gntgf_la_LDFLAGS      = -module -avoid-version
3 gnthistory_la_LDFLAGS = -module -avoid-version
4 gntlastlog_la_LDFLAGS    = -module -avoid-version
6 if PLUGINS
8 plugin_LTLIBRARIES = \
9         gntclipboard.la \
10         gntgf.la \
11         gnthistory.la \
12         gntlastlog.la
14 plugindir = $(libdir)/finch
16 gntclipboard_la_SOURCES = gntclipboard.c
17 gntgf_la_SOURCES      = gntgf.c
18 gnthistory_la_SOURCES = gnthistory.c
19 gntlastlog_la_SOURCES = lastlog.c
21 gntclipboard_la_CFLAGS = $(X11_CFLAGS)
22 gntgf_la_CFLAGS = $(X11_CFLAGS)
24 gntclipboard_la_LIBADD = $(GLIB_LIBS) $(X11_LIBS)
25 gntgf_la_LIBADD       = $(GLIB_LIBS) $(X11_LIBS) $(top_builddir)/finch/libgnt/libgnt.la
26 gnthistory_la_LIBADD  = $(GLIB_LIBS)
27 gntlastlog_la_LIBADD  = $(GLIB_LIBS)
29 endif # PLUGINS
31 EXTRA_DIST = pietray.py
33 AM_CPPFLAGS = \
34         -DDATADIR=\"$(datadir)\" \
35         -I$(top_builddir)/libpurple \
36         -I$(top_srcdir)/libpurple \
37         -I$(top_srcdir) \
38         -I$(top_srcdir)/finch \
39         -I$(top_srcdir)/finch/libgnt \
40         $(DEBUG_CFLAGS) \
41         $(GLIB_CFLAGS) \
42         $(GNT_CFLAGS) \
43         $(PLUGIN_CFLAGS)
46 # This part allows people to build their own plugins in here.
47 # Yes, it's a mess.
49 SUFFIXES = .c .so
50 .c.so:
51         $(LIBTOOL) --mode=compile $(CC) -DHAVE_CONFIG_H -I$(top_srcdir) $(AM_CPPFLAGS) $(CFLAGS) -c $< -o tmp$@.lo $(PLUGIN_CFLAGS)
52         $(LIBTOOL) --mode=link    $(CC) $(CFLAGS) -o libtmp$@.la -rpath $(plugindir) tmp$@.lo $(LIBS) $(LDFLAGS) -module -avoid-version $(PLUGIN_LIBS)
53         @rm -f tmp$@.lo tmp$@.o libtmp$@.la
54         @cp .libs/libtmp$@.so* $@
55         @rm -f .libs/libtmp$@.*