comparison plugins/Makefile.am @ 1506:4ebde910e95c

[gaim-migrate @ 1516] fixed parallel builds for plugins, added notes in plugins/ChangeLog. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Mon, 26 Feb 2001 20:38:27 +0000
parents c3a40af2b0c4
children dccdb9913f24
comparison
equal deleted inserted replaced
1505:171c64f70b66 1506:4ebde910e95c
1 CFLAGS += -I\$(top_srcdir) -I\$(top_srcdir)/src -DVERSION=\"$(VERSION)\" 1 CFLAGS += -I\$(top_srcdir) -I\$(top_srcdir)/src -DVERSION=\"$(VERSION)\"
2 SUFFIXES = .c .so 2 SUFFIXES = .c .so
3 .c.so: 3 .c.so:
4 $(LIBTOOL) --mode=compile $(CC) $(CFLAGS) -c $< -o tmp.lo 4 $(LIBTOOL) --mode=compile $(CC) $(CFLAGS) -c $< -o tmp$<.lo $(PLUGIN_CFLAGS)
5 $(LIBTOOL) --mode=link $(CC) $(CFLAGS) -o libtmp.la -rpath $(plugindir) tmp.lo $(LIBS) $(LDFLAGS) $(PLUGIN_LIBS) 5 $(LIBTOOL) --mode=link $(CC) $(CFLAGS) -o libtmp$<.la -rpath $(plugindir) tmp$<.lo $(LIBS) $(LDFLAGS) $(PLUGIN_LIBS)
6 rm tmp.lo tmp.o libtmp.la 6 rm tmp$<.lo tmp$<.o libtmp$<.la
7 mv .libs/libtmp.so.0.0.0 $@ 7 mv .libs/libtmp$<.so.0.0.0 $@
8 rm -rf .libs 8 rm -f .libs/libtmp$<.so .libs/libtmp$<.so.0 .libs/libtmp$<.a .libs/libtmp$<.la .libs/libtmp$<.lai
9 9
10 if PLUGINS 10 if PLUGINS
11 11
12 plugindir = $(libdir)/gaim 12 plugindir = $(libdir)/gaim
13 13