view plugins/Makefile.am @ 2344:19ea44f74a88

[gaim-migrate @ 2357] well, it still needs some work, but I did promise that I'd commit it tonight. I need to make it check to make sure the file exists, and need to make it display the current buddy icon. I'll do this tomorrow and will commit it. If there's any errors, I'll grab them then. I've had a couple drinks tonight, so it's very possible that I did something dumb or extremely brilliant. ;-) committer: Tailor Script <tailor@pidgin.im>
author Rob Flynn <gaim@robflynn.com>
date Sat, 22 Sep 2001 07:02:30 +0000
parents b1050f14b429
children 3860817b32af
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) $(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