comparison plugins/Makefile.am @ 6386:417f35ff8b3e

[gaim-migrate @ 6891] Typing make whatever.so in the plugins/ dir should no longer be broken. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Wed, 06 Aug 2003 08:33:22 +0000
parents 8f94cce8faa5
children 70d5122bc3ff
comparison
equal deleted inserted replaced
6385:22a19145c200 6386:417f35ff8b3e
63 # This part allows people to build their own plugins in here. 63 # This part allows people to build their own plugins in here.
64 # Yes, it's a mess. 64 # Yes, it's a mess.
65 # 65 #
66 SUFFIXES = .c .so 66 SUFFIXES = .c .so
67 .c.so: 67 .c.so:
68 $(LIBTOOL) --mode=compile $(CC) -DHAVE_CONFIG_H $(AM_CPPFLAGS) $(CFLAGS) -c $< -o tmp$@.lo $(PLUGIN_CFLAGS) 68 $(LIBTOOL) --mode=compile $(CC) -DHAVE_CONFIG_H -I$(top_srcdir) $(AM_CPPFLAGS) $(CFLAGS) -c $< -o tmp$@.lo $(PLUGIN_CFLAGS)
69 $(LIBTOOL) --mode=link $(CC) $(CFLAGS) -o libtmp$@.la -rpath $(plugindir) tmp$@.lo $(LIBS) $(LDFLAGS) -module -avoid-version $(PLUGIN_LIBS) 69 $(LIBTOOL) --mode=link $(CC) $(CFLAGS) -o libtmp$@.la -rpath $(plugindir) tmp$@.lo $(LIBS) $(LDFLAGS) -module -avoid-version $(PLUGIN_LIBS)
70 @rm -f tmp$@.lo tmp$@.o libtmp$@.la 70 @rm -f tmp$@.lo tmp$@.o libtmp$@.la
71 @cp .libs/libtmp$@.so* $@ 71 @cp .libs/libtmp$@.so* $@
72 @rm -f .libs/libtmp$@.* 72 @rm -f .libs/libtmp$@.*