view libpurple/plugins/mono/Makefile.am @ 29616:05d2ceedcc74

merge of '6746d602d91ae610baffb8629463407a20b7b2fd' and 'acac0b2e548e3d512ca885de0480a38f0c5c4eae'
author Daniel Atallah <daniel.atallah@gmail.com>
date Sat, 31 Oct 2009 19:28:45 +0000
parents ce049678a67b
children
line wrap: on
line source

SUBDIRS = api loader

mono_sources = GetBuddyBack.cs \
			   MPlugin.cs

EXTRA_DIST = $(mono_sources)

monodir = $(libdir)/purple-$(PURPLE_MAJOR_VERSION)
mono_SCRIPTS = MPlugin.dll GetBuddyBack.dll
mono_build_sources = $(addprefix $(srcdir)/, $(mono_sources))

all: $(mono_SCRIPTS)

SUFFIXES = .cs .dll
.cs.dll: api/PurpleAPI.dll $(mono_build_sources)
	mcs -t:library -lib:./api -out:$@ -r:PurpleAPI.dll $<

clean-local:
	rm -f $(mono_SCRIPTS)