Mercurial > pidgin.yaz
comparison pidgin/plugins/Makefile.am @ 23972:20846036cbd5
Fix compiling 'make plugin.so' when srcdir != builddir. This should've been part of the last commit.
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Mon, 01 Sep 2008 16:16:30 +0000 |
parents | ff16ce972253 |
children | bb99ee66120e ee18c6a99628 |
comparison
equal
deleted
inserted
replaced
23971:db4400f75dd8 | 23972:20846036cbd5 |
---|---|
130 # This part allows people to build their own plugins in here. | 130 # This part allows people to build their own plugins in here. |
131 # Yes, it's a mess. | 131 # Yes, it's a mess. |
132 # | 132 # |
133 SUFFIXES = .c .so | 133 SUFFIXES = .c .so |
134 .c.so: | 134 .c.so: |
135 $(LIBTOOL) --mode=compile $(CC) -DHAVE_CONFIG_H -I$(top_srcdir) $(AM_CPPFLAGS) $(CFLAGS) -c $< -o tmp$@.lo $(PLUGIN_CFLAGS) | 135 $(LIBTOOL) --mode=compile $(CC) -DHAVE_CONFIG_H -I$(top_builddir) $(AM_CPPFLAGS) $(CFLAGS) -c $< -o tmp$@.lo $(PLUGIN_CFLAGS) |
136 $(LIBTOOL) --mode=link $(CC) $(CFLAGS) -o libtmp$@.la -rpath $(plugindir) tmp$@.lo $(LIBS) $(LDFLAGS) -module -avoid-version $(PLUGIN_LIBS) | 136 $(LIBTOOL) --mode=link $(CC) $(CFLAGS) -o libtmp$@.la -rpath $(plugindir) tmp$@.lo $(LIBS) $(LDFLAGS) -module -avoid-version $(PLUGIN_LIBS) |
137 @rm -f tmp$@.lo tmp$@.o libtmp$@.la | 137 @rm -f tmp$@.lo tmp$@.o libtmp$@.la |
138 @cp .libs/libtmp$@.so* $@ | 138 @cp .libs/libtmp$@.so* $@ |
139 @rm -f .libs/libtmp$@.* | 139 @rm -f .libs/libtmp$@.* |