Mercurial > pidgin.yaz
annotate finch/plugins/Makefile.am @ 26351:d58ea4aa159d
merge of 'a609160715ae18beed98b084aac19bc0f6551362'
and 'bf71505ba5c16f1c3091dac6ba4950894f6d6960'
author | Elliott Sales de Andrade <qulogic@pidgin.im> |
---|---|
date | Wed, 01 Apr 2009 05:28:20 +0000 |
parents | 20846036cbd5 |
children | bb99ee66120e |
rev | line source |
---|---|
15893
886025ef7daa
Build gntclipboard plugin by default. If we don't want this, at least
Stu Tomlinson <stu@nosnilmot.com>
parents:
15885
diff
changeset
|
1 gntclipboard_la_LDFLAGS = -module -avoid-version |
15818 | 2 gntgf_la_LDFLAGS = -module -avoid-version |
3 gnthistory_la_LDFLAGS = -module -avoid-version | |
22173
85c365822504
Add a plugin to provide 'Online/Offline' grouping and no grouping.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
18140
diff
changeset
|
4 gntlastlog_la_LDFLAGS = -module -avoid-version |
85c365822504
Add a plugin to provide 'Online/Offline' grouping and no grouping.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
18140
diff
changeset
|
5 grouping_la_LDFLAGS = -module -avoid-version |
15818 | 6 |
7 if PLUGINS | |
8 | |
9 plugin_LTLIBRARIES = \ | |
15893
886025ef7daa
Build gntclipboard plugin by default. If we don't want this, at least
Stu Tomlinson <stu@nosnilmot.com>
parents:
15885
diff
changeset
|
10 gntclipboard.la \ |
15818 | 11 gntgf.la \ |
12 gnthistory.la \ | |
22173
85c365822504
Add a plugin to provide 'Online/Offline' grouping and no grouping.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
18140
diff
changeset
|
13 gntlastlog.la \ |
85c365822504
Add a plugin to provide 'Online/Offline' grouping and no grouping.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
18140
diff
changeset
|
14 grouping.la |
15818 | 15 |
15885
c6e563dfaa7a
More s/gaim/pidgin/ and s/gaim/purple/ and make the RPM spec file work a bit
Stu Tomlinson <stu@nosnilmot.com>
parents:
15818
diff
changeset
|
16 plugindir = $(libdir)/finch |
15818 | 17 |
15893
886025ef7daa
Build gntclipboard plugin by default. If we don't want this, at least
Stu Tomlinson <stu@nosnilmot.com>
parents:
15885
diff
changeset
|
18 gntclipboard_la_SOURCES = gntclipboard.c |
15818 | 19 gntgf_la_SOURCES = gntgf.c |
20 gnthistory_la_SOURCES = gnthistory.c | |
21 gntlastlog_la_SOURCES = lastlog.c | |
22173
85c365822504
Add a plugin to provide 'Online/Offline' grouping and no grouping.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
18140
diff
changeset
|
22 grouping_la_SOURCES = grouping.c |
15818 | 23 |
16046
42c6d1d81bec
gntclipboard plugin needs X11
Richard Nelson <wabz@pidgin.im>
parents:
15893
diff
changeset
|
24 gntclipboard_la_CFLAGS = $(X11_CFLAGS) |
15818 | 25 gntgf_la_CFLAGS = $(X11_CFLAGS) |
26 | |
16046
42c6d1d81bec
gntclipboard plugin needs X11
Richard Nelson <wabz@pidgin.im>
parents:
15893
diff
changeset
|
27 gntclipboard_la_LIBADD = $(GLIB_LIBS) $(X11_LIBS) |
15818 | 28 gntgf_la_LIBADD = $(GLIB_LIBS) $(X11_LIBS) $(top_builddir)/finch/libgnt/libgnt.la |
29 gnthistory_la_LIBADD = $(GLIB_LIBS) | |
30 gntlastlog_la_LIBADD = $(GLIB_LIBS) | |
22173
85c365822504
Add a plugin to provide 'Online/Offline' grouping and no grouping.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
18140
diff
changeset
|
31 grouping_la_LIBADD = $(GLIB_LIBS) $(top_builddir)/finch/libgnt/libgnt.la |
15818 | 32 |
33 endif # PLUGINS | |
34 | |
18140
36400e6f8954
EXTRA_DIST the dbus script.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
16917
diff
changeset
|
35 EXTRA_DIST = pietray.py |
15818 | 36 |
37 AM_CPPFLAGS = \ | |
38 -DDATADIR=\"$(datadir)\" \ | |
39 -I$(top_builddir)/libpurple \ | |
40 -I$(top_srcdir)/libpurple \ | |
41 -I$(top_srcdir) \ | |
42 -I$(top_srcdir)/finch \ | |
43 -I$(top_srcdir)/finch/libgnt \ | |
44 $(DEBUG_CFLAGS) \ | |
45 $(GLIB_CFLAGS) \ | |
46 $(GNT_CFLAGS) \ | |
47 $(PLUGIN_CFLAGS) | |
48 | |
49 # | |
50 # This part allows people to build their own plugins in here. | |
51 # Yes, it's a mess. | |
52 # | |
53 SUFFIXES = .c .so | |
54 .c.so: | |
23972
20846036cbd5
Fix compiling 'make plugin.so' when srcdir != builddir. This should've been part of the last commit.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
22173
diff
changeset
|
55 $(LIBTOOL) --mode=compile $(CC) -DHAVE_CONFIG_H -I$(top_builddir) $(AM_CPPFLAGS) $(CFLAGS) -c $< -o tmp$@.lo $(PLUGIN_CFLAGS) |
15818 | 56 $(LIBTOOL) --mode=link $(CC) $(CFLAGS) -o libtmp$@.la -rpath $(plugindir) tmp$@.lo $(LIBS) $(LDFLAGS) -module -avoid-version $(PLUGIN_LIBS) |
57 @rm -f tmp$@.lo tmp$@.o libtmp$@.la | |
58 @cp .libs/libtmp$@.so* $@ | |
59 @rm -f .libs/libtmp$@.* |