annotate plugins/Makefile.am @ 4603:6316a0a33680

[gaim-migrate @ 4890] Silly rabbit, 9 seconds are for kids! committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Sat, 22 Feb 2003 19:48:06 +0000
parents 16540914c963
children 283fb289c510
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4390
16540914c963 [gaim-migrate @ 4656]
Christian Hammond <chipx86@chipx86.com>
parents: 4202
diff changeset
1 SUBDIRS = docklet gestures ticker
3391
412d1035d666 [gaim-migrate @ 3410]
Sean Egan <seanegan@gmail.com>
parents: 3352
diff changeset
2
4202
59751fe608c5 [gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents: 4104
diff changeset
3 plugindir = $(libdir)/gaim
59751fe608c5 [gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents: 4104
diff changeset
4
59751fe608c5 [gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents: 4104
diff changeset
5 #CFLAGS += -I\$(top_srcdir) -I\$(top_srcdir)/src -DVERSION=\"$(VERSION)\" $(DEBUG_CFLAGS)
59751fe608c5 [gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents: 4104
diff changeset
6
59751fe608c5 [gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents: 4104
diff changeset
7
59751fe608c5 [gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents: 4104
diff changeset
8 autorecon_la_LDFLAGS = -module -avoid-version
59751fe608c5 [gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents: 4104
diff changeset
9 chatlist_la_LDFLAGS = -module -avoid-version
59751fe608c5 [gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents: 4104
diff changeset
10 iconaway_la_LDFLAGS = -module -avoid-version
59751fe608c5 [gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents: 4104
diff changeset
11 notify_la_LDFLAGS = -module -avoid-version
59751fe608c5 [gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents: 4104
diff changeset
12 spellchk_la_LDFLAGS = -module -avoid-version
59751fe608c5 [gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents: 4104
diff changeset
13 history_la_LDFLAGS = -module -avoid-version
59751fe608c5 [gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents: 4104
diff changeset
14 timestamp_la_LDFLAGS = -module -avoid-version
59751fe608c5 [gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents: 4104
diff changeset
15 idle_la_LDFLAGS = -module -avoid-version
59751fe608c5 [gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents: 4104
diff changeset
16
59751fe608c5 [gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents: 4104
diff changeset
17 if PLUGINS
59751fe608c5 [gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents: 4104
diff changeset
18
59751fe608c5 [gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents: 4104
diff changeset
19 plugin_LTLIBRARIES = \
59751fe608c5 [gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents: 4104
diff changeset
20 autorecon.la \
59751fe608c5 [gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents: 4104
diff changeset
21 chatlist.la \
59751fe608c5 [gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents: 4104
diff changeset
22 iconaway.la \
59751fe608c5 [gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents: 4104
diff changeset
23 notify.la \
59751fe608c5 [gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents: 4104
diff changeset
24 spellchk.la \
59751fe608c5 [gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents: 4104
diff changeset
25 history.la \
59751fe608c5 [gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents: 4104
diff changeset
26 timestamp.la \
59751fe608c5 [gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents: 4104
diff changeset
27 idle.la
59751fe608c5 [gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents: 4104
diff changeset
28
59751fe608c5 [gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents: 4104
diff changeset
29 autorecon_la_SOURCES = autorecon.c
59751fe608c5 [gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents: 4104
diff changeset
30 chatlist_la_SOURCES = chatlist.c
59751fe608c5 [gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents: 4104
diff changeset
31 iconaway_la_SOURCES = iconaway.c
59751fe608c5 [gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents: 4104
diff changeset
32 notify_la_SOURCES = notify.c
59751fe608c5 [gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents: 4104
diff changeset
33 spellchk_la_SOURCES = spellchk.c
59751fe608c5 [gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents: 4104
diff changeset
34 history_la_SOURCES = history.c
59751fe608c5 [gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents: 4104
diff changeset
35 timestamp_la_SOURCES = timestamp.c
59751fe608c5 [gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents: 4104
diff changeset
36 idle_la_SOURCES = idle.c
59751fe608c5 [gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents: 4104
diff changeset
37
59751fe608c5 [gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents: 4104
diff changeset
38 endif
59751fe608c5 [gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents: 4104
diff changeset
39
59751fe608c5 [gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents: 4104
diff changeset
40 EXTRA_DIST = \
59751fe608c5 [gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents: 4104
diff changeset
41 ChangeLog PERL-HOWTO HOWTO SIGNALS \
59751fe608c5 [gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents: 4104
diff changeset
42 filectl.c mailchk.c gtik.c error.c \
59751fe608c5 [gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents: 4104
diff changeset
43 gaim.pl fortuneprofile.pl
59751fe608c5 [gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents: 4104
diff changeset
44
59751fe608c5 [gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents: 4104
diff changeset
45 AM_CPPFLAGS = \
59751fe608c5 [gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents: 4104
diff changeset
46 -I$(top_srcdir)/src \
59751fe608c5 [gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents: 4104
diff changeset
47 -DVERSION=\"$(VERSION)\" \
59751fe608c5 [gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents: 4104
diff changeset
48 $(DEBUG_CFLAGS) \
59751fe608c5 [gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents: 4104
diff changeset
49 $(PLUGIN_CFLAGS)
59751fe608c5 [gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents: 4104
diff changeset
50
59751fe608c5 [gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents: 4104
diff changeset
51 #
59751fe608c5 [gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents: 4104
diff changeset
52 # This part allows people to build their own plugins in here.
59751fe608c5 [gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents: 4104
diff changeset
53 # Yes, it's a mess.
59751fe608c5 [gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents: 4104
diff changeset
54 #
392
df5127560034 [gaim-migrate @ 402]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 391
diff changeset
55 SUFFIXES = .c .so
172
450d62d40185 [gaim-migrate @ 182]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
diff changeset
56 .c.so:
4202
59751fe608c5 [gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents: 4104
diff changeset
57 $(LIBTOOL) --mode=compile $(CC) $(AM_CPPFLAGS) $(CFLAGS) -c $< -o tmp$@.lo $(PLUGIN_CFLAGS)
2893
abf9303fb328 [gaim-migrate @ 2906]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 2867
diff changeset
58 $(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
59 @rm -f tmp$@.lo tmp$@.o libtmp$@.la
2476
ec21ec04cdeb [gaim-migrate @ 2489]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 2473
diff changeset
60 @cp .libs/libtmp$@.so* $@
2342
b1050f14b429 [gaim-migrate @ 2355]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 2327
diff changeset
61 @rm -f .libs/libtmp$@.*
392
df5127560034 [gaim-migrate @ 402]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 391
diff changeset
62