view plugins/Makefile.am @ 1566:e9faf5dfdba0

[gaim-migrate @ 1576] if not connected and disconnect remove WRITE instead of READ committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Tue, 13 Mar 2001 11:05:13 +0000
parents f9f1e3bc1918
children 35dbd22e3af5
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

if PRPLS

SUBDIRS = yay icq msn jabber

prpls = irc.so napster.so

$(prpls): $(top_srcdir)/src/prpl.h

else

SUBDIRS =

prpls = 

endif 

plugin_DATA = $(prpls) autorecon.so iconaway.so notify.so spellchk.so lagmeter.so

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

clean distclean:
	$(RM) $(plugin_DATA)

else

plugin_DATA = 

endif



EXTRA_DIST = ChangeLog PERL-HOWTO CRAZY HOWTO SIGNALS autorecon.c error.c filectl.c \
	gaiminc.c iconaway.c lagmeter.c notify.c simple.c spellchk.c \
	toc_commands.c events.c gaim.pl irc.c napster.c