6924e68e0e7ed2312b970ef3052b3348b3adc6b5
[claws.git] / src / plugins / perl / Makefile.am
1 SUBDIRS = tools
2
3 plugindir = $(pkglibdir)/plugins
4
5 if BUILD_PERL_PLUGIN
6 plugin_LTLIBRARIES = perl.la
7 endif
8
9 perl_la_SOURCES = \
10         perl_plugin.c perl_plugin.h \
11         perl_gtk.c perl_gtk.h
12
13 perl_la_LDFLAGS = \
14         -avoid-version -module
15
16 perl_la_LIBADD = \
17         $(PERL_LDFLAGS) \
18         $(GTK_LIBS)
19
20 AM_CPPFLAGS = \
21         $(CLAWS_MAIL_CFLAGS) \
22         $(GLIB_CFLAGS) \
23         $(GTK_CFLAGS) \
24         $(PERL_CFLAGS)
25
26 INCLUDES = \
27         -I$(top_srcdir)/src \
28         -I$(top_srcdir)/src/common \
29         -I$(top_builddir)/src/common \
30         -I$(top_srcdir)/src/gtk
31
32 EXTRA_DIST = cm_perl.pod
33