Mercurial > pidgin
annotate plugins/Makefile.am @ 11521:d41aabad3b7a
[gaim-migrate @ 13769]
Vanquish a C99ism
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Mon, 12 Sep 2005 05:44:03 +0000 |
parents | 1a2eaba2bc13 |
children | 9b3833da6840 |
rev | line source |
---|---|
11405 | 1 DIST_SUBDIRS = docklet gevolution gestures 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 |
8089 | 22 SUBDIRS = \ |
11405 | 23 docklet $(GEVOLUTION_DIR) gestures \ |
11435
1a2eaba2bc13
[gaim-migrate @ 13672]
Gary Kramlich <grim@reaperworld.com>
parents:
11405
diff
changeset
|
24 $(PERL_DIR) ssl $(TCL_DIR) ticker \ |
1a2eaba2bc13
[gaim-migrate @ 13672]
Gary Kramlich <grim@reaperworld.com>
parents:
11405
diff
changeset
|
25 $(MUSICMESSAGING_DIR) |
3391 | 26 |
4202
59751fe608c5
[gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents:
4104
diff
changeset
|
27 plugindir = $(libdir)/gaim |
59751fe608c5
[gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents:
4104
diff
changeset
|
28 |
10889 | 29 autorecon_la_LDFLAGS = -module -avoid-version $(GLIB_LIBS) |
30 extplacement_la_LDFLAGS = -module -avoid-version $(GLIB_LIBS) | |
31 gaimrc_la_LDFLAGS = -module -avoid-version $(GTK_LIBS) | |
32 history_la_LDFLAGS = -module -avoid-version $(GTK_LIBS) | |
33 iconaway_la_LDFLAGS = -module -avoid-version $(GTK_LIBS) | |
34 idle_la_LDFLAGS = -module -avoid-version $(GLIB_LIBS) | |
35 notify_la_LDFLAGS = -module -avoid-version $(GTK_LIBS) | |
36 relnot_la_LDFLAGS = -module -avoid-version $(GLIB_LIBS) | |
37 spellchk_la_LDFLAGS = -module -avoid-version $(GTK_LIBS) | |
38 statenotify_la_LDFLAGS = -module -avoid-version $(GLIB_LIBS) | |
39 timestamp_la_LDFLAGS = -module -avoid-version $(GTK_LIBS) | |
4202
59751fe608c5
[gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents:
4104
diff
changeset
|
40 |
59751fe608c5
[gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents:
4104
diff
changeset
|
41 if PLUGINS |
59751fe608c5
[gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents:
4104
diff
changeset
|
42 |
59751fe608c5
[gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents:
4104
diff
changeset
|
43 plugin_LTLIBRARIES = \ |
9215 | 44 autorecon.la \ |
45 extplacement.la \ | |
10584
7de819b5ed68
[gaim-migrate @ 11988]
Etan Reisner <pidgin@unreliablesource.net>
parents:
9215
diff
changeset
|
46 gaimrc.la \ |
9215 | 47 history.la \ |
48 iconaway.la \ | |
49 idle.la \ | |
50 notify.la \ | |
51 relnot.la \ | |
52 spellchk.la \ | |
53 statenotify.la \ | |
11435
1a2eaba2bc13
[gaim-migrate @ 13672]
Gary Kramlich <grim@reaperworld.com>
parents:
11405
diff
changeset
|
54 timestamp.la \ |
1a2eaba2bc13
[gaim-migrate @ 13672]
Gary Kramlich <grim@reaperworld.com>
parents:
11405
diff
changeset
|
55 $(DBUS_LTLIB) |
5587
1c55b1540e18
[gaim-migrate @ 5991]
Christian Hammond <chipx86@chipx86.com>
parents:
5267
diff
changeset
|
56 |
9215 | 57 autorecon_la_SOURCES = autorecon.c |
11171 | 58 |
9215 | 59 extplacement_la_SOURCES = extplacement.c |
10584
7de819b5ed68
[gaim-migrate @ 11988]
Etan Reisner <pidgin@unreliablesource.net>
parents:
9215
diff
changeset
|
60 gaimrc_la_SOURCES = gaimrc.c |
9215 | 61 history_la_SOURCES = history.c |
62 iconaway_la_SOURCES = iconaway.c | |
63 idle_la_SOURCES = idle.c | |
64 notify_la_SOURCES = notify.c | |
65 relnot_la_SOURCES = relnot.c | |
66 spellchk_la_SOURCES = spellchk.c | |
67 statenotify_la_SOURCES = statenotify.c | |
68 timestamp_la_SOURCES = timestamp.c | |
4202
59751fe608c5
[gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents:
4104
diff
changeset
|
69 |
11171 | 70 if ENABLE_DBUS |
71 | |
72 CLEANFILES = dbus-example-bindings.c | |
73 dbus_example_la_LDFLAGS = -module -avoid-version $(GLIB_LIBS) $(DBUS_LIBS) | |
74 dbus_example_la_SOURCES = dbus-example.c | |
75 | |
11337 | 76 .PHONY: always |
77 | |
78 $(top_builddir)/src/dbus-types.h: always | |
79 cd $(@D) && $(MAKE) $(AM_MAKEFLAGS) $(@F) | |
80 | |
81 dbus-example-bindings.c: $(top_srcdir)/src/dbus-analyze-functions.py $(dbus_example_la_SOURCES) $(dbus_example_la_HEADERS) | |
11171 | 82 cat $(dbus_example_la_SOURCES) $(dbus_example_la_HEADERS) | \ |
11337 | 83 $(PYTHON) $(top_srcdir)/src/dbus-analyze-functions.py --export-only > $@ |
11171 | 84 |
11337 | 85 $(dbus_example_la_OBJECTS) dbus-example.so: dbus-example-bindings.c $(top_builddir)/src/dbus-types.h |
11171 | 86 |
87 | |
88 endif # ENABLE_DBUS | |
89 | |
5205
fefad67de2c7
[gaim-migrate @ 5573]
Christian Hammond <chipx86@chipx86.com>
parents:
4687
diff
changeset
|
90 endif # PLUGINS |
4202
59751fe608c5
[gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents:
4104
diff
changeset
|
91 |
59751fe608c5
[gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents:
4104
diff
changeset
|
92 EXTRA_DIST = \ |
6993
4e78ef5587e4
[gaim-migrate @ 7549]
Christian Hammond <chipx86@chipx86.com>
parents:
6694
diff
changeset
|
93 ChangeLog HOWTO \ |
9099 | 94 ChangeLog.API \ |
11030
f1c384340261
[gaim-migrate @ 12909]
Etan Reisner <pidgin@unreliablesource.net>
parents:
10889
diff
changeset
|
95 Makefile.mingw \ |
6302 | 96 filectl.c \ |
11030
f1c384340261
[gaim-migrate @ 12909]
Etan Reisner <pidgin@unreliablesource.net>
parents:
10889
diff
changeset
|
97 fortuneprofile.pl \ |
f1c384340261
[gaim-migrate @ 12909]
Etan Reisner <pidgin@unreliablesource.net>
parents:
10889
diff
changeset
|
98 gaim.pl \ |
6302 | 99 mailchk.c \ |
8713 | 100 pluginpref_example.c \ |
6302 | 101 raw.c \ |
6485
70d5122bc3ff
[gaim-migrate @ 6999]
Christian Hammond <chipx86@chipx86.com>
parents:
6386
diff
changeset
|
102 signals-test.c \ |
11032
31c1c48daba1
[gaim-migrate @ 12912]
Etan Reisner <pidgin@unreliablesource.net>
parents:
11030
diff
changeset
|
103 simple.c |
4202
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 AM_CPPFLAGS = \ |
6360
2e23ccbccdec
[gaim-migrate @ 6864]
Christian Hammond <chipx86@chipx86.com>
parents:
6353
diff
changeset
|
106 -DDATADIR=\"$(datadir)\" \ |
4202
59751fe608c5
[gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents:
4104
diff
changeset
|
107 -DVERSION=\"$(VERSION)\" \ |
6360
2e23ccbccdec
[gaim-migrate @ 6864]
Christian Hammond <chipx86@chipx86.com>
parents:
6353
diff
changeset
|
108 -I$(top_srcdir)/src \ |
4202
59751fe608c5
[gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents:
4104
diff
changeset
|
109 $(DEBUG_CFLAGS) \ |
6360
2e23ccbccdec
[gaim-migrate @ 6864]
Christian Hammond <chipx86@chipx86.com>
parents:
6353
diff
changeset
|
110 $(GTK_CFLAGS) \ |
11171 | 111 $(PLUGIN_CFLAGS) \ |
112 $(DBUS_CFLAGS) | |
4202
59751fe608c5
[gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents:
4104
diff
changeset
|
113 |
59751fe608c5
[gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents:
4104
diff
changeset
|
114 # |
59751fe608c5
[gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents:
4104
diff
changeset
|
115 # This part allows people to build their own plugins in here. |
59751fe608c5
[gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents:
4104
diff
changeset
|
116 # Yes, it's a mess. |
59751fe608c5
[gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents:
4104
diff
changeset
|
117 # |
392
df5127560034
[gaim-migrate @ 402]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
391
diff
changeset
|
118 SUFFIXES = .c .so |
172 | 119 .c.so: |
6386
417f35ff8b3e
[gaim-migrate @ 6891]
Christian Hammond <chipx86@chipx86.com>
parents:
6371
diff
changeset
|
120 $(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
|
121 $(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
|
122 @rm -f tmp$@.lo tmp$@.o libtmp$@.la |
2476
ec21ec04cdeb
[gaim-migrate @ 2489]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
2473
diff
changeset
|
123 @cp .libs/libtmp$@.so* $@ |
2342
b1050f14b429
[gaim-migrate @ 2355]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
2327
diff
changeset
|
124 @rm -f .libs/libtmp$@.* |