Clean up plugin build files for Windows
[claws.git] / src / plugins / smime / Makefile.am
blob05c1ea8b0702e64270cbed0bdf86c56e9431be28
1 # Copyright 1999-2022 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.
6 include $(srcdir)/../win_plugin.mk
8 EXTRA_DIST = smime.deps
10 IFLAGS = \
11         -I$(top_builddir)/src \
12         -I$(top_builddir)/src/common \
13         -I$(top_srcdir)/src \
14         -I$(top_srcdir)/src/common \
15         -I$(top_srcdir)/src/gtk
17 include $(srcdir)/../win_pgpcore.mk
19 plugindir = $(pkglibdir)/plugins
20 plugin_DATA=smime.deps
22 if BUILD_SMIME_PLUGIN
23 plugin_LTLIBRARIES = smime.la
24 endif
26 smime_la_LDFLAGS = \
27         $(plugin_ldflags) \
28         -avoid-version -module 
30 EXTRA_smime_la_DEPENDENCIES = $(plugin_extra_deps)
32 smime_la_LIBADD = $(plugin_libadd) \
33         $(GTK_LIBS)  \
34         $(GPGME_LIBS) \
35         $(ENCHANT_LIBS)
37 smime_la_CPPFLAGS = \
38         $(IFLAGS) \
39         $(GLIB_CFLAGS) \
40         $(GTK_CFLAGS) \
41         $(GPGME_CFLAGS) \
42         $(ENCHANT_CFLAGS) \
43         -Wno-deprecated-declarations
45 smime_la_SOURCES = \
46         plugin.c \
47         smime.c \
48         smime.h
50 .PHONY: test