view plugins/Makefile.am @ 3352:be601eb50d0a

[gaim-migrate @ 3371] Added missing gtik.c and error.c to EXTRA_DIST. committer: Tailor Script <tailor@pidgin.im>
author Jim Seymour <jseymour>
date Tue, 09 Jul 2002 16:19:17 +0000
parents abf9303fb328
children 412d1035d666
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) -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

$(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