Mercurial > pidgin.yaz
annotate plugins/Makefile.am @ 6353:9b2c2495687a
[gaim-migrate @ 6852]
Add -DDATADIR to the plugins Makefile.am.
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Fri, 01 Aug 2003 05:23:06 +0000 |
parents | 511003c99302 |
children | 2e23ccbccdec |
rev | line source |
---|---|
5859
022786c7ab53
[gaim-migrate @ 6290]
Christian Hammond <chipx86@chipx86.com>
parents:
5587
diff
changeset
|
1 DIST_SUBDIRS = docklet gaim-remote gestures perl ticker |
5205
fefad67de2c7
[gaim-migrate @ 5573]
Christian Hammond <chipx86@chipx86.com>
parents:
4687
diff
changeset
|
2 |
fefad67de2c7
[gaim-migrate @ 5573]
Christian Hammond <chipx86@chipx86.com>
parents:
4687
diff
changeset
|
3 if USE_PERL |
fefad67de2c7
[gaim-migrate @ 5573]
Christian Hammond <chipx86@chipx86.com>
parents:
4687
diff
changeset
|
4 PERL_DIR = perl |
fefad67de2c7
[gaim-migrate @ 5573]
Christian Hammond <chipx86@chipx86.com>
parents:
4687
diff
changeset
|
5 endif |
fefad67de2c7
[gaim-migrate @ 5573]
Christian Hammond <chipx86@chipx86.com>
parents:
4687
diff
changeset
|
6 |
5891
58ea0597a856
[gaim-migrate @ 6323]
Christian Hammond <chipx86@chipx86.com>
parents:
5859
diff
changeset
|
7 SUBDIRS = docklet gaim-remote gestures $(PERL_DIR) ticker |
3391 | 8 |
4202
59751fe608c5
[gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents:
4104
diff
changeset
|
9 plugindir = $(libdir)/gaim |
59751fe608c5
[gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents:
4104
diff
changeset
|
10 |
5267
3cd24f012091
[gaim-migrate @ 5639]
Christian Hammond <chipx86@chipx86.com>
parents:
5239
diff
changeset
|
11 autorecon_la_LDFLAGS = -module -avoid-version |
6302 | 12 history_la_LDFLAGS = -module -avoid-version |
5267
3cd24f012091
[gaim-migrate @ 5639]
Christian Hammond <chipx86@chipx86.com>
parents:
5239
diff
changeset
|
13 iconaway_la_LDFLAGS = -module -avoid-version |
6302 | 14 idle_la_LDFLAGS = -module -avoid-version |
15 notify_la_LDFLAGS = -module -avoid-version | |
5267
3cd24f012091
[gaim-migrate @ 5639]
Christian Hammond <chipx86@chipx86.com>
parents:
5239
diff
changeset
|
16 spellchk_la_LDFLAGS = -module -avoid-version |
6302 | 17 statenotify_la_LDFLAGS = -module -avoid-version |
5267
3cd24f012091
[gaim-migrate @ 5639]
Christian Hammond <chipx86@chipx86.com>
parents:
5239
diff
changeset
|
18 timestamp_la_LDFLAGS = -module -avoid-version |
4202
59751fe608c5
[gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents:
4104
diff
changeset
|
19 |
59751fe608c5
[gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents:
4104
diff
changeset
|
20 if PLUGINS |
59751fe608c5
[gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents:
4104
diff
changeset
|
21 |
59751fe608c5
[gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents:
4104
diff
changeset
|
22 plugin_LTLIBRARIES = \ |
59751fe608c5
[gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents:
4104
diff
changeset
|
23 autorecon.la \ |
6302 | 24 history.la \ |
4202
59751fe608c5
[gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents:
4104
diff
changeset
|
25 iconaway.la \ |
6302 | 26 idle.la \ |
27 notify.la \ | |
4202
59751fe608c5
[gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents:
4104
diff
changeset
|
28 spellchk.la \ |
6302 | 29 statenotify.la \ |
30 timestamp.la | |
5587
1c55b1540e18
[gaim-migrate @ 5991]
Christian Hammond <chipx86@chipx86.com>
parents:
5267
diff
changeset
|
31 |
5267
3cd24f012091
[gaim-migrate @ 5639]
Christian Hammond <chipx86@chipx86.com>
parents:
5239
diff
changeset
|
32 autorecon_la_SOURCES = autorecon.c |
6302 | 33 history_la_SOURCES = history.c |
5267
3cd24f012091
[gaim-migrate @ 5639]
Christian Hammond <chipx86@chipx86.com>
parents:
5239
diff
changeset
|
34 iconaway_la_SOURCES = iconaway.c |
6302 | 35 idle_la_SOURCES = idle.c |
36 notify_la_SOURCES = notify.c | |
5267
3cd24f012091
[gaim-migrate @ 5639]
Christian Hammond <chipx86@chipx86.com>
parents:
5239
diff
changeset
|
37 spellchk_la_SOURCES = spellchk.c |
6302 | 38 statenotify_la_SOURCES = statenotify.c |
5267
3cd24f012091
[gaim-migrate @ 5639]
Christian Hammond <chipx86@chipx86.com>
parents:
5239
diff
changeset
|
39 timestamp_la_SOURCES = timestamp.c |
4202
59751fe608c5
[gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents:
4104
diff
changeset
|
40 |
5205
fefad67de2c7
[gaim-migrate @ 5573]
Christian Hammond <chipx86@chipx86.com>
parents:
4687
diff
changeset
|
41 endif # PLUGINS |
4202
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 EXTRA_DIST = \ |
59751fe608c5
[gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents:
4104
diff
changeset
|
44 ChangeLog PERL-HOWTO HOWTO SIGNALS \ |
6302 | 45 filectl.c \ |
46 mailchk.c \ | |
47 gtik.c \ | |
48 raw.c \ | |
49 events.c \ | |
50 simple.c \ | |
51 gaim.pl \ | |
52 fortuneprofile.pl | |
4202
59751fe608c5
[gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents:
4104
diff
changeset
|
53 |
59751fe608c5
[gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents:
4104
diff
changeset
|
54 AM_CPPFLAGS = \ |
59751fe608c5
[gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents:
4104
diff
changeset
|
55 -I$(top_srcdir)/src \ |
59751fe608c5
[gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents:
4104
diff
changeset
|
56 -DVERSION=\"$(VERSION)\" \ |
6353
9b2c2495687a
[gaim-migrate @ 6852]
Christian Hammond <chipx86@chipx86.com>
parents:
6302
diff
changeset
|
57 -DDATADIR=\"$(datadir)\" \ |
4202
59751fe608c5
[gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents:
4104
diff
changeset
|
58 $(DEBUG_CFLAGS) \ |
59751fe608c5
[gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents:
4104
diff
changeset
|
59 $(PLUGIN_CFLAGS) |
59751fe608c5
[gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents:
4104
diff
changeset
|
60 |
59751fe608c5
[gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents:
4104
diff
changeset
|
61 # |
59751fe608c5
[gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents:
4104
diff
changeset
|
62 # This part allows people to build their own plugins in here. |
59751fe608c5
[gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents:
4104
diff
changeset
|
63 # Yes, it's a mess. |
59751fe608c5
[gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents:
4104
diff
changeset
|
64 # |
392
df5127560034
[gaim-migrate @ 402]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
391
diff
changeset
|
65 SUFFIXES = .c .so |
172 | 66 .c.so: |
6237 | 67 $(LIBTOOL) --mode=compile $(CC) -DHAVE_CONFIG_H $(AM_CPPFLAGS) $(CFLAGS) -c $< -o tmp$@.lo $(PLUGIN_CFLAGS) |
2893
abf9303fb328
[gaim-migrate @ 2906]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
2867
diff
changeset
|
68 $(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
|
69 @rm -f tmp$@.lo tmp$@.o libtmp$@.la |
2476
ec21ec04cdeb
[gaim-migrate @ 2489]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
2473
diff
changeset
|
70 @cp .libs/libtmp$@.so* $@ |
2342
b1050f14b429
[gaim-migrate @ 2355]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
2327
diff
changeset
|
71 @rm -f .libs/libtmp$@.* |