annotate finch/plugins/Makefile.am @ 26933:f500336f9881

Fix building on Windows and better integrate the new signals with the pre-existing ones. committer: Paul Aurich <paul@darkrain42.org>
author Etan Reisner <pidgin@unreliablesource.net>
date Fri, 22 May 2009 04:08:38 +0000
parents 8986c3804ada
children 6a4cab3959b7
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
15891
886025ef7daa Build gntclipboard plugin by default. If we don't want this, at least
Stu Tomlinson <stu@nosnilmot.com>
parents: 15884
diff changeset
1 gntclipboard_la_LDFLAGS = -module -avoid-version
15817
0e3a8505ebbe renamed gaim-text to finch
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
2 gntgf_la_LDFLAGS = -module -avoid-version
0e3a8505ebbe renamed gaim-text to finch
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
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
26500
8986c3804ada Add a gnt TinyURL plugin. Closes #2017
Richard Nelson <wabz@pidgin.im>
parents: 26359
diff changeset
5 gnttinyurl_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
6 grouping_la_LDFLAGS = -module -avoid-version
15817
0e3a8505ebbe renamed gaim-text to finch
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
7
0e3a8505ebbe renamed gaim-text to finch
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
8 if PLUGINS
0e3a8505ebbe renamed gaim-text to finch
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
9
0e3a8505ebbe renamed gaim-text to finch
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
10 plugin_LTLIBRARIES = \
15891
886025ef7daa Build gntclipboard plugin by default. If we don't want this, at least
Stu Tomlinson <stu@nosnilmot.com>
parents: 15884
diff changeset
11 gntclipboard.la \
15817
0e3a8505ebbe renamed gaim-text to finch
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
12 gntgf.la \
0e3a8505ebbe renamed gaim-text to finch
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
13 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
14 gntlastlog.la \
26500
8986c3804ada Add a gnt TinyURL plugin. Closes #2017
Richard Nelson <wabz@pidgin.im>
parents: 26359
diff changeset
15 gnttinyurl.la \
22173
85c365822504 Add a plugin to provide 'Online/Offline' grouping and no grouping.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 18140
diff changeset
16 grouping.la
15817
0e3a8505ebbe renamed gaim-text to finch
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
17
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
18 plugindir = $(libdir)/finch
15817
0e3a8505ebbe renamed gaim-text to finch
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
19
15891
886025ef7daa Build gntclipboard plugin by default. If we don't want this, at least
Stu Tomlinson <stu@nosnilmot.com>
parents: 15884
diff changeset
20 gntclipboard_la_SOURCES = gntclipboard.c
15817
0e3a8505ebbe renamed gaim-text to finch
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
21 gntgf_la_SOURCES = gntgf.c
0e3a8505ebbe renamed gaim-text to finch
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
22 gnthistory_la_SOURCES = gnthistory.c
0e3a8505ebbe renamed gaim-text to finch
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
23 gntlastlog_la_SOURCES = lastlog.c
26500
8986c3804ada Add a gnt TinyURL plugin. Closes #2017
Richard Nelson <wabz@pidgin.im>
parents: 26359
diff changeset
24 gnttinyurl_la_SOURCES = gnttinyurl.c
22173
85c365822504 Add a plugin to provide 'Online/Offline' grouping and no grouping.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 18140
diff changeset
25 grouping_la_SOURCES = grouping.c
15817
0e3a8505ebbe renamed gaim-text to finch
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
26
16046
42c6d1d81bec gntclipboard plugin needs X11
Richard Nelson <wabz@pidgin.im>
parents: 15891
diff changeset
27 gntclipboard_la_CFLAGS = $(X11_CFLAGS)
15817
0e3a8505ebbe renamed gaim-text to finch
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
28 gntgf_la_CFLAGS = $(X11_CFLAGS)
0e3a8505ebbe renamed gaim-text to finch
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
29
16046
42c6d1d81bec gntclipboard plugin needs X11
Richard Nelson <wabz@pidgin.im>
parents: 15891
diff changeset
30 gntclipboard_la_LIBADD = $(GLIB_LIBS) $(X11_LIBS)
15817
0e3a8505ebbe renamed gaim-text to finch
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
31 gntgf_la_LIBADD = $(GLIB_LIBS) $(X11_LIBS) $(top_builddir)/finch/libgnt/libgnt.la
0e3a8505ebbe renamed gaim-text to finch
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
32 gnthistory_la_LIBADD = $(GLIB_LIBS)
0e3a8505ebbe renamed gaim-text to finch
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
33 gntlastlog_la_LIBADD = $(GLIB_LIBS)
26500
8986c3804ada Add a gnt TinyURL plugin. Closes #2017
Richard Nelson <wabz@pidgin.im>
parents: 26359
diff changeset
34 gnttinyurl_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
35 grouping_la_LIBADD = $(GLIB_LIBS) $(top_builddir)/finch/libgnt/libgnt.la
15817
0e3a8505ebbe renamed gaim-text to finch
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
36
0e3a8505ebbe renamed gaim-text to finch
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
37 endif # PLUGINS
0e3a8505ebbe renamed gaim-text to finch
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
38
18140
36400e6f8954 EXTRA_DIST the dbus script.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 16906
diff changeset
39 EXTRA_DIST = pietray.py
15817
0e3a8505ebbe renamed gaim-text to finch
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
40
0e3a8505ebbe renamed gaim-text to finch
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
41 AM_CPPFLAGS = \
0e3a8505ebbe renamed gaim-text to finch
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
42 -DDATADIR=\"$(datadir)\" \
0e3a8505ebbe renamed gaim-text to finch
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
43 -I$(top_builddir)/libpurple \
0e3a8505ebbe renamed gaim-text to finch
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
44 -I$(top_srcdir)/libpurple \
0e3a8505ebbe renamed gaim-text to finch
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
45 -I$(top_srcdir) \
0e3a8505ebbe renamed gaim-text to finch
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
46 -I$(top_srcdir)/finch \
0e3a8505ebbe renamed gaim-text to finch
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
47 -I$(top_srcdir)/finch/libgnt \
23774
1343ff17b110 The whitespace at the end of the line was giving me errors.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 23759
diff changeset
48 $(DEBUG_CFLAGS) \
15817
0e3a8505ebbe renamed gaim-text to finch
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
49 $(GLIB_CFLAGS) \
0e3a8505ebbe renamed gaim-text to finch
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
50 $(GNT_CFLAGS) \
0e3a8505ebbe renamed gaim-text to finch
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
51 $(PLUGIN_CFLAGS)
0e3a8505ebbe renamed gaim-text to finch
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
52
0e3a8505ebbe renamed gaim-text to finch
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
53 #
0e3a8505ebbe renamed gaim-text to finch
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
54 # This part allows people to build their own plugins in here.
0e3a8505ebbe renamed gaim-text to finch
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
55 # Yes, it's a mess.
0e3a8505ebbe renamed gaim-text to finch
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
56 #
0e3a8505ebbe renamed gaim-text to finch
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
57 SUFFIXES = .c .so
0e3a8505ebbe renamed gaim-text to finch
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
58 .c.so:
24042
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
59 $(LIBTOOL) --mode=compile $(CC) -DHAVE_CONFIG_H -I$(top_builddir) $(AM_CPPFLAGS) $(CFLAGS) -c $< -o tmp$@.lo $(PLUGIN_CFLAGS)
15817
0e3a8505ebbe renamed gaim-text to finch
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
60 $(LIBTOOL) --mode=link $(CC) $(CFLAGS) -o libtmp$@.la -rpath $(plugindir) tmp$@.lo $(LIBS) $(LDFLAGS) -module -avoid-version $(PLUGIN_LIBS)
0e3a8505ebbe renamed gaim-text to finch
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
61 @rm -f tmp$@.lo tmp$@.o libtmp$@.la
0e3a8505ebbe renamed gaim-text to finch
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
62 @cp .libs/libtmp$@.so* $@
0e3a8505ebbe renamed gaim-text to finch
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
63 @rm -f .libs/libtmp$@.*