Mercurial > pidgin.yaz
annotate plugins/Makefile.am @ 2176:fd0b454ad4c5
[gaim-migrate @ 2186]
hi
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Mon, 27 Aug 2001 18:50:33 +0000 |
parents | 424a40f12a6c |
children | a0ee02e861b9 |
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 |
2086
424a40f12a6c
[gaim-migrate @ 2096]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1803
diff
changeset
|
18 plugin_DATA = autorecon.so iconaway.so lagmeter.so notify.so spellchk.so |
392
df5127560034
[gaim-migrate @ 402]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
391
diff
changeset
|
19 |
1332
bec4de31b3ad
[gaim-migrate @ 1342]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1323
diff
changeset
|
20 $(plugin_DATA): $(top_srcdir)/src/gaim.h |
bec4de31b3ad
[gaim-migrate @ 1342]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1323
diff
changeset
|
21 |
1047
ece2d1543b20
[gaim-migrate @ 1057]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1037
diff
changeset
|
22 clean distclean: |
1000
91b7377e7b45
[gaim-migrate @ 1010]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
981
diff
changeset
|
23 $(RM) $(plugin_DATA) |
1418
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 else |
baef6e30f3a7
[gaim-migrate @ 1428]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1347
diff
changeset
|
26 |
baef6e30f3a7
[gaim-migrate @ 1428]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1347
diff
changeset
|
27 plugin_DATA = |
baef6e30f3a7
[gaim-migrate @ 1428]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1347
diff
changeset
|
28 |
1000
91b7377e7b45
[gaim-migrate @ 1010]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
981
diff
changeset
|
29 endif |
392
df5127560034
[gaim-migrate @ 402]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
391
diff
changeset
|
30 |
df5127560034
[gaim-migrate @ 402]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
391
diff
changeset
|
31 |
883 | 32 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
|
33 gaiminc.c iconaway.c lagmeter.c notify.c simple.c spellchk.c \ |
2086
424a40f12a6c
[gaim-migrate @ 2096]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1803
diff
changeset
|
34 toc_commands.c events.c gaim.pl mailchk.c |