annotate plugins/Makefile.am @ 11256:bb0d7b719af2

[gaim-migrate @ 13430] I give you regex filtering in the debug window. We keep a buffer of all the text, so when unpausing all the messages that were output when paused will be displayed, as well as when you change the filter. This _should_ be alright on systems that don't have regex.h but I haven't gotten anyone to test it recently, if it's busted, just #ifdef HAVE_REGEX_H it. committer: Tailor Script <tailor@pidgin.im>
author Gary Kramlich <grim@reaperworld.com>
date Sat, 13 Aug 2005 22:09:34 +0000
parents f305bcd85dda
children 519dc2186438
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
8306
d94df977b502 [gaim-migrate @ 9030]
Christian Hammond <chipx86@chipx86.com>
parents: 8305
diff changeset
1 DIST_SUBDIRS = docklet gevolution gaim-remote gestures 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
8089
35db601609e3 [gaim-migrate @ 8788]
Sean Egan <seanegan@gmail.com>
parents: 7851
diff changeset
15 SUBDIRS = \
35db601609e3 [gaim-migrate @ 8788]
Sean Egan <seanegan@gmail.com>
parents: 7851
diff changeset
16 docklet gaim-remote $(GEVOLUTION_DIR) gestures \
11207
f305bcd85dda [gaim-migrate @ 13337]
Christian Muise <christian.muise@gmail.com>
parents: 11171
diff changeset
17 $(PERL_DIR) ssl $(TCL_DIR) ticker
3391
412d1035d666 [gaim-migrate @ 3410]
Sean Egan <seanegan@gmail.com>
parents: 3352
diff changeset
18
4202
59751fe608c5 [gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents: 4104
diff changeset
19 plugindir = $(libdir)/gaim
59751fe608c5 [gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents: 4104
diff changeset
20
10889
2cc05a9e944d [gaim-migrate @ 12597]
Stu Tomlinson <stu@nosnilmot.com>
parents: 10657
diff changeset
21 autorecon_la_LDFLAGS = -module -avoid-version $(GLIB_LIBS)
2cc05a9e944d [gaim-migrate @ 12597]
Stu Tomlinson <stu@nosnilmot.com>
parents: 10657
diff changeset
22 extplacement_la_LDFLAGS = -module -avoid-version $(GLIB_LIBS)
2cc05a9e944d [gaim-migrate @ 12597]
Stu Tomlinson <stu@nosnilmot.com>
parents: 10657
diff changeset
23 gaimrc_la_LDFLAGS = -module -avoid-version $(GTK_LIBS)
2cc05a9e944d [gaim-migrate @ 12597]
Stu Tomlinson <stu@nosnilmot.com>
parents: 10657
diff changeset
24 history_la_LDFLAGS = -module -avoid-version $(GTK_LIBS)
2cc05a9e944d [gaim-migrate @ 12597]
Stu Tomlinson <stu@nosnilmot.com>
parents: 10657
diff changeset
25 iconaway_la_LDFLAGS = -module -avoid-version $(GTK_LIBS)
2cc05a9e944d [gaim-migrate @ 12597]
Stu Tomlinson <stu@nosnilmot.com>
parents: 10657
diff changeset
26 idle_la_LDFLAGS = -module -avoid-version $(GLIB_LIBS)
2cc05a9e944d [gaim-migrate @ 12597]
Stu Tomlinson <stu@nosnilmot.com>
parents: 10657
diff changeset
27 notify_la_LDFLAGS = -module -avoid-version $(GTK_LIBS)
2cc05a9e944d [gaim-migrate @ 12597]
Stu Tomlinson <stu@nosnilmot.com>
parents: 10657
diff changeset
28 relnot_la_LDFLAGS = -module -avoid-version $(GLIB_LIBS)
2cc05a9e944d [gaim-migrate @ 12597]
Stu Tomlinson <stu@nosnilmot.com>
parents: 10657
diff changeset
29 spellchk_la_LDFLAGS = -module -avoid-version $(GTK_LIBS)
2cc05a9e944d [gaim-migrate @ 12597]
Stu Tomlinson <stu@nosnilmot.com>
parents: 10657
diff changeset
30 statenotify_la_LDFLAGS = -module -avoid-version $(GLIB_LIBS)
2cc05a9e944d [gaim-migrate @ 12597]
Stu Tomlinson <stu@nosnilmot.com>
parents: 10657
diff changeset
31 timestamp_la_LDFLAGS = -module -avoid-version $(GTK_LIBS)
4202
59751fe608c5 [gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents: 4104
diff changeset
32
59751fe608c5 [gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents: 4104
diff changeset
33 if PLUGINS
59751fe608c5 [gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents: 4104
diff changeset
34
59751fe608c5 [gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents: 4104
diff changeset
35 plugin_LTLIBRARIES = \
9215
6b96a5a13e68 [gaim-migrate @ 10011]
Nathan Walp <nwalp@pidgin.im>
parents: 9099
diff changeset
36 autorecon.la \
6b96a5a13e68 [gaim-migrate @ 10011]
Nathan Walp <nwalp@pidgin.im>
parents: 9099
diff changeset
37 extplacement.la \
10584
7de819b5ed68 [gaim-migrate @ 11988]
Etan Reisner <pidgin@unreliablesource.net>
parents: 9215
diff changeset
38 gaimrc.la \
9215
6b96a5a13e68 [gaim-migrate @ 10011]
Nathan Walp <nwalp@pidgin.im>
parents: 9099
diff changeset
39 history.la \
6b96a5a13e68 [gaim-migrate @ 10011]
Nathan Walp <nwalp@pidgin.im>
parents: 9099
diff changeset
40 iconaway.la \
6b96a5a13e68 [gaim-migrate @ 10011]
Nathan Walp <nwalp@pidgin.im>
parents: 9099
diff changeset
41 idle.la \
6b96a5a13e68 [gaim-migrate @ 10011]
Nathan Walp <nwalp@pidgin.im>
parents: 9099
diff changeset
42 notify.la \
6b96a5a13e68 [gaim-migrate @ 10011]
Nathan Walp <nwalp@pidgin.im>
parents: 9099
diff changeset
43 relnot.la \
6b96a5a13e68 [gaim-migrate @ 10011]
Nathan Walp <nwalp@pidgin.im>
parents: 9099
diff changeset
44 spellchk.la \
6b96a5a13e68 [gaim-migrate @ 10011]
Nathan Walp <nwalp@pidgin.im>
parents: 9099
diff changeset
45 statenotify.la \
6302
511003c99302 [gaim-migrate @ 6801]
Mark Doliner <mark@kingant.net>
parents: 6237
diff changeset
46 timestamp.la
5587
1c55b1540e18 [gaim-migrate @ 5991]
Christian Hammond <chipx86@chipx86.com>
parents: 5267
diff changeset
47
9215
6b96a5a13e68 [gaim-migrate @ 10011]
Nathan Walp <nwalp@pidgin.im>
parents: 9099
diff changeset
48 autorecon_la_SOURCES = autorecon.c
11171
ebb02ea3c789 [gaim-migrate @ 13272]
Piotr Zielinski <zielaj>
parents: 11086
diff changeset
49
9215
6b96a5a13e68 [gaim-migrate @ 10011]
Nathan Walp <nwalp@pidgin.im>
parents: 9099
diff changeset
50 extplacement_la_SOURCES = extplacement.c
10584
7de819b5ed68 [gaim-migrate @ 11988]
Etan Reisner <pidgin@unreliablesource.net>
parents: 9215
diff changeset
51 gaimrc_la_SOURCES = gaimrc.c
9215
6b96a5a13e68 [gaim-migrate @ 10011]
Nathan Walp <nwalp@pidgin.im>
parents: 9099
diff changeset
52 history_la_SOURCES = history.c
6b96a5a13e68 [gaim-migrate @ 10011]
Nathan Walp <nwalp@pidgin.im>
parents: 9099
diff changeset
53 iconaway_la_SOURCES = iconaway.c
6b96a5a13e68 [gaim-migrate @ 10011]
Nathan Walp <nwalp@pidgin.im>
parents: 9099
diff changeset
54 idle_la_SOURCES = idle.c
6b96a5a13e68 [gaim-migrate @ 10011]
Nathan Walp <nwalp@pidgin.im>
parents: 9099
diff changeset
55 notify_la_SOURCES = notify.c
6b96a5a13e68 [gaim-migrate @ 10011]
Nathan Walp <nwalp@pidgin.im>
parents: 9099
diff changeset
56 relnot_la_SOURCES = relnot.c
6b96a5a13e68 [gaim-migrate @ 10011]
Nathan Walp <nwalp@pidgin.im>
parents: 9099
diff changeset
57 spellchk_la_SOURCES = spellchk.c
6b96a5a13e68 [gaim-migrate @ 10011]
Nathan Walp <nwalp@pidgin.im>
parents: 9099
diff changeset
58 statenotify_la_SOURCES = statenotify.c
6b96a5a13e68 [gaim-migrate @ 10011]
Nathan Walp <nwalp@pidgin.im>
parents: 9099
diff changeset
59 timestamp_la_SOURCES = timestamp.c
4202
59751fe608c5 [gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents: 4104
diff changeset
60
11171
ebb02ea3c789 [gaim-migrate @ 13272]
Piotr Zielinski <zielaj>
parents: 11086
diff changeset
61 if ENABLE_DBUS
ebb02ea3c789 [gaim-migrate @ 13272]
Piotr Zielinski <zielaj>
parents: 11086
diff changeset
62
11207
f305bcd85dda [gaim-migrate @ 13337]
Christian Muise <christian.muise@gmail.com>
parents: 11171
diff changeset
63 # Only use music messaging if dbus is enabled
f305bcd85dda [gaim-migrate @ 13337]
Christian Muise <christian.muise@gmail.com>
parents: 11171
diff changeset
64 SUBDIRS += musicmessaging
f305bcd85dda [gaim-migrate @ 13337]
Christian Muise <christian.muise@gmail.com>
parents: 11171
diff changeset
65
11171
ebb02ea3c789 [gaim-migrate @ 13272]
Piotr Zielinski <zielaj>
parents: 11086
diff changeset
66 CLEANFILES = dbus-example-bindings.c
ebb02ea3c789 [gaim-migrate @ 13272]
Piotr Zielinski <zielaj>
parents: 11086
diff changeset
67 dbus_example_la_LDFLAGS = -module -avoid-version $(GLIB_LIBS) $(DBUS_LIBS)
ebb02ea3c789 [gaim-migrate @ 13272]
Piotr Zielinski <zielaj>
parents: 11086
diff changeset
68 dbus_example_la_SOURCES = dbus-example.c
ebb02ea3c789 [gaim-migrate @ 13272]
Piotr Zielinski <zielaj>
parents: 11086
diff changeset
69 plugin_LTLIBRARIES += dbus-example.la
ebb02ea3c789 [gaim-migrate @ 13272]
Piotr Zielinski <zielaj>
parents: 11086
diff changeset
70
ebb02ea3c789 [gaim-migrate @ 13272]
Piotr Zielinski <zielaj>
parents: 11086
diff changeset
71 dbus-example-bindings.c: ../src/dbus-analyze-functions.py $(dbus_example_la_SOURCES) $(dbus_example_la_HEADERS)
ebb02ea3c789 [gaim-migrate @ 13272]
Piotr Zielinski <zielaj>
parents: 11086
diff changeset
72 cat $(dbus_example_la_SOURCES) $(dbus_example_la_HEADERS) | \
ebb02ea3c789 [gaim-migrate @ 13272]
Piotr Zielinski <zielaj>
parents: 11086
diff changeset
73 $(PYTHON) ../src/dbus-analyze-functions.py --export-only > $@
ebb02ea3c789 [gaim-migrate @ 13272]
Piotr Zielinski <zielaj>
parents: 11086
diff changeset
74
ebb02ea3c789 [gaim-migrate @ 13272]
Piotr Zielinski <zielaj>
parents: 11086
diff changeset
75 $(dbus_example_la_OBJECTS) dbus-example.so: dbus-example-bindings.c
ebb02ea3c789 [gaim-migrate @ 13272]
Piotr Zielinski <zielaj>
parents: 11086
diff changeset
76
ebb02ea3c789 [gaim-migrate @ 13272]
Piotr Zielinski <zielaj>
parents: 11086
diff changeset
77
ebb02ea3c789 [gaim-migrate @ 13272]
Piotr Zielinski <zielaj>
parents: 11086
diff changeset
78 endif # ENABLE_DBUS
ebb02ea3c789 [gaim-migrate @ 13272]
Piotr Zielinski <zielaj>
parents: 11086
diff changeset
79
5205
fefad67de2c7 [gaim-migrate @ 5573]
Christian Hammond <chipx86@chipx86.com>
parents: 4687
diff changeset
80 endif # PLUGINS
4202
59751fe608c5 [gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents: 4104
diff changeset
81
59751fe608c5 [gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents: 4104
diff changeset
82 EXTRA_DIST = \
6993
4e78ef5587e4 [gaim-migrate @ 7549]
Christian Hammond <chipx86@chipx86.com>
parents: 6694
diff changeset
83 ChangeLog HOWTO \
9099
8da67bfea813 [gaim-migrate @ 9876]
Luke Schierer <lschiere@pidgin.im>
parents: 8713
diff changeset
84 ChangeLog.API \
11030
f1c384340261 [gaim-migrate @ 12909]
Etan Reisner <pidgin@unreliablesource.net>
parents: 10889
diff changeset
85 Makefile.mingw \
6302
511003c99302 [gaim-migrate @ 6801]
Mark Doliner <mark@kingant.net>
parents: 6237
diff changeset
86 filectl.c \
11030
f1c384340261 [gaim-migrate @ 12909]
Etan Reisner <pidgin@unreliablesource.net>
parents: 10889
diff changeset
87 fortuneprofile.pl \
f1c384340261 [gaim-migrate @ 12909]
Etan Reisner <pidgin@unreliablesource.net>
parents: 10889
diff changeset
88 gaim.pl \
6302
511003c99302 [gaim-migrate @ 6801]
Mark Doliner <mark@kingant.net>
parents: 6237
diff changeset
89 mailchk.c \
8713
7024b595b6ae [gaim-migrate @ 9467]
Luke Schierer <lschiere@pidgin.im>
parents: 8306
diff changeset
90 pluginpref_example.c \
6302
511003c99302 [gaim-migrate @ 6801]
Mark Doliner <mark@kingant.net>
parents: 6237
diff changeset
91 raw.c \
6485
70d5122bc3ff [gaim-migrate @ 6999]
Christian Hammond <chipx86@chipx86.com>
parents: 6386
diff changeset
92 signals-test.c \
11032
31c1c48daba1 [gaim-migrate @ 12912]
Etan Reisner <pidgin@unreliablesource.net>
parents: 11030
diff changeset
93 simple.c
4202
59751fe608c5 [gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents: 4104
diff changeset
94
59751fe608c5 [gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents: 4104
diff changeset
95 AM_CPPFLAGS = \
6360
2e23ccbccdec [gaim-migrate @ 6864]
Christian Hammond <chipx86@chipx86.com>
parents: 6353
diff changeset
96 -DDATADIR=\"$(datadir)\" \
4202
59751fe608c5 [gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents: 4104
diff changeset
97 -DVERSION=\"$(VERSION)\" \
6360
2e23ccbccdec [gaim-migrate @ 6864]
Christian Hammond <chipx86@chipx86.com>
parents: 6353
diff changeset
98 -I$(top_srcdir)/src \
4202
59751fe608c5 [gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents: 4104
diff changeset
99 $(DEBUG_CFLAGS) \
6360
2e23ccbccdec [gaim-migrate @ 6864]
Christian Hammond <chipx86@chipx86.com>
parents: 6353
diff changeset
100 $(GTK_CFLAGS) \
11171
ebb02ea3c789 [gaim-migrate @ 13272]
Piotr Zielinski <zielaj>
parents: 11086
diff changeset
101 $(PLUGIN_CFLAGS) \
ebb02ea3c789 [gaim-migrate @ 13272]
Piotr Zielinski <zielaj>
parents: 11086
diff changeset
102 $(DBUS_CFLAGS)
4202
59751fe608c5 [gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents: 4104
diff changeset
103
59751fe608c5 [gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents: 4104
diff changeset
104 #
59751fe608c5 [gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents: 4104
diff changeset
105 # This part allows people to build their own plugins in here.
59751fe608c5 [gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents: 4104
diff changeset
106 # Yes, it's a mess.
59751fe608c5 [gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents: 4104
diff changeset
107 #
392
df5127560034 [gaim-migrate @ 402]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 391
diff changeset
108 SUFFIXES = .c .so
172
450d62d40185 [gaim-migrate @ 182]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
109 .c.so:
6386
417f35ff8b3e [gaim-migrate @ 6891]
Christian Hammond <chipx86@chipx86.com>
parents: 6371
diff changeset
110 $(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
111 $(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
112 @rm -f tmp$@.lo tmp$@.o libtmp$@.la
2476
ec21ec04cdeb [gaim-migrate @ 2489]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 2473
diff changeset
113 @cp .libs/libtmp$@.so* $@
2342
b1050f14b429 [gaim-migrate @ 2355]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 2327
diff changeset
114 @rm -f .libs/libtmp$@.*