annotate plugins/Makefile.am @ 12645:fc28451f5d96

[gaim-migrate @ 14983] SF Patch #1314512 from Sadrul (who has a patch for everything) "This patch introduces a flag for protocol plugins that support offline messages (like Y!M and ICQ). This was encouraged by the following conversation: <sadrul> should offline buddies be listed/enabled in the send-to menu? <rekkanoryo> i would think only for protocols that support offline messaging, if it's indicated that the buddy is offline -- <snip> -- <Bleeter> sadrul: personally, I'd like to see a 'supports offline' flag of some description <Bleeter> one could then redirect (via plugins) through email or alternative methods <Bleeter> just a thought <Paco-Paco> yeah, that sounds like a reasonble thing to have This patch uses this flag to disable the buddies in the send-to menu who are offline and the protocol doesn't support offline messages." I made this make the label insensitive instead of the whole menuitem. This should address SimGuy's concerns about inconsistency (i.e. you could create a conversation with someone via the buddy list that you couldn't create via the Send To menu). I also hacked up some voodoo to show the label as sensitive when moused-over, as that looks better (given the label-insensitive thing is itself a hack). I think this works quite well. BUG NOTE: This makes more obvious an existing bug. The Send To menu isn't updated when buddies sign on or off or change status (at least under some circumstances). We need to fix that anyway, so I'm not going to let it hold up this commit. Switching tabs will clear it up. I'm thinking we just might want to build the contents of that menu when it is selected. That would save us a mess of inefficient signal callbacks that update the Send To menus in open windows all the time. AIM NOTE: This assumes that AIM can't offline message. That's not strictly true. You can message invisible users on AIM. However, by design, we can't tell when a user is invisible without resorting to dirty hackery. In practice, this isn't a problem, as you can still select the AIM user from the menu. And really, how often will you be choosing the Invisible contact, rather than the user going Invisible in the middle of a conversation or IMing you while they're Invisible? JABBER NOTE: This assumes that Jabber can always offline message. This isn't strictly true. Sadrul said: I have updated Jabber according to this link which seems to talk about how to determine the existence offline-message support in a server: http://www.jabber.org/jeps/jep-0013.html#discover However, jabber.org doesn't seem to send the required info. So I am not sure about it. He later said: I talked to Nathan and he said offline message support is mostly assumed for most jabber servers. GTalk doesn't yet support it, but they are working on it. So I have made jabber to always return TRUE. If there is truly no way to detect offline messaging capability, then this is an acceptable solution. We could special case Google Talk because of its popularity, and remove that later. It's probably not worth it though. MSN NOTE: This assumes that MSN can never offline message. That's effectively true, but to be technically correct, MSN can offline message if there's already a switchboard conversation open with a user. We could write an offline_message function in the MSN prpl to detect that, but it'd be of limited usefulness, especially given that under most circumstances (where this might matter), the switchboard connection will be closed almost immediately. CVS NOTE: I'm writing to share a tragic little story. I have a PC that I use for Gaim development. One day, I was writing a commit message on it, when all of a suddent it went berserk. The screen started flashing, and the whole commit message just disappeared. All of it. And it was a good commit message! I had to cram and rewrite it really quickly. Needless to say, my rushed commit message wasn't nearly as good, and I blame the PC for that. Seriously, though, what kind of version control system loses your commit message on a broken connection to the server? Stupid! committer: Tailor Script <tailor@pidgin.im>
author Richard Laager <rlaager@wiktel.com>
date Fri, 23 Dec 2005 19:26:04 +0000
parents 9096f56b725f
children a1e241dd50b6
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
11680
3e8d53214613 [gaim-migrate @ 13966]
Nathan Walp <nwalp@pidgin.im>
parents: 11660
diff changeset
1 DIST_SUBDIRS = docklet gevolution gestures mono musicmessaging perl ssl tcl ticker
8089
35db601609e3 [gaim-migrate @ 8788]
Sean Egan <seanegan@gmail.com>
parents: 7851
diff changeset
2
35db601609e3 [gaim-migrate @ 8788]
Sean Egan <seanegan@gmail.com>
parents: 7851
diff changeset
3 if BUILD_GEVOLUTION
35db601609e3 [gaim-migrate @ 8788]
Sean Egan <seanegan@gmail.com>
parents: 7851
diff changeset
4 GEVOLUTION_DIR = gevolution
35db601609e3 [gaim-migrate @ 8788]
Sean Egan <seanegan@gmail.com>
parents: 7851
diff changeset
5 endif
5205
fefad67de2c7 [gaim-migrate @ 5573]
Christian Hammond <chipx86@chipx86.com>
parents: 4687
diff changeset
6
fefad67de2c7 [gaim-migrate @ 5573]
Christian Hammond <chipx86@chipx86.com>
parents: 4687
diff changeset
7 if USE_PERL
fefad67de2c7 [gaim-migrate @ 5573]
Christian Hammond <chipx86@chipx86.com>
parents: 4687
diff changeset
8 PERL_DIR = perl
fefad67de2c7 [gaim-migrate @ 5573]
Christian Hammond <chipx86@chipx86.com>
parents: 4687
diff changeset
9 endif
fefad67de2c7 [gaim-migrate @ 5573]
Christian Hammond <chipx86@chipx86.com>
parents: 4687
diff changeset
10
6694
2d2f04c5c7d2 [gaim-migrate @ 7220]
Ethan Blanton <elb@pidgin.im>
parents: 6600
diff changeset
11 if USE_TCL
2d2f04c5c7d2 [gaim-migrate @ 7220]
Ethan Blanton <elb@pidgin.im>
parents: 6600
diff changeset
12 TCL_DIR = tcl
2d2f04c5c7d2 [gaim-migrate @ 7220]
Ethan Blanton <elb@pidgin.im>
parents: 6600
diff changeset
13 endif
2d2f04c5c7d2 [gaim-migrate @ 7220]
Ethan Blanton <elb@pidgin.im>
parents: 6600
diff changeset
14
11435
1a2eaba2bc13 [gaim-migrate @ 13672]
Gary Kramlich <grim@reaperworld.com>
parents: 11405
diff changeset
15 if ENABLE_DBUS
1a2eaba2bc13 [gaim-migrate @ 13672]
Gary Kramlich <grim@reaperworld.com>
parents: 11405
diff changeset
16 DBUS_LTLIB = dbus-example.la
1a2eaba2bc13 [gaim-migrate @ 13672]
Gary Kramlich <grim@reaperworld.com>
parents: 11405
diff changeset
17
1a2eaba2bc13 [gaim-migrate @ 13672]
Gary Kramlich <grim@reaperworld.com>
parents: 11405
diff changeset
18 # Only use music messaging if dbus is enabled
1a2eaba2bc13 [gaim-migrate @ 13672]
Gary Kramlich <grim@reaperworld.com>
parents: 11405
diff changeset
19 MUSICMESSAGING_DIR = musicmessaging
1a2eaba2bc13 [gaim-migrate @ 13672]
Gary Kramlich <grim@reaperworld.com>
parents: 11405
diff changeset
20 endif
1a2eaba2bc13 [gaim-migrate @ 13672]
Gary Kramlich <grim@reaperworld.com>
parents: 11405
diff changeset
21
11660
a3302d271199 [gaim-migrate @ 13945]
Gary Kramlich <grim@reaperworld.com>
parents: 11621
diff changeset
22 if USE_MONO
a3302d271199 [gaim-migrate @ 13945]
Gary Kramlich <grim@reaperworld.com>
parents: 11621
diff changeset
23 MONO_DIR = mono
a3302d271199 [gaim-migrate @ 13945]
Gary Kramlich <grim@reaperworld.com>
parents: 11621
diff changeset
24 endif
a3302d271199 [gaim-migrate @ 13945]
Gary Kramlich <grim@reaperworld.com>
parents: 11621
diff changeset
25
8089
35db601609e3 [gaim-migrate @ 8788]
Sean Egan <seanegan@gmail.com>
parents: 7851
diff changeset
26 SUBDIRS = \
11621
e0a61622a9f2 [gaim-migrate @ 13896]
Gary Kramlich <grim@reaperworld.com>
parents: 11592
diff changeset
27 docklet \
e0a61622a9f2 [gaim-migrate @ 13896]
Gary Kramlich <grim@reaperworld.com>
parents: 11592
diff changeset
28 $(GEVOLUTION_DIR) \
e0a61622a9f2 [gaim-migrate @ 13896]
Gary Kramlich <grim@reaperworld.com>
parents: 11592
diff changeset
29 gestures \
11862
f8cd06753755 [gaim-migrate @ 14153]
Stu Tomlinson <stu@nosnilmot.com>
parents: 11680
diff changeset
30 $(MONO_DIR) \
f8cd06753755 [gaim-migrate @ 14153]
Stu Tomlinson <stu@nosnilmot.com>
parents: 11680
diff changeset
31 $(MUSICMESSAGING_DIR) \
11621
e0a61622a9f2 [gaim-migrate @ 13896]
Gary Kramlich <grim@reaperworld.com>
parents: 11592
diff changeset
32 $(PERL_DIR) \
e0a61622a9f2 [gaim-migrate @ 13896]
Gary Kramlich <grim@reaperworld.com>
parents: 11592
diff changeset
33 ssl \
e0a61622a9f2 [gaim-migrate @ 13896]
Gary Kramlich <grim@reaperworld.com>
parents: 11592
diff changeset
34 $(TCL_DIR) \
11862
f8cd06753755 [gaim-migrate @ 14153]
Stu Tomlinson <stu@nosnilmot.com>
parents: 11680
diff changeset
35 ticker
3391
412d1035d666 [gaim-migrate @ 3410]
Sean Egan <seanegan@gmail.com>
parents: 3352
diff changeset
36
4202
59751fe608c5 [gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents: 4104
diff changeset
37 plugindir = $(libdir)/gaim
59751fe608c5 [gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents: 4104
diff changeset
38
10889
2cc05a9e944d [gaim-migrate @ 12597]
Stu Tomlinson <stu@nosnilmot.com>
parents: 10657
diff changeset
39 extplacement_la_LDFLAGS = -module -avoid-version $(GLIB_LIBS)
2cc05a9e944d [gaim-migrate @ 12597]
Stu Tomlinson <stu@nosnilmot.com>
parents: 10657
diff changeset
40 gaimrc_la_LDFLAGS = -module -avoid-version $(GTK_LIBS)
2cc05a9e944d [gaim-migrate @ 12597]
Stu Tomlinson <stu@nosnilmot.com>
parents: 10657
diff changeset
41 history_la_LDFLAGS = -module -avoid-version $(GTK_LIBS)
2cc05a9e944d [gaim-migrate @ 12597]
Stu Tomlinson <stu@nosnilmot.com>
parents: 10657
diff changeset
42 iconaway_la_LDFLAGS = -module -avoid-version $(GTK_LIBS)
2cc05a9e944d [gaim-migrate @ 12597]
Stu Tomlinson <stu@nosnilmot.com>
parents: 10657
diff changeset
43 idle_la_LDFLAGS = -module -avoid-version $(GLIB_LIBS)
2cc05a9e944d [gaim-migrate @ 12597]
Stu Tomlinson <stu@nosnilmot.com>
parents: 10657
diff changeset
44 notify_la_LDFLAGS = -module -avoid-version $(GTK_LIBS)
2cc05a9e944d [gaim-migrate @ 12597]
Stu Tomlinson <stu@nosnilmot.com>
parents: 10657
diff changeset
45 relnot_la_LDFLAGS = -module -avoid-version $(GLIB_LIBS)
2cc05a9e944d [gaim-migrate @ 12597]
Stu Tomlinson <stu@nosnilmot.com>
parents: 10657
diff changeset
46 spellchk_la_LDFLAGS = -module -avoid-version $(GTK_LIBS)
2cc05a9e944d [gaim-migrate @ 12597]
Stu Tomlinson <stu@nosnilmot.com>
parents: 10657
diff changeset
47 statenotify_la_LDFLAGS = -module -avoid-version $(GLIB_LIBS)
2cc05a9e944d [gaim-migrate @ 12597]
Stu Tomlinson <stu@nosnilmot.com>
parents: 10657
diff changeset
48 timestamp_la_LDFLAGS = -module -avoid-version $(GTK_LIBS)
4202
59751fe608c5 [gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents: 4104
diff changeset
49
11893
85c0aece7be9 [gaim-migrate @ 14184]
Gary Kramlich <grim@reaperworld.com>
parents: 11862
diff changeset
50 # this can't be in a conditional otherwise automake 1.4 yells
85c0aece7be9 [gaim-migrate @ 14184]
Gary Kramlich <grim@reaperworld.com>
parents: 11862
diff changeset
51 dbus_example_la_LDFLAGS = -module -avoid-version $(GLIB_LIBS) $(DBUS_LIBS)
85c0aece7be9 [gaim-migrate @ 14184]
Gary Kramlich <grim@reaperworld.com>
parents: 11862
diff changeset
52
4202
59751fe608c5 [gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents: 4104
diff changeset
53 if PLUGINS
59751fe608c5 [gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents: 4104
diff changeset
54
59751fe608c5 [gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents: 4104
diff changeset
55 plugin_LTLIBRARIES = \
9215
6b96a5a13e68 [gaim-migrate @ 10011]
Nathan Walp <nwalp@pidgin.im>
parents: 9099
diff changeset
56 extplacement.la \
10584
7de819b5ed68 [gaim-migrate @ 11988]
Etan Reisner <pidgin@unreliablesource.net>
parents: 9215
diff changeset
57 gaimrc.la \
9215
6b96a5a13e68 [gaim-migrate @ 10011]
Nathan Walp <nwalp@pidgin.im>
parents: 9099
diff changeset
58 history.la \
6b96a5a13e68 [gaim-migrate @ 10011]
Nathan Walp <nwalp@pidgin.im>
parents: 9099
diff changeset
59 iconaway.la \
6b96a5a13e68 [gaim-migrate @ 10011]
Nathan Walp <nwalp@pidgin.im>
parents: 9099
diff changeset
60 idle.la \
6b96a5a13e68 [gaim-migrate @ 10011]
Nathan Walp <nwalp@pidgin.im>
parents: 9099
diff changeset
61 notify.la \
6b96a5a13e68 [gaim-migrate @ 10011]
Nathan Walp <nwalp@pidgin.im>
parents: 9099
diff changeset
62 relnot.la \
6b96a5a13e68 [gaim-migrate @ 10011]
Nathan Walp <nwalp@pidgin.im>
parents: 9099
diff changeset
63 spellchk.la \
6b96a5a13e68 [gaim-migrate @ 10011]
Nathan Walp <nwalp@pidgin.im>
parents: 9099
diff changeset
64 statenotify.la \
11435
1a2eaba2bc13 [gaim-migrate @ 13672]
Gary Kramlich <grim@reaperworld.com>
parents: 11405
diff changeset
65 timestamp.la \
1a2eaba2bc13 [gaim-migrate @ 13672]
Gary Kramlich <grim@reaperworld.com>
parents: 11405
diff changeset
66 $(DBUS_LTLIB)
5587
1c55b1540e18 [gaim-migrate @ 5991]
Christian Hammond <chipx86@chipx86.com>
parents: 5267
diff changeset
67
11171
ebb02ea3c789 [gaim-migrate @ 13272]
Piotr Zielinski <zielaj>
parents: 11086
diff changeset
68
9215
6b96a5a13e68 [gaim-migrate @ 10011]
Nathan Walp <nwalp@pidgin.im>
parents: 9099
diff changeset
69 extplacement_la_SOURCES = extplacement.c
10584
7de819b5ed68 [gaim-migrate @ 11988]
Etan Reisner <pidgin@unreliablesource.net>
parents: 9215
diff changeset
70 gaimrc_la_SOURCES = gaimrc.c
9215
6b96a5a13e68 [gaim-migrate @ 10011]
Nathan Walp <nwalp@pidgin.im>
parents: 9099
diff changeset
71 history_la_SOURCES = history.c
6b96a5a13e68 [gaim-migrate @ 10011]
Nathan Walp <nwalp@pidgin.im>
parents: 9099
diff changeset
72 iconaway_la_SOURCES = iconaway.c
6b96a5a13e68 [gaim-migrate @ 10011]
Nathan Walp <nwalp@pidgin.im>
parents: 9099
diff changeset
73 idle_la_SOURCES = idle.c
6b96a5a13e68 [gaim-migrate @ 10011]
Nathan Walp <nwalp@pidgin.im>
parents: 9099
diff changeset
74 notify_la_SOURCES = notify.c
6b96a5a13e68 [gaim-migrate @ 10011]
Nathan Walp <nwalp@pidgin.im>
parents: 9099
diff changeset
75 relnot_la_SOURCES = relnot.c
6b96a5a13e68 [gaim-migrate @ 10011]
Nathan Walp <nwalp@pidgin.im>
parents: 9099
diff changeset
76 spellchk_la_SOURCES = spellchk.c
6b96a5a13e68 [gaim-migrate @ 10011]
Nathan Walp <nwalp@pidgin.im>
parents: 9099
diff changeset
77 statenotify_la_SOURCES = statenotify.c
6b96a5a13e68 [gaim-migrate @ 10011]
Nathan Walp <nwalp@pidgin.im>
parents: 9099
diff changeset
78 timestamp_la_SOURCES = timestamp.c
4202
59751fe608c5 [gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents: 4104
diff changeset
79
11171
ebb02ea3c789 [gaim-migrate @ 13272]
Piotr Zielinski <zielaj>
parents: 11086
diff changeset
80 if ENABLE_DBUS
ebb02ea3c789 [gaim-migrate @ 13272]
Piotr Zielinski <zielaj>
parents: 11086
diff changeset
81
ebb02ea3c789 [gaim-migrate @ 13272]
Piotr Zielinski <zielaj>
parents: 11086
diff changeset
82 CLEANFILES = dbus-example-bindings.c
ebb02ea3c789 [gaim-migrate @ 13272]
Piotr Zielinski <zielaj>
parents: 11086
diff changeset
83 dbus_example_la_SOURCES = dbus-example.c
ebb02ea3c789 [gaim-migrate @ 13272]
Piotr Zielinski <zielaj>
parents: 11086
diff changeset
84
11337
1462b64f8fc9 [gaim-migrate @ 13550]
Piotr Zielinski <zielaj>
parents: 11318
diff changeset
85 .PHONY: always
1462b64f8fc9 [gaim-migrate @ 13550]
Piotr Zielinski <zielaj>
parents: 11318
diff changeset
86
1462b64f8fc9 [gaim-migrate @ 13550]
Piotr Zielinski <zielaj>
parents: 11318
diff changeset
87 $(top_builddir)/src/dbus-types.h: always
1462b64f8fc9 [gaim-migrate @ 13550]
Piotr Zielinski <zielaj>
parents: 11318
diff changeset
88 cd $(@D) && $(MAKE) $(AM_MAKEFLAGS) $(@F)
1462b64f8fc9 [gaim-migrate @ 13550]
Piotr Zielinski <zielaj>
parents: 11318
diff changeset
89
11903
c9312177821a [gaim-migrate @ 14194]
Stu Tomlinson <stu@nosnilmot.com>
parents: 11893
diff changeset
90 dbus-example-bindings.c: $(top_srcdir)/src/dbus-analyze-functions.py $(dbus_example_la_SOURCES)
c9312177821a [gaim-migrate @ 14194]
Stu Tomlinson <stu@nosnilmot.com>
parents: 11893
diff changeset
91 cat $(srcdir)/$(dbus_example_la_SOURCES) | \
11337
1462b64f8fc9 [gaim-migrate @ 13550]
Piotr Zielinski <zielaj>
parents: 11318
diff changeset
92 $(PYTHON) $(top_srcdir)/src/dbus-analyze-functions.py --export-only > $@
11171
ebb02ea3c789 [gaim-migrate @ 13272]
Piotr Zielinski <zielaj>
parents: 11086
diff changeset
93
11337
1462b64f8fc9 [gaim-migrate @ 13550]
Piotr Zielinski <zielaj>
parents: 11318
diff changeset
94 $(dbus_example_la_OBJECTS) dbus-example.so: dbus-example-bindings.c $(top_builddir)/src/dbus-types.h
11171
ebb02ea3c789 [gaim-migrate @ 13272]
Piotr Zielinski <zielaj>
parents: 11086
diff changeset
95
ebb02ea3c789 [gaim-migrate @ 13272]
Piotr Zielinski <zielaj>
parents: 11086
diff changeset
96
ebb02ea3c789 [gaim-migrate @ 13272]
Piotr Zielinski <zielaj>
parents: 11086
diff changeset
97 endif # ENABLE_DBUS
ebb02ea3c789 [gaim-migrate @ 13272]
Piotr Zielinski <zielaj>
parents: 11086
diff changeset
98
5205
fefad67de2c7 [gaim-migrate @ 5573]
Christian Hammond <chipx86@chipx86.com>
parents: 4687
diff changeset
99 endif # PLUGINS
4202
59751fe608c5 [gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents: 4104
diff changeset
100
59751fe608c5 [gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents: 4104
diff changeset
101 EXTRA_DIST = \
6993
4e78ef5587e4 [gaim-migrate @ 7549]
Christian Hammond <chipx86@chipx86.com>
parents: 6694
diff changeset
102 ChangeLog HOWTO \
9099
8da67bfea813 [gaim-migrate @ 9876]
Luke Schierer <lschiere@pidgin.im>
parents: 8713
diff changeset
103 ChangeLog.API \
11030
f1c384340261 [gaim-migrate @ 12909]
Etan Reisner <pidgin@unreliablesource.net>
parents: 10889
diff changeset
104 Makefile.mingw \
11903
c9312177821a [gaim-migrate @ 14194]
Stu Tomlinson <stu@nosnilmot.com>
parents: 11893
diff changeset
105 contact_priority.c \
6302
511003c99302 [gaim-migrate @ 6801]
Mark Doliner <mark@kingant.net>
parents: 6237
diff changeset
106 filectl.c \
11030
f1c384340261 [gaim-migrate @ 12909]
Etan Reisner <pidgin@unreliablesource.net>
parents: 10889
diff changeset
107 fortuneprofile.pl \
f1c384340261 [gaim-migrate @ 12909]
Etan Reisner <pidgin@unreliablesource.net>
parents: 10889
diff changeset
108 gaim.pl \
11903
c9312177821a [gaim-migrate @ 14194]
Stu Tomlinson <stu@nosnilmot.com>
parents: 11893
diff changeset
109 gaiminc.c \
c9312177821a [gaim-migrate @ 14194]
Stu Tomlinson <stu@nosnilmot.com>
parents: 11893
diff changeset
110 gtk-signals-test.c \
c9312177821a [gaim-migrate @ 14194]
Stu Tomlinson <stu@nosnilmot.com>
parents: 11893
diff changeset
111 ipc-test-client.c \
c9312177821a [gaim-migrate @ 14194]
Stu Tomlinson <stu@nosnilmot.com>
parents: 11893
diff changeset
112 ipc-test-server.c \
6302
511003c99302 [gaim-migrate @ 6801]
Mark Doliner <mark@kingant.net>
parents: 6237
diff changeset
113 mailchk.c \
8713
7024b595b6ae [gaim-migrate @ 9467]
Luke Schierer <lschiere@pidgin.im>
parents: 8306
diff changeset
114 pluginpref_example.c \
6302
511003c99302 [gaim-migrate @ 6801]
Mark Doliner <mark@kingant.net>
parents: 6237
diff changeset
115 raw.c \
6485
70d5122bc3ff [gaim-migrate @ 6999]
Christian Hammond <chipx86@chipx86.com>
parents: 6386
diff changeset
116 signals-test.c \
11032
31c1c48daba1 [gaim-migrate @ 12912]
Etan Reisner <pidgin@unreliablesource.net>
parents: 11030
diff changeset
117 simple.c
4202
59751fe608c5 [gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents: 4104
diff changeset
118
59751fe608c5 [gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents: 4104
diff changeset
119 AM_CPPFLAGS = \
6360
2e23ccbccdec [gaim-migrate @ 6864]
Christian Hammond <chipx86@chipx86.com>
parents: 6353
diff changeset
120 -DDATADIR=\"$(datadir)\" \
4202
59751fe608c5 [gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents: 4104
diff changeset
121 -DVERSION=\"$(VERSION)\" \
11903
c9312177821a [gaim-migrate @ 14194]
Stu Tomlinson <stu@nosnilmot.com>
parents: 11893
diff changeset
122 -I$(top_builddir)/src \
6360
2e23ccbccdec [gaim-migrate @ 6864]
Christian Hammond <chipx86@chipx86.com>
parents: 6353
diff changeset
123 -I$(top_srcdir)/src \
4202
59751fe608c5 [gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents: 4104
diff changeset
124 $(DEBUG_CFLAGS) \
6360
2e23ccbccdec [gaim-migrate @ 6864]
Christian Hammond <chipx86@chipx86.com>
parents: 6353
diff changeset
125 $(GTK_CFLAGS) \
11171
ebb02ea3c789 [gaim-migrate @ 13272]
Piotr Zielinski <zielaj>
parents: 11086
diff changeset
126 $(PLUGIN_CFLAGS) \
ebb02ea3c789 [gaim-migrate @ 13272]
Piotr Zielinski <zielaj>
parents: 11086
diff changeset
127 $(DBUS_CFLAGS)
4202
59751fe608c5 [gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents: 4104
diff changeset
128
59751fe608c5 [gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents: 4104
diff changeset
129 #
59751fe608c5 [gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents: 4104
diff changeset
130 # This part allows people to build their own plugins in here.
59751fe608c5 [gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents: 4104
diff changeset
131 # Yes, it's a mess.
59751fe608c5 [gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents: 4104
diff changeset
132 #
392
df5127560034 [gaim-migrate @ 402]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 391
diff changeset
133 SUFFIXES = .c .so
172
450d62d40185 [gaim-migrate @ 182]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
134 .c.so:
6386
417f35ff8b3e [gaim-migrate @ 6891]
Christian Hammond <chipx86@chipx86.com>
parents: 6371
diff changeset
135 $(LIBTOOL) --mode=compile $(CC) -DHAVE_CONFIG_H -I$(top_srcdir) $(AM_CPPFLAGS) $(CFLAGS) -c $< -o tmp$@.lo $(PLUGIN_CFLAGS)
2893
abf9303fb328 [gaim-migrate @ 2906]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 2867
diff changeset
136 $(LIBTOOL) --mode=link $(CC) $(CFLAGS) -o libtmp$@.la -rpath $(plugindir) tmp$@.lo $(LIBS) $(LDFLAGS) -module -avoid-version $(PLUGIN_LIBS)
2342
b1050f14b429 [gaim-migrate @ 2355]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 2327
diff changeset
137 @rm -f tmp$@.lo tmp$@.o libtmp$@.la
2476
ec21ec04cdeb [gaim-migrate @ 2489]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 2473
diff changeset
138 @cp .libs/libtmp$@.so* $@
2342
b1050f14b429 [gaim-migrate @ 2355]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 2327
diff changeset
139 @rm -f .libs/libtmp$@.*