view libpurple/plugins/mono/Makefile.am @ 16708:82267f2e1e0a

merge of '1b3ba1167062fa424c4b5178877923d11a74faa2' and '7b3794098ccb6f2bcaef7e5d7ea29989497c597d'
author Stu Tomlinson <stu@nosnilmot.com>
date Mon, 30 Apr 2007 17:44:33 +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)