Mercurial > pidgin
annotate finch/plugins/Makefile.am @ 15884:c6e563dfaa7a
More s/gaim/pidgin/ and s/gaim/purple/ and make the RPM spec file work a bit
author | Stu Tomlinson <stu@nosnilmot.com> |
---|---|
date | Sat, 24 Mar 2007 17:51:05 +0000 |
parents | 0e3a8505ebbe |
children | 886025ef7daa |
rev | line source |
---|---|
15817 | 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 | |
15884
c6e563dfaa7a
More s/gaim/pidgin/ and s/gaim/purple/ and make the RPM spec file work a bit
Stu Tomlinson <stu@nosnilmot.com>
parents:
15817
diff
changeset
|
12 plugindir = $(libdir)/finch |
15817 | 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$@.* |