Mercurial > pidgin
comparison plugins/Makefile.am @ 4202:59751fe608c5
[gaim-migrate @ 4438]
Much needed Makefile.am cleanups. Sorry for the large mass of commit
e-mails, everyone.
These changes should work on older versions of automake and newer versions.
If you do have a problem, let me know, but it should be a smooth transition.
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Sun, 05 Jan 2003 03:02:55 +0000 |
parents | 1fb22bf10b4f |
children | 16540914c963 |
comparison
equal
deleted
inserted
replaced
4201:511c2b63caa4 | 4202:59751fe608c5 |
---|---|
1 SUBDIRS = docklet ticker | 1 SUBDIRS = docklet ticker |
2 | 2 |
3 CFLAGS += -I\$(top_srcdir) -I\$(top_srcdir)/src -DVERSION=\"$(VERSION)\" | 3 plugindir = $(libdir)/gaim |
4 | |
5 #CFLAGS += -I\$(top_srcdir) -I\$(top_srcdir)/src -DVERSION=\"$(VERSION)\" $(DEBUG_CFLAGS) | |
6 | |
7 | |
8 autorecon_la_LDFLAGS = -module -avoid-version | |
9 chatlist_la_LDFLAGS = -module -avoid-version | |
10 iconaway_la_LDFLAGS = -module -avoid-version | |
11 notify_la_LDFLAGS = -module -avoid-version | |
12 spellchk_la_LDFLAGS = -module -avoid-version | |
13 history_la_LDFLAGS = -module -avoid-version | |
14 timestamp_la_LDFLAGS = -module -avoid-version | |
15 idle_la_LDFLAGS = -module -avoid-version | |
16 | |
17 if PLUGINS | |
18 | |
19 plugin_LTLIBRARIES = \ | |
20 autorecon.la \ | |
21 chatlist.la \ | |
22 iconaway.la \ | |
23 notify.la \ | |
24 spellchk.la \ | |
25 history.la \ | |
26 timestamp.la \ | |
27 idle.la | |
28 | |
29 autorecon_la_SOURCES = autorecon.c | |
30 chatlist_la_SOURCES = chatlist.c | |
31 iconaway_la_SOURCES = iconaway.c | |
32 notify_la_SOURCES = notify.c | |
33 spellchk_la_SOURCES = spellchk.c | |
34 history_la_SOURCES = history.c | |
35 timestamp_la_SOURCES = timestamp.c | |
36 idle_la_SOURCES = idle.c | |
37 | |
38 endif | |
39 | |
40 EXTRA_DIST = \ | |
41 ChangeLog PERL-HOWTO HOWTO SIGNALS \ | |
42 filectl.c mailchk.c gtik.c error.c \ | |
43 gaim.pl fortuneprofile.pl | |
44 | |
45 AM_CPPFLAGS = \ | |
46 -I$(top_srcdir)/src \ | |
47 -DVERSION=\"$(VERSION)\" \ | |
48 $(DEBUG_CFLAGS) \ | |
49 $(PLUGIN_CFLAGS) | |
50 | |
51 # | |
52 # This part allows people to build their own plugins in here. | |
53 # Yes, it's a mess. | |
54 # | |
4 SUFFIXES = .c .so | 55 SUFFIXES = .c .so |
5 .c.so: | 56 .c.so: |
6 $(LIBTOOL) --mode=compile $(CC) $(CFLAGS) -c $< -o tmp$@.lo $(PLUGIN_CFLAGS) | 57 $(LIBTOOL) --mode=compile $(CC) $(AM_CPPFLAGS) $(CFLAGS) -c $< -o tmp$@.lo $(PLUGIN_CFLAGS) |
7 $(LIBTOOL) --mode=link $(CC) $(CFLAGS) -o libtmp$@.la -rpath $(plugindir) tmp$@.lo $(LIBS) $(LDFLAGS) -module -avoid-version $(PLUGIN_LIBS) | 58 $(LIBTOOL) --mode=link $(CC) $(CFLAGS) -o libtmp$@.la -rpath $(plugindir) tmp$@.lo $(LIBS) $(LDFLAGS) -module -avoid-version $(PLUGIN_LIBS) |
8 @rm -f tmp$@.lo tmp$@.o libtmp$@.la | 59 @rm -f tmp$@.lo tmp$@.o libtmp$@.la |
9 @cp .libs/libtmp$@.so* $@ | 60 @cp .libs/libtmp$@.so* $@ |
10 @rm -f .libs/libtmp$@.* | 61 @rm -f .libs/libtmp$@.* |
11 | 62 |
12 if PLUGINS | |
13 | |
14 plugindir = $(libdir)/gaim | |
15 | |
16 plugin_DATA = autorecon.so chatlist.so iconaway.so notify.so spellchk.so history.so timestamp.so idle.so | |
17 | |
18 $(plugin_DATA): $(top_srcdir)/src/gaim.h | |
19 | |
20 clean distclean: | |
21 rm -rf $(plugin_DATA) .libs | |
22 | |
23 else | |
24 | |
25 plugin_DATA = | |
26 | |
27 endif | |
28 | |
29 | |
30 EXTRA_DIST = ChangeLog PERL-HOWTO HOWTO SIGNALS autorecon.c filectl.c iconaway.c \ | |
31 notify.c spellchk.c gaim.pl mailchk.c chatlist.c gtik.c error.c \ | |
32 history.c timestamp.c fortuneprofile.pl idle.c |