comparison plugins/Makefile.am @ 1497:c3a40af2b0c4

[gaim-migrate @ 1507] this is a hack committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Thu, 22 Feb 2001 22:50:03 +0000
parents baef6e30f3a7
children 4ebde910e95c
comparison
equal deleted inserted replaced
1496:d33bf6548543 1497:c3a40af2b0c4
1 LDFLAGS += $(LDADD) $(LIBS) -ggdb -shared 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 $(CC) $(CFLAGS) -I\$(top_srcdir)/src -I\$(top_srcdir) -DVERSION=\"$(VERSION)\" -fPIC -o $@ $< $(LDFLAGS) $(PLUGIN_LIBS) 4 $(LIBTOOL) --mode=compile $(CC) $(CFLAGS) -c $< -o tmp.lo
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
7 mv .libs/libtmp.so.0.0.0 $@
8 rm -rf .libs
5 9
6 if PLUGINS 10 if PLUGINS
7 11
8 plugindir = $(libdir)/gaim 12 plugindir = $(libdir)/gaim
9 13