view plugins/Makefile.am @ 3840:90cd4e84465e

[gaim-migrate @ 3990] because i'm bored and don't want to do homework, and because its a toy, this looks more like our existing todo file. now if the -T option were to be used it would at least generate something roughtly equivalent. committer: Tailor Script <tailor@pidgin.im>
author Luke Schierer <lschiere@pidgin.im>
date Thu, 31 Oct 2002 02:20:59 +0000
parents 8cd8deb4234d
children caa7701b67d1
line wrap: on
line source

SUBDIRS = docklet ticker

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) -module -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 notify.so spellchk.so history.so timestamp.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 \
		notify.c spellchk.c gaim.pl mailchk.c chatlist.c gtik.c error.c  \
		history.c timestamp.c fortuneprofile.pl