view libpurple/plugins/mono/Makefile.am @ 17394:38c26b0bbb6e

merge of '27508136086ee6dc49a8fe0cb403e09f119ed485' and '9b63c58b247a65c39493cf29e45d001c9bb6de32'
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Fri, 25 May 2007 01:19:12 +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)