Mercurial > pidgin
annotate plugins/Makefile.am @ 1792:de88617f542c
[gaim-migrate @ 1802]
if (gtk_main_level())
gtk_main_quit();
exit(0);
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Tue, 01 May 2001 21:47:24 +0000 |
parents | 1e0fa7e130d0 |
children | d36f759df56d |
rev | line source |
---|---|
1497
c3a40af2b0c4
[gaim-migrate @ 1507]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1418
diff
changeset
|
1 CFLAGS += -I\$(top_srcdir) -I\$(top_srcdir)/src -DVERSION=\"$(VERSION)\" |
392
df5127560034
[gaim-migrate @ 402]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
391
diff
changeset
|
2 SUFFIXES = .c .so |
172 | 3 .c.so: |
1512
dccdb9913f24
[gaim-migrate @ 1522]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1506
diff
changeset
|
4 $(LIBTOOL) --mode=compile $(CC) $(CFLAGS) -c $< -o tmp$@.lo $(PLUGIN_CFLAGS) |
dccdb9913f24
[gaim-migrate @ 1522]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1506
diff
changeset
|
5 $(LIBTOOL) --mode=link $(CC) $(CFLAGS) -o libtmp$@.la -rpath $(plugindir) tmp$@.lo $(LIBS) $(LDFLAGS) $(PLUGIN_LIBS) |
dccdb9913f24
[gaim-migrate @ 1522]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1506
diff
changeset
|
6 rm -f tmp$@.lo tmp$@.o libtmp$@.la |
1620
35dbd22e3af5
[gaim-migrate @ 1630]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1520
diff
changeset
|
7 if test -f .libs/libtmp$@.so ; then \ |
35dbd22e3af5
[gaim-migrate @ 1630]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1520
diff
changeset
|
8 cp .libs/libtmp$@.so $@ ; \ |
35dbd22e3af5
[gaim-migrate @ 1630]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1520
diff
changeset
|
9 elif test -f .libs/libtmp$@.so.0.0 ; then \ |
35dbd22e3af5
[gaim-migrate @ 1630]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1520
diff
changeset
|
10 cp .libs/libtmp$@.so.0.0 $@ ; \ |
35dbd22e3af5
[gaim-migrate @ 1630]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1520
diff
changeset
|
11 fi |
1516
4faba1c2dc6b
[gaim-migrate @ 1526]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1512
diff
changeset
|
12 rm -f .libs/libtmp$@.* |
392
df5127560034
[gaim-migrate @ 402]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
391
diff
changeset
|
13 |
1000
91b7377e7b45
[gaim-migrate @ 1010]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
981
diff
changeset
|
14 if PLUGINS |
1054
0b0b4cb53c17
[gaim-migrate @ 1064]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1048
diff
changeset
|
15 |
1418
baef6e30f3a7
[gaim-migrate @ 1428]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1347
diff
changeset
|
16 plugindir = $(libdir)/gaim |
baef6e30f3a7
[gaim-migrate @ 1428]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1347
diff
changeset
|
17 |
baef6e30f3a7
[gaim-migrate @ 1428]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1347
diff
changeset
|
18 if PRPLS |
baef6e30f3a7
[gaim-migrate @ 1428]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1347
diff
changeset
|
19 |
1700
1e0fa7e130d0
[gaim-migrate @ 1710]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1620
diff
changeset
|
20 SUBDIRS = yay icq msn jabber zephyr |
1054
0b0b4cb53c17
[gaim-migrate @ 1064]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1048
diff
changeset
|
21 |
1332
bec4de31b3ad
[gaim-migrate @ 1342]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1323
diff
changeset
|
22 prpls = irc.so napster.so |
1418
baef6e30f3a7
[gaim-migrate @ 1428]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1347
diff
changeset
|
23 |
baef6e30f3a7
[gaim-migrate @ 1428]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1347
diff
changeset
|
24 $(prpls): $(top_srcdir)/src/prpl.h |
baef6e30f3a7
[gaim-migrate @ 1428]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1347
diff
changeset
|
25 |
baef6e30f3a7
[gaim-migrate @ 1428]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1347
diff
changeset
|
26 else |
baef6e30f3a7
[gaim-migrate @ 1428]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1347
diff
changeset
|
27 |
baef6e30f3a7
[gaim-migrate @ 1428]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1347
diff
changeset
|
28 SUBDIRS = |
baef6e30f3a7
[gaim-migrate @ 1428]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1347
diff
changeset
|
29 |
baef6e30f3a7
[gaim-migrate @ 1428]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1347
diff
changeset
|
30 prpls = |
baef6e30f3a7
[gaim-migrate @ 1428]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1347
diff
changeset
|
31 |
baef6e30f3a7
[gaim-migrate @ 1428]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1347
diff
changeset
|
32 endif |
baef6e30f3a7
[gaim-migrate @ 1428]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1347
diff
changeset
|
33 |
1332
bec4de31b3ad
[gaim-migrate @ 1342]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1323
diff
changeset
|
34 plugin_DATA = $(prpls) autorecon.so iconaway.so notify.so spellchk.so lagmeter.so |
392
df5127560034
[gaim-migrate @ 402]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
391
diff
changeset
|
35 |
1332
bec4de31b3ad
[gaim-migrate @ 1342]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1323
diff
changeset
|
36 $(plugin_DATA): $(top_srcdir)/src/gaim.h |
bec4de31b3ad
[gaim-migrate @ 1342]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1323
diff
changeset
|
37 |
1047
ece2d1543b20
[gaim-migrate @ 1057]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1037
diff
changeset
|
38 clean distclean: |
1000
91b7377e7b45
[gaim-migrate @ 1010]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
981
diff
changeset
|
39 $(RM) $(plugin_DATA) |
1418
baef6e30f3a7
[gaim-migrate @ 1428]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1347
diff
changeset
|
40 |
baef6e30f3a7
[gaim-migrate @ 1428]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1347
diff
changeset
|
41 else |
baef6e30f3a7
[gaim-migrate @ 1428]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1347
diff
changeset
|
42 |
baef6e30f3a7
[gaim-migrate @ 1428]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1347
diff
changeset
|
43 plugin_DATA = |
baef6e30f3a7
[gaim-migrate @ 1428]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1347
diff
changeset
|
44 |
1000
91b7377e7b45
[gaim-migrate @ 1010]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
981
diff
changeset
|
45 endif |
392
df5127560034
[gaim-migrate @ 402]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
391
diff
changeset
|
46 |
df5127560034
[gaim-migrate @ 402]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
391
diff
changeset
|
47 |
df5127560034
[gaim-migrate @ 402]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
391
diff
changeset
|
48 |
883 | 49 EXTRA_DIST = ChangeLog PERL-HOWTO CRAZY HOWTO SIGNALS autorecon.c error.c filectl.c \ |
391
be408b41c172
[gaim-migrate @ 401]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
369
diff
changeset
|
50 gaiminc.c iconaway.c lagmeter.c notify.c simple.c spellchk.c \ |
1520 | 51 toc_commands.c events.c gaim.pl irc.c napster.c |