Fri, 14 Oct 2005 05:00:17 +0000
[gaim-migrate @ 13945]
Thanks to the hard work of Eoin 'ecoffey' Coffey, here is the mono plugin loader.
It needs a lot of api wrapping a bit more autotools loving, but with the basic API that is wrapped, it works quite well.
committer: Gary Kramlich <grim@reaperworld.com>
| 11660 | 1 | plugindir = $(libdir)/gaim |
| 2 | ||
| 3 | plugin_LTLIBRARIES = mono.la | |
| 4 | ||
| 5 | mono_la_SOURCES = \ | |
| 6 | mono.c \ | |
| 7 | mono-helper.c \ | |
| 8 | debug-glue.c \ | |
| 9 | signal-glue.c \ | |
| 10 | blist-glue.c | |
| 11 | ||
| 12 | mono_la_LDFLAGS = -module -avoid-version | |
| 13 | ||
| 14 | mono_la_LIBADD = $(MONO_LIBS) | |
| 15 | ||
| 16 | AM_CPPFLAGS = \ | |
| 17 | -DVERSION=\"$(VERSION)\" \ | |
| 18 | -I$(top_srcdir) \ | |
| 19 | -I$(top_srcdir)/src \ | |
| 20 | $(DEBUG_CFLAGS) \ | |
| 21 | $(PLUGIN_CFLAGS) \ | |
| 22 | $(MONO_CFLAGS) |