Mercurial > pidgin
annotate plugins/Makefile.am @ 3563:e120097bbd72
[gaim-migrate @ 3658]
I made my perl script unloading not suck (as much). Now you may port your
perl scripts--use gaim.pl and PERL-HOWTO as references.
committer: Tailor Script <tailor@pidgin.im>
author | Sean Egan <seanegan@gmail.com> |
---|---|
date | Sat, 28 Sep 2002 08:08:14 +0000 |
parents | e23909729192 |
children | bc87186a7478 |
rev | line source |
---|---|
3510 | 1 SUBDIRS = docklet ticker |
3391 | 2 |
1497
c3a40af2b0c4
[gaim-migrate @ 1507]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1418
diff
changeset
|
3 CFLAGS += -I\$(top_srcdir) -I\$(top_srcdir)/src -DVERSION=\"$(VERSION)\" |
392
df5127560034
[gaim-migrate @ 402]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
391
diff
changeset
|
4 SUFFIXES = .c .so |
172 | 5 .c.so: |
1512
dccdb9913f24
[gaim-migrate @ 1522]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1506
diff
changeset
|
6 $(LIBTOOL) --mode=compile $(CC) $(CFLAGS) -c $< -o tmp$@.lo $(PLUGIN_CFLAGS) |
2893
abf9303fb328
[gaim-migrate @ 2906]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
2867
diff
changeset
|
7 $(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
|
8 @rm -f tmp$@.lo tmp$@.o libtmp$@.la |
2476
ec21ec04cdeb
[gaim-migrate @ 2489]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
2473
diff
changeset
|
9 @cp .libs/libtmp$@.so* $@ |
2342
b1050f14b429
[gaim-migrate @ 2355]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
2327
diff
changeset
|
10 @rm -f .libs/libtmp$@.* |
392
df5127560034
[gaim-migrate @ 402]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
391
diff
changeset
|
11 |
1000
91b7377e7b45
[gaim-migrate @ 1010]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
981
diff
changeset
|
12 if PLUGINS |
1054
0b0b4cb53c17
[gaim-migrate @ 1064]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1048
diff
changeset
|
13 |
1418
baef6e30f3a7
[gaim-migrate @ 1428]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1347
diff
changeset
|
14 plugindir = $(libdir)/gaim |
baef6e30f3a7
[gaim-migrate @ 1428]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1347
diff
changeset
|
15 |
2867
b10dbe7de693
[gaim-migrate @ 2880]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
2476
diff
changeset
|
16 plugin_DATA = autorecon.so chatlist.so iconaway.so notify.so spellchk.so |
392
df5127560034
[gaim-migrate @ 402]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
391
diff
changeset
|
17 |
1332
bec4de31b3ad
[gaim-migrate @ 1342]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1323
diff
changeset
|
18 $(plugin_DATA): $(top_srcdir)/src/gaim.h |
bec4de31b3ad
[gaim-migrate @ 1342]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1323
diff
changeset
|
19 |
1047
ece2d1543b20
[gaim-migrate @ 1057]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1037
diff
changeset
|
20 clean distclean: |
2342
b1050f14b429
[gaim-migrate @ 2355]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
2327
diff
changeset
|
21 rm -rf $(plugin_DATA) .libs |
1418
baef6e30f3a7
[gaim-migrate @ 1428]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1347
diff
changeset
|
22 |
baef6e30f3a7
[gaim-migrate @ 1428]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1347
diff
changeset
|
23 else |
baef6e30f3a7
[gaim-migrate @ 1428]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1347
diff
changeset
|
24 |
baef6e30f3a7
[gaim-migrate @ 1428]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1347
diff
changeset
|
25 plugin_DATA = |
baef6e30f3a7
[gaim-migrate @ 1428]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1347
diff
changeset
|
26 |
1000
91b7377e7b45
[gaim-migrate @ 1010]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
981
diff
changeset
|
27 endif |
392
df5127560034
[gaim-migrate @ 402]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
391
diff
changeset
|
28 |
df5127560034
[gaim-migrate @ 402]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
391
diff
changeset
|
29 |
2327
f74eefb55a78
[gaim-migrate @ 2337]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
2241
diff
changeset
|
30 EXTRA_DIST = ChangeLog PERL-HOWTO HOWTO SIGNALS autorecon.c filectl.c iconaway.c \ |
3352 | 31 notify.c spellchk.c gaim.pl mailchk.c chatlist.c gtik.c error.c |