1# Copyright 1999-2014 the Claws Mail team.
2# This file is part of Claws Mail package, and distributed under the
3# terms of the General Public License version 3 (or later).
4# See COPYING file for license details.
5
6SUBDIRS = tools
7
8plugindir = $(pkglibdir)/plugins
9
10if BUILD_PERL_PLUGIN
11plugin_LTLIBRARIES = perl.la
12endif
13
14perl_la_SOURCES = \
15	perl_plugin.c perl_plugin.h \
16	perl_gtk.c perl_gtk.h
17
18perl_la_LDFLAGS = \
19	-avoid-version -module
20
21perl_la_LIBADD = \
22	$(PERL_LDFLAGS) \
23	$(GTK_LIBS)
24
25perl_la_CPPFLAGS = \
26	-I$(top_srcdir)/src \
27	-I$(top_srcdir)/src/common \
28	-I$(top_builddir)/src \
29	-I$(top_srcdir)/src/gtk \
30	$(GLIB_CFLAGS) \
31	$(GTK_CFLAGS) \
32	$(ENCHANT_CFLAGS) \
33	$(PERL_CFLAGS)
34
35EXTRA_DIST = cm_perl.pod
36
37
38.PHONY: test
39