view plugins/Makefile.am @ 2669:44773c4b0f16

[gaim-migrate @ 2682] So I was out driving around and went to get back on I-80, but there was no Westbound onramp at Cutting. I was so unpleased. I kept driving. Their were signs for San Rafael, so I just kept going. Little did I know that the it was referring to an onramp to westbound 580, and that it was quite a distance from where I started. It was good, though, because I was bored anyway. committer: Tailor Script <tailor@pidgin.im>
author Adam Fritzler <mid@auk.cx>
date Sun, 04 Nov 2001 07:42:28 +0000
parents ec21ec04cdeb
children b10dbe7de693
line wrap: on
line source

CFLAGS += -I\$(top_srcdir) -I\$(top_srcdir)/src -DVERSION=\"$(VERSION)\"
SUFFIXES = .c .so
.c.so:
	$(LIBTOOL) --mode=compile $(CC) $(CFLAGS) -c $< -o tmp$@.lo $(PLUGIN_CFLAGS)
	$(LIBTOOL) --mode=link    $(CC) $(CFLAGS) -o libtmp$@.la -rpath $(plugindir) tmp$@.lo $(LIBS) $(LDFLAGS) -avoid-version $(PLUGIN_LIBS)
	@rm -f tmp$@.lo tmp$@.o libtmp$@.la
	@cp .libs/libtmp$@.so* $@
	@rm -f .libs/libtmp$@.*

if PLUGINS

plugindir = $(libdir)/gaim

plugin_DATA = autorecon.so chatlist.so iconaway.so lagmeter.so notify.so spellchk.so

$(plugin_DATA): $(top_srcdir)/src/gaim.h

clean distclean:
	rm -rf $(plugin_DATA) .libs

else

plugin_DATA = 

endif


EXTRA_DIST = ChangeLog PERL-HOWTO HOWTO SIGNALS autorecon.c filectl.c iconaway.c \
		lagmeter.c notify.c spellchk.c gaim.pl mailchk.c chatlist.c