comparison finch/plugins/Makefile.am @ 15817:0e3a8505ebbe

renamed gaim-text to finch
author Sean Egan <seanegan@gmail.com>
date Sun, 18 Mar 2007 19:38:15 +0000
parents
children c6e563dfaa7a
comparison
equal deleted inserted replaced
15816:317e7613e581 15817:0e3a8505ebbe
1 gntgf_la_LDFLAGS = -module -avoid-version
2 gnthistory_la_LDFLAGS = -module -avoid-version
3 gntlastlog_la_LDFLAGS = -module -avoid-version
4
5 if PLUGINS
6
7 plugin_LTLIBRARIES = \
8 gntgf.la \
9 gnthistory.la \
10 gntlastlog.la
11
12 plugindir = $(libdir)/gaim
13
14 gntgf_la_SOURCES = gntgf.c
15 gnthistory_la_SOURCES = gnthistory.c
16 gntlastlog_la_SOURCES = lastlog.c
17
18 gntgf_la_CFLAGS = $(X11_CFLAGS)
19
20 gntgf_la_LIBADD = $(GLIB_LIBS) $(X11_LIBS) $(top_builddir)/finch/libgnt/libgnt.la
21 gnthistory_la_LIBADD = $(GLIB_LIBS)
22 gntlastlog_la_LIBADD = $(GLIB_LIBS)
23
24 endif # PLUGINS
25
26 EXTRA_DIST =
27
28 AM_CPPFLAGS = \
29 -DDATADIR=\"$(datadir)\" \
30 -DVERSION=\"$(VERSION)\" \
31 -I$(top_builddir)/libpurple \
32 -I$(top_srcdir)/libpurple \
33 -I$(top_srcdir) \
34 -I$(top_srcdir)/finch \
35 -I$(top_srcdir)/finch/libgnt \
36 $(DEBUG_CFLAGS) \
37 $(GLIB_CFLAGS) \
38 $(GNT_CFLAGS) \
39 $(PLUGIN_CFLAGS)
40
41 #
42 # This part allows people to build their own plugins in here.
43 # Yes, it's a mess.
44 #
45 SUFFIXES = .c .so
46 .c.so:
47 $(LIBTOOL) --mode=compile $(CC) -DHAVE_CONFIG_H -I$(top_srcdir) $(AM_CPPFLAGS) $(CFLAGS) -c $< -o tmp$@.lo $(PLUGIN_CFLAGS)
48 $(LIBTOOL) --mode=link $(CC) $(CFLAGS) -o libtmp$@.la -rpath $(plugindir) tmp$@.lo $(LIBS) $(LDFLAGS) -module -avoid-version $(PLUGIN_LIBS)
49 @rm -f tmp$@.lo tmp$@.o libtmp$@.la
50 @cp .libs/libtmp$@.so* $@
51 @rm -f .libs/libtmp$@.*