comparison plugins/Makefile.am @ 6237:6e2f46de5e38

[gaim-migrate @ 6730] This seems to fix "self-"made" plugins do not load" http://sourceforge.net/tracker/index.php?func=detail&aid=774090&group_id=235&atid=100235 (I changed -DHAVE_CONFIG to -DHAVE_CONFIG_H) committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Sat, 19 Jul 2003 20:31:24 +0000
parents 58ea0597a856
children 511003c99302
comparison
equal deleted inserted replaced
6236:7ff81c01d238 6237:6e2f46de5e38
57 # This part allows people to build their own plugins in here. 57 # This part allows people to build their own plugins in here.
58 # Yes, it's a mess. 58 # Yes, it's a mess.
59 # 59 #
60 SUFFIXES = .c .so 60 SUFFIXES = .c .so
61 .c.so: 61 .c.so:
62 $(LIBTOOL) --mode=compile $(CC) -DHAVE_CONFIG $(AM_CPPFLAGS) $(CFLAGS) -c $< -o tmp$@.lo $(PLUGIN_CFLAGS) 62 $(LIBTOOL) --mode=compile $(CC) -DHAVE_CONFIG_H $(AM_CPPFLAGS) $(CFLAGS) -c $< -o tmp$@.lo $(PLUGIN_CFLAGS)
63 $(LIBTOOL) --mode=link $(CC) $(CFLAGS) -o libtmp$@.la -rpath $(plugindir) tmp$@.lo $(LIBS) $(LDFLAGS) -module -avoid-version $(PLUGIN_LIBS) 63 $(LIBTOOL) --mode=link $(CC) $(CFLAGS) -o libtmp$@.la -rpath $(plugindir) tmp$@.lo $(LIBS) $(LDFLAGS) -module -avoid-version $(PLUGIN_LIBS)
64 @rm -f tmp$@.lo tmp$@.o libtmp$@.la 64 @rm -f tmp$@.lo tmp$@.o libtmp$@.la
65 @cp .libs/libtmp$@.so* $@ 65 @cp .libs/libtmp$@.so* $@
66 @rm -f .libs/libtmp$@.* 66 @rm -f .libs/libtmp$@.*
67