1 # Makefile.am for "src/plugins/pgpcore" directory
2 # This file is part of Claws Mail package.
3 # See COPYING file for license details.
5 EXTRA_DIST = version.rc plugin.def claws.def
9 -I$(top_srcdir)/src/common \
10 -I$(top_builddir)/src/common \
11 -I$(top_srcdir)/src/gtk
15 LTRCCOMPILE = $(LIBTOOL) --mode=compile --tag=RC $(RC) \
16 `echo $(DEFS) $(DEFAULT_INCLUDES) $(IFLAGS) | \
17 sed -e 's/-I/--include-dir /g;s/-D/--define /g'`
20 $(LTRCCOMPILE) -i $< -o $@
22 plugin_res = version.lo
23 plugin_res_ldflag = -Wl,.libs/version.o
25 export_symbols = -export-symbols $(srcdir)/plugin.def
27 plugin_deps = libclaws.a $(plugin_res) plugin.def
30 $(DLLTOOL) --output-lib $@ --def $<
32 plugin_ldadd = -L. -lclaws
43 no_undefined = -no-undefined
49 cygwin_export_lib = -L$(top_builddir)/src -lclaws-mail
54 plugindir = $(pkglibdir)/plugins
56 if BUILD_PGPCORE_PLUGIN
57 plugin_LTLIBRARIES = pgpcore.la
60 pgpcore_la_SOURCES = \
70 pluginincludedir = $(pkgincludedir)/plugins/pgpcore
71 plugininclude_HEADERS = \
80 pgpcore_la_LDFLAGS = \
81 $(plugin_res_ldflag) $(no_undefined) $(export_symbols) \
82 -avoid-version -module
83 pgpcore_la_DEPENDENCIES = $(plugin_deps)
84 pgpcore_la_LIBADD = $(cygwin_export_lib) $(plugin_ldadd) \
89 pgpcore_la_CPPFLAGS = \
95 -Wno-deprecated-declarations