annotate plugins/Makefile.am @ 10227:53c9ba039354

[gaim-migrate @ 11361] Allow multiple instances of gaim if GAIM_MULTI_INST env variable is set. committer: Tailor Script <tailor@pidgin.im>
author Herman Bloggs <hermanator12002@yahoo.com>
date Sun, 21 Nov 2004 19:30:22 +0000
parents 6b96a5a13e68
children 7de819b5ed68
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 \
8306
d94df977b502 [gaim-migrate @ 9030]
Christian Hammond <chipx86@chipx86.com>
parents: 8305
diff changeset
17 $(PERL_DIR) $(TCL_DIR) ssl 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
9215
6b96a5a13e68 [gaim-migrate @ 10011]
Nathan Walp <nwalp@pidgin.im>
parents: 9099
diff changeset
21 autorecon_la_LDFLAGS = -module -avoid-version
6b96a5a13e68 [gaim-migrate @ 10011]
Nathan Walp <nwalp@pidgin.im>
parents: 9099
diff changeset
22 extplacement_la_LDFLAGS = -module -avoid-version
6b96a5a13e68 [gaim-migrate @ 10011]
Nathan Walp <nwalp@pidgin.im>
parents: 9099
diff changeset
23 history_la_LDFLAGS = -module -avoid-version
6b96a5a13e68 [gaim-migrate @ 10011]
Nathan Walp <nwalp@pidgin.im>
parents: 9099
diff changeset
24 iconaway_la_LDFLAGS = -module -avoid-version
6b96a5a13e68 [gaim-migrate @ 10011]
Nathan Walp <nwalp@pidgin.im>
parents: 9099
diff changeset
25 idle_la_LDFLAGS = -module -avoid-version
6b96a5a13e68 [gaim-migrate @ 10011]
Nathan Walp <nwalp@pidgin.im>
parents: 9099
diff changeset
26 notify_la_LDFLAGS = -module -avoid-version
6b96a5a13e68 [gaim-migrate @ 10011]
Nathan Walp <nwalp@pidgin.im>
parents: 9099
diff changeset
27 relnot_la_LDFLAGS = -module -avoid-version
6b96a5a13e68 [gaim-migrate @ 10011]
Nathan Walp <nwalp@pidgin.im>
parents: 9099
diff changeset
28 spellchk_la_LDFLAGS = -module -avoid-version
6b96a5a13e68 [gaim-migrate @ 10011]
Nathan Walp <nwalp@pidgin.im>
parents: 9099
diff changeset
29 statenotify_la_LDFLAGS = -module -avoid-version
6b96a5a13e68 [gaim-migrate @ 10011]
Nathan Walp <nwalp@pidgin.im>
parents: 9099
diff changeset
30 timestamp_la_LDFLAGS = -module -avoid-version
4202
59751fe608c5 [gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents: 4104
diff changeset
31
59751fe608c5 [gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents: 4104
diff changeset
32 if PLUGINS
59751fe608c5 [gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents: 4104
diff changeset
33
59751fe608c5 [gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents: 4104
diff changeset
34 plugin_LTLIBRARIES = \
9215
6b96a5a13e68 [gaim-migrate @ 10011]
Nathan Walp <nwalp@pidgin.im>
parents: 9099
diff changeset
35 autorecon.la \
6b96a5a13e68 [gaim-migrate @ 10011]
Nathan Walp <nwalp@pidgin.im>
parents: 9099
diff changeset
36 extplacement.la \
6b96a5a13e68 [gaim-migrate @ 10011]
Nathan Walp <nwalp@pidgin.im>
parents: 9099
diff changeset
37 history.la \
6b96a5a13e68 [gaim-migrate @ 10011]
Nathan Walp <nwalp@pidgin.im>
parents: 9099
diff changeset
38 iconaway.la \
6b96a5a13e68 [gaim-migrate @ 10011]
Nathan Walp <nwalp@pidgin.im>
parents: 9099
diff changeset
39 idle.la \
6b96a5a13e68 [gaim-migrate @ 10011]
Nathan Walp <nwalp@pidgin.im>
parents: 9099
diff changeset
40 notify.la \
6b96a5a13e68 [gaim-migrate @ 10011]
Nathan Walp <nwalp@pidgin.im>
parents: 9099
diff changeset
41 relnot.la \
6b96a5a13e68 [gaim-migrate @ 10011]
Nathan Walp <nwalp@pidgin.im>
parents: 9099
diff changeset
42 spellchk.la \
6b96a5a13e68 [gaim-migrate @ 10011]
Nathan Walp <nwalp@pidgin.im>
parents: 9099
diff changeset
43 statenotify.la \
6302
511003c99302 [gaim-migrate @ 6801]
Mark Doliner <mark@kingant.net>
parents: 6237
diff changeset
44 timestamp.la
5587
1c55b1540e18 [gaim-migrate @ 5991]
Christian Hammond <chipx86@chipx86.com>
parents: 5267
diff changeset
45
9215
6b96a5a13e68 [gaim-migrate @ 10011]
Nathan Walp <nwalp@pidgin.im>
parents: 9099
diff changeset
46 autorecon_la_SOURCES = autorecon.c
6b96a5a13e68 [gaim-migrate @ 10011]
Nathan Walp <nwalp@pidgin.im>
parents: 9099
diff changeset
47 extplacement_la_SOURCES = extplacement.c
6b96a5a13e68 [gaim-migrate @ 10011]
Nathan Walp <nwalp@pidgin.im>
parents: 9099
diff changeset
48 history_la_SOURCES = history.c
6b96a5a13e68 [gaim-migrate @ 10011]
Nathan Walp <nwalp@pidgin.im>
parents: 9099
diff changeset
49 iconaway_la_SOURCES = iconaway.c
6b96a5a13e68 [gaim-migrate @ 10011]
Nathan Walp <nwalp@pidgin.im>
parents: 9099
diff changeset
50 idle_la_SOURCES = idle.c
6b96a5a13e68 [gaim-migrate @ 10011]
Nathan Walp <nwalp@pidgin.im>
parents: 9099
diff changeset
51 notify_la_SOURCES = notify.c
6b96a5a13e68 [gaim-migrate @ 10011]
Nathan Walp <nwalp@pidgin.im>
parents: 9099
diff changeset
52 relnot_la_SOURCES = relnot.c
6b96a5a13e68 [gaim-migrate @ 10011]
Nathan Walp <nwalp@pidgin.im>
parents: 9099
diff changeset
53 spellchk_la_SOURCES = spellchk.c
6b96a5a13e68 [gaim-migrate @ 10011]
Nathan Walp <nwalp@pidgin.im>
parents: 9099
diff changeset
54 statenotify_la_SOURCES = statenotify.c
6b96a5a13e68 [gaim-migrate @ 10011]
Nathan Walp <nwalp@pidgin.im>
parents: 9099
diff changeset
55 timestamp_la_SOURCES = timestamp.c
4202
59751fe608c5 [gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents: 4104
diff changeset
56
5205
fefad67de2c7 [gaim-migrate @ 5573]
Christian Hammond <chipx86@chipx86.com>
parents: 4687
diff changeset
57 endif # PLUGINS
4202
59751fe608c5 [gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents: 4104
diff changeset
58
59751fe608c5 [gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents: 4104
diff changeset
59 EXTRA_DIST = \
6993
4e78ef5587e4 [gaim-migrate @ 7549]
Christian Hammond <chipx86@chipx86.com>
parents: 6694
diff changeset
60 ChangeLog HOWTO \
9099
8da67bfea813 [gaim-migrate @ 9876]
Luke Schierer <lschiere@pidgin.im>
parents: 8713
diff changeset
61 ChangeLog.API \
6302
511003c99302 [gaim-migrate @ 6801]
Mark Doliner <mark@kingant.net>
parents: 6237
diff changeset
62 filectl.c \
511003c99302 [gaim-migrate @ 6801]
Mark Doliner <mark@kingant.net>
parents: 6237
diff changeset
63 mailchk.c \
8713
7024b595b6ae [gaim-migrate @ 9467]
Luke Schierer <lschiere@pidgin.im>
parents: 8306
diff changeset
64 pluginpref_example.c \
6302
511003c99302 [gaim-migrate @ 6801]
Mark Doliner <mark@kingant.net>
parents: 6237
diff changeset
65 raw.c \
6485
70d5122bc3ff [gaim-migrate @ 6999]
Christian Hammond <chipx86@chipx86.com>
parents: 6386
diff changeset
66 signals-test.c \
6302
511003c99302 [gaim-migrate @ 6801]
Mark Doliner <mark@kingant.net>
parents: 6237
diff changeset
67 simple.c \
511003c99302 [gaim-migrate @ 6801]
Mark Doliner <mark@kingant.net>
parents: 6237
diff changeset
68 gaim.pl \
7231
79e33c8ecf16 [gaim-migrate @ 7803]
Herman Bloggs <hermanator12002@yahoo.com>
parents: 7027
diff changeset
69 fortuneprofile.pl \
79e33c8ecf16 [gaim-migrate @ 7803]
Herman Bloggs <hermanator12002@yahoo.com>
parents: 7027
diff changeset
70 Makefile.mingw
4202
59751fe608c5 [gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents: 4104
diff changeset
71
59751fe608c5 [gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents: 4104
diff changeset
72 AM_CPPFLAGS = \
6360
2e23ccbccdec [gaim-migrate @ 6864]
Christian Hammond <chipx86@chipx86.com>
parents: 6353
diff changeset
73 -DDATADIR=\"$(datadir)\" \
4202
59751fe608c5 [gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents: 4104
diff changeset
74 -DVERSION=\"$(VERSION)\" \
6360
2e23ccbccdec [gaim-migrate @ 6864]
Christian Hammond <chipx86@chipx86.com>
parents: 6353
diff changeset
75 -I$(top_srcdir)/src \
4202
59751fe608c5 [gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents: 4104
diff changeset
76 $(DEBUG_CFLAGS) \
6360
2e23ccbccdec [gaim-migrate @ 6864]
Christian Hammond <chipx86@chipx86.com>
parents: 6353
diff changeset
77 $(GTK_CFLAGS) \
4202
59751fe608c5 [gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents: 4104
diff changeset
78 $(PLUGIN_CFLAGS)
59751fe608c5 [gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents: 4104
diff changeset
79
59751fe608c5 [gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents: 4104
diff changeset
80 #
59751fe608c5 [gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents: 4104
diff changeset
81 # This part allows people to build their own plugins in here.
59751fe608c5 [gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents: 4104
diff changeset
82 # Yes, it's a mess.
59751fe608c5 [gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents: 4104
diff changeset
83 #
392
df5127560034 [gaim-migrate @ 402]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 391
diff changeset
84 SUFFIXES = .c .so
172
450d62d40185 [gaim-migrate @ 182]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
85 .c.so:
6386
417f35ff8b3e [gaim-migrate @ 6891]
Christian Hammond <chipx86@chipx86.com>
parents: 6371
diff changeset
86 $(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
87 $(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
88 @rm -f tmp$@.lo tmp$@.o libtmp$@.la
2476
ec21ec04cdeb [gaim-migrate @ 2489]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 2473
diff changeset
89 @cp .libs/libtmp$@.so* $@
2342
b1050f14b429 [gaim-migrate @ 2355]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 2327
diff changeset
90 @rm -f .libs/libtmp$@.*