comparison libpurple/plugins/Makefile.am @ 27717:48148e688ad1

Some versions of libtool seem to output things a little differently, so change the automatic plugin-building stuff to copy the right files, and still be compatible with OS X.
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Mon, 20 Jul 2009 05:10:17 +0000
parents 6a4cab3959b7
children
comparison
equal deleted inserted replaced
27716:1316f2b180be 27717:48148e688ad1
155 SUFFIXES = .c .so 155 SUFFIXES = .c .so
156 .c.so: 156 .c.so:
157 $(LIBTOOL) --mode=compile $(CC) -DHAVE_CONFIG_H -I$(top_builddir) $(AM_CPPFLAGS) $(CFLAGS) -c $< -o tmp$@.lo $(PLUGIN_CFLAGS) 157 $(LIBTOOL) --mode=compile $(CC) -DHAVE_CONFIG_H -I$(top_builddir) $(AM_CPPFLAGS) $(CFLAGS) -c $< -o tmp$@.lo $(PLUGIN_CFLAGS)
158 $(LIBTOOL) --mode=link $(CC) $(CFLAGS) -o libtmp$@.la -rpath $(plugindir) tmp$@.lo $(LIBS) $(LDFLAGS) -module -avoid-version $(PLUGIN_LIBS) 158 $(LIBTOOL) --mode=link $(CC) $(CFLAGS) -o libtmp$@.la -rpath $(plugindir) tmp$@.lo $(LIBS) $(LDFLAGS) -module -avoid-version $(PLUGIN_LIBS)
159 @rm -f tmp$@.lo tmp$@.o libtmp$@.la 159 @rm -f tmp$@.lo tmp$@.o libtmp$@.la
160 @cp .libs/libtmp$@.so.so $@ 160 @cp .libs/libtmp$@*.so $@
161 @rm -rf .libs/libtmp$@.* 161 @rm -rf .libs/libtmp$@.*