1 EXTRA_DIST = version.rc plugin.def claws.def mypgpcore.def smime.deps
6 LTRCCOMPILE = $(LIBTOOL) --mode=compile $(RC) \
7 `echo $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) | \
8 sed -e 's/-I/--include-dir /g;s/-D/--define /g'`
11 $(LTRCCOMPILE) -i $< -o $@
13 plugin_res = version.lo
14 plugin_res_ldflag = -Wl,.libs/version.o
16 export_symbols = -export-symbols $(srcdir)/plugin.def
18 plugin_deps = libclaws.a libmypgpcore.a $(plugin_res) plugin.def
21 $(DLLTOOL) --output-lib $@ --def $<
23 libmypgpcore.a: mypgpcore.def
24 $(DLLTOOL) --output-lib $@ --def $<
26 plugin_ldadd = -L. -lclaws -lmypgpcore
37 no_undefined = -no-undefined
43 cygwin_export_lib = -L$(top_builddir)/src -lclaws-mail
44 pgpcore_lib = ../pgpcore/pgpcore.la
50 plugindir = $(pkglibdir)/plugins
51 plugin_DATA=smime.deps
53 plugin_LTLIBRARIES = smime.la
59 pluginincludedir = $(pkgincludedir)/plugins/smime
60 plugininclude_HEADERS = \
64 $(plugin_res_ldflag) $(no_undefined) $(export_symbols) \
65 -avoid-version -module
66 smime_la_DEPENDENCIES = $(plugin_deps)
67 smime_la_LIBADD = $(plugin_ldadd) $(pgpcore_lib) $(cygwin_export_lib) \
75 -I$(top_srcdir)/src/common \
76 -I$(top_builddir)/src/common \
77 -I$(top_srcdir)/src/gtk
86 -Wno-deprecated-declarations