~ubuntu-branches/debian/sid/claws-mail/sid

« back to all changes in this revision

Viewing changes to src/plugins/managesieve/Makefile.am

  • Committer: Package Import Robot
  • Author(s): Ricardo Mones
  • Date: 2015-08-18 16:37:25 UTC
  • mfrom: (1.3.7)
  • Revision ID: package-import@ubuntu.com-20150818163725-1it32n9mzqkwy2ef
Tags: 3.12.0-1
* New upstream release:
- 'cannot reorganize mailboxes' (Closes: #777208)
- 'dropdown menu bar has disappeared…'(Closes: #778886)
- 'depends on plugins libraries'  (Closes: #779824)
- 'new upstream version (3.12.0)…' (Closes: #793665)
* 14CVE_2010_5109.patch, 15fix_crash_open_folder.patch,
  13desktop_file_categories.patch
- Remove patches applied upstream
* debian/control, debian/copyright, debian/claws-mail-managesieve*
- Add managesieve plugin (new in this release)
* debian/rules
- Set perl-plugin manpage release version automatically
* 12fix_manpage_header.patch
- Update patch to cope with upstream changes
* debian/control, debian/watch
- Update VCS-* and watch URLs (thanks Julian Wollrath)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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
 
 
6
EXTRA_DIST = claws.def plugin.def version.rc
 
7
 
 
8
IFLAGS = \
 
9
        -I$(top_srcdir)/src \
 
10
        -I$(top_srcdir)/src/common \
 
11
        -I$(top_builddir)/src/common \
 
12
        -I$(top_srcdir)/src/gtk
 
13
 
 
14
if OS_WIN32
 
15
 
 
16
LTRCCOMPILE = $(LIBTOOL) --mode=compile --tag=RC $(RC) \
 
17
     `echo $(DEFS) $(DEFAULT_INCLUDES) $(IFLAGS) | \
 
18
     sed -e 's/-I/--include-dir /g;s/-D/--define /g'`
 
19
 
 
20
%.lo : %.rc
 
21
        $(LTRCCOMPILE) -i $< -o $@
 
22
 
 
23
plugin_res = version.lo
 
24
plugin_res_ldflag = -Wl,.libs/version.o
 
25
 
 
26
export_symbols = -export-symbols $(srcdir)/plugin.def
 
27
 
 
28
plugin_deps = libclaws.a $(plugin_res) plugin.def
 
29
 
 
30
libclaws.a: claws.def
 
31
        $(DLLTOOL) --output-lib $@ --def $<
 
32
 
 
33
plugin_ldadd = -L. -lclaws
 
34
 
 
35
else
 
36
plugin_res =
 
37
plugin_res_ldflag =
 
38
export_symbols =
 
39
plugin_deps =
 
40
plugin_ldadd =
 
41
endif
 
42
 
 
43
if PLATFORM_WIN32
 
44
no_undefined = -no-undefined
 
45
else
 
46
no_undefined =
 
47
endif
 
48
 
 
49
if CYGWIN
 
50
cygwin_export_lib = -L$(top_builddir)/src -lclaws-mail
 
51
else
 
52
cygwin_export_lib =
 
53
endif
 
54
 
 
55
plugindir = $(pkglibdir)/plugins
 
56
 
 
57
if BUILD_MANAGESIEVE_PLUGIN
 
58
plugin_LTLIBRARIES = managesieve.la
 
59
endif
 
60
 
 
61
managesieve_la_LDFLAGS = \
 
62
        $(plugin_res_ldflag) $(no_undefined) $(export_symbols) \
 
63
        -avoid-version -module \
 
64
        $(GTK_LIBS) \
 
65
        $(CURL_LIBS)
 
66
 
 
67
managesieve_la_DEPENDENCIES = $(plugin_deps)
 
68
 
 
69
managesieve_la_LIBADD = $(plugin_ldadd) $(cygwin_export_lib) \
 
70
        $(GTK_LIBS)
 
71
 
 
72
managesieve_la_CPPFLAGS = \
 
73
        $(IFLAGS) \
 
74
        $(GLIB_CFLAGS) \
 
75
        $(GTK_CFLAGS) \
 
76
        $(CURL_CFLAGS)
 
77
 
 
78
managesieve_la_SOURCES = \
 
79
        managesieve.c managesieve.h \
 
80
        sieve_plugin.c \
 
81
        sieve_prefs.c sieve_prefs.h \
 
82
        sieve_manager.c sieve_manager.h \
 
83
        sieve_editor.c sieve_editor.h
 
84