1 EXTRA_DIST = version.rc plugin.def claws.def mypgpcore.def pgpmime.deps
5 -I$(top_srcdir)/src/common \
6 -I$(top_builddir)/src/common \
7 -I$(top_srcdir)/src/gtk
11 LTRCCOMPILE = $(LIBTOOL) --mode=compile --tag=RC $(RC) \
12 `echo $(DEFS) $(DEFAULT_INCLUDES) $(IFLAGS) | \
13 sed -e 's/-I/--include-dir /g;s/-D/--define /g'`
16 $(LTRCCOMPILE) -i $< -o $@
18 plugin_res = version.lo
19 plugin_res_ldflag = -Wl,.libs/version.o
21 export_symbols = -export-symbols $(srcdir)/plugin.def
23 plugin_deps = libclaws.a libmypgpcore.a $(plugin_res) plugin.def
26 $(DLLTOOL) --output-lib $@ --def $<
28 libmypgpcore.a: mypgpcore.def
29 $(DLLTOOL) --output-lib $@ --def $<
31 plugin_ldadd = -L. -lclaws -lmypgpcore
42 no_undefined = -no-undefined
48 cygwin_export_lib = -L$(top_builddir)/src -lclaws-mail
49 pgpcore_lib = ../pgpcore/pgpcore.la
54 plugindir = $(pkglibdir)/plugins
55 plugin_DATA=pgpmime.deps
57 if BUILD_PGPMIME_PLUGIN
58 plugin_LTLIBRARIES = pgpmime.la
61 pgpmime_la_SOURCES = \
65 pluginincludedir = $(pkgincludedir)/plugins/pgpmime
66 plugininclude_HEADERS = \
69 pgpmime_la_LDFLAGS = \
70 $(plugin_res_ldflag) $(no_undefined) $(export_symbols) \
71 -avoid-version -module
72 pgpmime_la_DEPENDENCIES = $(plugin_deps)
73 pgpmime_la_LIBADD = $(plugin_ldadd) $(pgpcore_lib) $(cygwin_export_lib) \
78 pgpmime_la_CPPFLAGS = \
84 -Wno-deprecated-declarations