view plugins/Makefile.am @ 2273:0b5c3338fa3d

[gaim-migrate @ 2283] One of the girls on the floor of my sister's dorm lost both her parents when their plane was hijacked and crashed into the World Trade Center. my girlfriend's boss's sister-in-law's brother died when the building collapsed. my parents flew to atlanta on monday; they're safe but currently stranded there. they had planned on flying to Raleigh, NC today but now are just hoping to be able to fly home soon. how did this happen? committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Wed, 12 Sep 2001 21:29:32 +0000
parents a0ee02e861b9
children f74eefb55a78
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
	if test -f .libs/libtmp$@.so ; then \
		cp .libs/libtmp$@.so $@ ; \
	elif test -f .libs/libtmp$@.so.0.0 ; then \
		cp .libs/libtmp$@.so.0.0 $@ ; \
	fi
	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) $(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 mailchk.c chatlist.c