Mercurial > pidgin
annotate plugins/Makefile.am @ 13990:ff4ee4ac4408
[gaim-migrate @ 16563]
Reverted [16528] as per gaim-devel discussion
committer: Tailor Script <tailor@pidgin.im>
author | Evan Schoenberg <evan.s@dreskin.net> |
---|---|
date | Mon, 24 Jul 2006 16:19:16 +0000 |
parents | c5c14bb91c28 |
children | 009db0b357b5 |
rev | line source |
---|---|
11680 | 1 DIST_SUBDIRS = docklet gevolution gestures mono musicmessaging perl ssl tcl ticker |
8089 | 2 |
3 if BUILD_GEVOLUTION | |
4 GEVOLUTION_DIR = gevolution | |
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 | 11 if USE_TCL |
12 TCL_DIR = tcl | |
13 endif | |
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 | 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 | 30 $(MONO_DIR) \ |
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 | 35 ticker |
3391 | 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 |
12737
a1e241dd50b6
[gaim-migrate @ 15082]
Richard Laager <rlaager@wiktel.com>
parents:
11958
diff
changeset
|
39 extplacement_la_LDFLAGS = -module -avoid-version $(GLIB_LIBS) |
a1e241dd50b6
[gaim-migrate @ 15082]
Richard Laager <rlaager@wiktel.com>
parents:
11958
diff
changeset
|
40 gaimrc_la_LDFLAGS = -module -avoid-version $(GTK_LIBS) |
a1e241dd50b6
[gaim-migrate @ 15082]
Richard Laager <rlaager@wiktel.com>
parents:
11958
diff
changeset
|
41 history_la_LDFLAGS = -module -avoid-version $(GTK_LIBS) |
a1e241dd50b6
[gaim-migrate @ 15082]
Richard Laager <rlaager@wiktel.com>
parents:
11958
diff
changeset
|
42 iconaway_la_LDFLAGS = -module -avoid-version $(GTK_LIBS) |
a1e241dd50b6
[gaim-migrate @ 15082]
Richard Laager <rlaager@wiktel.com>
parents:
11958
diff
changeset
|
43 idle_la_LDFLAGS = -module -avoid-version $(GLIB_LIBS) |
a1e241dd50b6
[gaim-migrate @ 15082]
Richard Laager <rlaager@wiktel.com>
parents:
11958
diff
changeset
|
44 notify_la_LDFLAGS = -module -avoid-version $(GTK_LIBS) |
12859
02e1ef5bc3d5
[gaim-migrate @ 15210]
Christopher O'Brien <siege@pidgin.im>
parents:
12737
diff
changeset
|
45 psychic_la_LDFLAGS = -module -avoid-version $(GLIB_LIBS) |
12737
a1e241dd50b6
[gaim-migrate @ 15082]
Richard Laager <rlaager@wiktel.com>
parents:
11958
diff
changeset
|
46 relnot_la_LDFLAGS = -module -avoid-version $(GLIB_LIBS) |
a1e241dd50b6
[gaim-migrate @ 15082]
Richard Laager <rlaager@wiktel.com>
parents:
11958
diff
changeset
|
47 spellchk_la_LDFLAGS = -module -avoid-version $(GTK_LIBS) |
a1e241dd50b6
[gaim-migrate @ 15082]
Richard Laager <rlaager@wiktel.com>
parents:
11958
diff
changeset
|
48 statenotify_la_LDFLAGS = -module -avoid-version $(GLIB_LIBS) |
a1e241dd50b6
[gaim-migrate @ 15082]
Richard Laager <rlaager@wiktel.com>
parents:
11958
diff
changeset
|
49 timestamp_la_LDFLAGS = -module -avoid-version $(GTK_LIBS) |
a1e241dd50b6
[gaim-migrate @ 15082]
Richard Laager <rlaager@wiktel.com>
parents:
11958
diff
changeset
|
50 timestamp_format_la_LDFLAGS = -module -avoid-version $(GTK_LIBS) |
4202
59751fe608c5
[gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents:
4104
diff
changeset
|
51 |
11893
85c0aece7be9
[gaim-migrate @ 14184]
Gary Kramlich <grim@reaperworld.com>
parents:
11862
diff
changeset
|
52 # this can't be in a conditional otherwise automake 1.4 yells |
12737
a1e241dd50b6
[gaim-migrate @ 15082]
Richard Laager <rlaager@wiktel.com>
parents:
11958
diff
changeset
|
53 dbus_example_la_LDFLAGS = -module -avoid-version $(GLIB_LIBS) $(DBUS_LIBS) |
11893
85c0aece7be9
[gaim-migrate @ 14184]
Gary Kramlich <grim@reaperworld.com>
parents:
11862
diff
changeset
|
54 |
4202
59751fe608c5
[gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents:
4104
diff
changeset
|
55 if PLUGINS |
59751fe608c5
[gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents:
4104
diff
changeset
|
56 |
59751fe608c5
[gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents:
4104
diff
changeset
|
57 plugin_LTLIBRARIES = \ |
12737
a1e241dd50b6
[gaim-migrate @ 15082]
Richard Laager <rlaager@wiktel.com>
parents:
11958
diff
changeset
|
58 extplacement.la \ |
a1e241dd50b6
[gaim-migrate @ 15082]
Richard Laager <rlaager@wiktel.com>
parents:
11958
diff
changeset
|
59 gaimrc.la \ |
a1e241dd50b6
[gaim-migrate @ 15082]
Richard Laager <rlaager@wiktel.com>
parents:
11958
diff
changeset
|
60 history.la \ |
a1e241dd50b6
[gaim-migrate @ 15082]
Richard Laager <rlaager@wiktel.com>
parents:
11958
diff
changeset
|
61 iconaway.la \ |
a1e241dd50b6
[gaim-migrate @ 15082]
Richard Laager <rlaager@wiktel.com>
parents:
11958
diff
changeset
|
62 idle.la \ |
a1e241dd50b6
[gaim-migrate @ 15082]
Richard Laager <rlaager@wiktel.com>
parents:
11958
diff
changeset
|
63 notify.la \ |
12859
02e1ef5bc3d5
[gaim-migrate @ 15210]
Christopher O'Brien <siege@pidgin.im>
parents:
12737
diff
changeset
|
64 psychic.la \ |
12737
a1e241dd50b6
[gaim-migrate @ 15082]
Richard Laager <rlaager@wiktel.com>
parents:
11958
diff
changeset
|
65 relnot.la \ |
a1e241dd50b6
[gaim-migrate @ 15082]
Richard Laager <rlaager@wiktel.com>
parents:
11958
diff
changeset
|
66 spellchk.la \ |
a1e241dd50b6
[gaim-migrate @ 15082]
Richard Laager <rlaager@wiktel.com>
parents:
11958
diff
changeset
|
67 statenotify.la \ |
a1e241dd50b6
[gaim-migrate @ 15082]
Richard Laager <rlaager@wiktel.com>
parents:
11958
diff
changeset
|
68 timestamp.la \ |
a1e241dd50b6
[gaim-migrate @ 15082]
Richard Laager <rlaager@wiktel.com>
parents:
11958
diff
changeset
|
69 timestamp_format.la \ |
11435
1a2eaba2bc13
[gaim-migrate @ 13672]
Gary Kramlich <grim@reaperworld.com>
parents:
11405
diff
changeset
|
70 $(DBUS_LTLIB) |
5587
1c55b1540e18
[gaim-migrate @ 5991]
Christian Hammond <chipx86@chipx86.com>
parents:
5267
diff
changeset
|
71 |
11171 | 72 |
12737
a1e241dd50b6
[gaim-migrate @ 15082]
Richard Laager <rlaager@wiktel.com>
parents:
11958
diff
changeset
|
73 extplacement_la_SOURCES = extplacement.c |
a1e241dd50b6
[gaim-migrate @ 15082]
Richard Laager <rlaager@wiktel.com>
parents:
11958
diff
changeset
|
74 gaimrc_la_SOURCES = gaimrc.c |
a1e241dd50b6
[gaim-migrate @ 15082]
Richard Laager <rlaager@wiktel.com>
parents:
11958
diff
changeset
|
75 history_la_SOURCES = history.c |
a1e241dd50b6
[gaim-migrate @ 15082]
Richard Laager <rlaager@wiktel.com>
parents:
11958
diff
changeset
|
76 iconaway_la_SOURCES = iconaway.c |
a1e241dd50b6
[gaim-migrate @ 15082]
Richard Laager <rlaager@wiktel.com>
parents:
11958
diff
changeset
|
77 idle_la_SOURCES = idle.c |
a1e241dd50b6
[gaim-migrate @ 15082]
Richard Laager <rlaager@wiktel.com>
parents:
11958
diff
changeset
|
78 notify_la_SOURCES = notify.c |
12859
02e1ef5bc3d5
[gaim-migrate @ 15210]
Christopher O'Brien <siege@pidgin.im>
parents:
12737
diff
changeset
|
79 psychic_la_SOURCES = psychic.c |
12737
a1e241dd50b6
[gaim-migrate @ 15082]
Richard Laager <rlaager@wiktel.com>
parents:
11958
diff
changeset
|
80 relnot_la_SOURCES = relnot.c |
a1e241dd50b6
[gaim-migrate @ 15082]
Richard Laager <rlaager@wiktel.com>
parents:
11958
diff
changeset
|
81 spellchk_la_SOURCES = spellchk.c |
a1e241dd50b6
[gaim-migrate @ 15082]
Richard Laager <rlaager@wiktel.com>
parents:
11958
diff
changeset
|
82 statenotify_la_SOURCES = statenotify.c |
a1e241dd50b6
[gaim-migrate @ 15082]
Richard Laager <rlaager@wiktel.com>
parents:
11958
diff
changeset
|
83 timestamp_la_SOURCES = timestamp.c |
a1e241dd50b6
[gaim-migrate @ 15082]
Richard Laager <rlaager@wiktel.com>
parents:
11958
diff
changeset
|
84 timestamp_format_la_SOURCES = timestamp_format.c |
4202
59751fe608c5
[gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents:
4104
diff
changeset
|
85 |
11171 | 86 if ENABLE_DBUS |
87 | |
88 CLEANFILES = dbus-example-bindings.c | |
89 dbus_example_la_SOURCES = dbus-example.c | |
90 | |
11337 | 91 .PHONY: always |
92 | |
93 $(top_builddir)/src/dbus-types.h: always | |
94 cd $(@D) && $(MAKE) $(AM_MAKEFLAGS) $(@F) | |
95 | |
11903 | 96 dbus-example-bindings.c: $(top_srcdir)/src/dbus-analyze-functions.py $(dbus_example_la_SOURCES) |
97 cat $(srcdir)/$(dbus_example_la_SOURCES) | \ | |
11337 | 98 $(PYTHON) $(top_srcdir)/src/dbus-analyze-functions.py --export-only > $@ |
11171 | 99 |
11337 | 100 $(dbus_example_la_OBJECTS) dbus-example.so: dbus-example-bindings.c $(top_builddir)/src/dbus-types.h |
11171 | 101 |
102 | |
103 endif # ENABLE_DBUS | |
104 | |
5205
fefad67de2c7
[gaim-migrate @ 5573]
Christian Hammond <chipx86@chipx86.com>
parents:
4687
diff
changeset
|
105 endif # PLUGINS |
4202
59751fe608c5
[gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents:
4104
diff
changeset
|
106 |
59751fe608c5
[gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents:
4104
diff
changeset
|
107 EXTRA_DIST = \ |
6993
4e78ef5587e4
[gaim-migrate @ 7549]
Christian Hammond <chipx86@chipx86.com>
parents:
6694
diff
changeset
|
108 ChangeLog HOWTO \ |
9099 | 109 ChangeLog.API \ |
11030
f1c384340261
[gaim-migrate @ 12909]
Etan Reisner <pidgin@unreliablesource.net>
parents:
10889
diff
changeset
|
110 Makefile.mingw \ |
11903 | 111 contact_priority.c \ |
13556
c5c14bb91c28
[gaim-migrate @ 15934]
Richard Laager <rlaager@wiktel.com>
parents:
12859
diff
changeset
|
112 dbus-buddyicons-example.py \ |
6302 | 113 filectl.c \ |
11030
f1c384340261
[gaim-migrate @ 12909]
Etan Reisner <pidgin@unreliablesource.net>
parents:
10889
diff
changeset
|
114 fortuneprofile.pl \ |
f1c384340261
[gaim-migrate @ 12909]
Etan Reisner <pidgin@unreliablesource.net>
parents:
10889
diff
changeset
|
115 gaim.pl \ |
11903 | 116 gaiminc.c \ |
117 gtk-signals-test.c \ | |
118 ipc-test-client.c \ | |
119 ipc-test-server.c \ | |
6302 | 120 mailchk.c \ |
8713 | 121 pluginpref_example.c \ |
6302 | 122 raw.c \ |
6485
70d5122bc3ff
[gaim-migrate @ 6999]
Christian Hammond <chipx86@chipx86.com>
parents:
6386
diff
changeset
|
123 signals-test.c \ |
11032
31c1c48daba1
[gaim-migrate @ 12912]
Etan Reisner <pidgin@unreliablesource.net>
parents:
11030
diff
changeset
|
124 simple.c |
4202
59751fe608c5
[gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents:
4104
diff
changeset
|
125 |
59751fe608c5
[gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents:
4104
diff
changeset
|
126 AM_CPPFLAGS = \ |
6360
2e23ccbccdec
[gaim-migrate @ 6864]
Christian Hammond <chipx86@chipx86.com>
parents:
6353
diff
changeset
|
127 -DDATADIR=\"$(datadir)\" \ |
4202
59751fe608c5
[gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents:
4104
diff
changeset
|
128 -DVERSION=\"$(VERSION)\" \ |
11903 | 129 -I$(top_builddir)/src \ |
6360
2e23ccbccdec
[gaim-migrate @ 6864]
Christian Hammond <chipx86@chipx86.com>
parents:
6353
diff
changeset
|
130 -I$(top_srcdir)/src \ |
4202
59751fe608c5
[gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents:
4104
diff
changeset
|
131 $(DEBUG_CFLAGS) \ |
6360
2e23ccbccdec
[gaim-migrate @ 6864]
Christian Hammond <chipx86@chipx86.com>
parents:
6353
diff
changeset
|
132 $(GTK_CFLAGS) \ |
11171 | 133 $(PLUGIN_CFLAGS) \ |
134 $(DBUS_CFLAGS) | |
4202
59751fe608c5
[gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents:
4104
diff
changeset
|
135 |
59751fe608c5
[gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents:
4104
diff
changeset
|
136 # |
59751fe608c5
[gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents:
4104
diff
changeset
|
137 # This part allows people to build their own plugins in here. |
59751fe608c5
[gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents:
4104
diff
changeset
|
138 # Yes, it's a mess. |
59751fe608c5
[gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents:
4104
diff
changeset
|
139 # |
392
df5127560034
[gaim-migrate @ 402]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
391
diff
changeset
|
140 SUFFIXES = .c .so |
172 | 141 .c.so: |
6386
417f35ff8b3e
[gaim-migrate @ 6891]
Christian Hammond <chipx86@chipx86.com>
parents:
6371
diff
changeset
|
142 $(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
|
143 $(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
|
144 @rm -f tmp$@.lo tmp$@.o libtmp$@.la |
2476
ec21ec04cdeb
[gaim-migrate @ 2489]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
2473
diff
changeset
|
145 @cp .libs/libtmp$@.so* $@ |
2342
b1050f14b429
[gaim-migrate @ 2355]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
2327
diff
changeset
|
146 @rm -f .libs/libtmp$@.* |