1 EXTRA_DIST = version.rc plugin.def claws.def mypgpcore.def pgpmime.deps
5 LTRCCOMPILE = $(LIBTOOL) --mode=compile --tag=RC $(RC) \
6 `echo $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) | \
7 sed -e 's/-I/--include-dir /g;s/-D/--define /g'`
10 $(LTRCCOMPILE) -i $< -o $@
12 plugin_res = version.lo
13 plugin_res_ldflag = -Wl,.libs/version.o
15 export_symbols = -export-symbols $(srcdir)/plugin.def
17 plugin_deps = libclaws.a libmypgpcore.a $(plugin_res) plugin.def
20 $(DLLTOOL) --output-lib $@ --def $<
22 libmypgpcore.a: mypgpcore.def
23 $(DLLTOOL) --output-lib $@ --def $<
25 plugin_ldadd = -L. -lclaws -lmypgpcore
36 no_undefined = -no-undefined
42 cygwin_export_lib = -L$(top_builddir)/src -lclaws-mail
43 pgpcore_lib = ../pgpcore/pgpcore.la
48 plugindir = $(pkglibdir)/plugins
49 plugin_DATA=pgpmime.deps
51 plugin_LTLIBRARIES = pgpmime.la
54 pgpmime_la_SOURCES = \
58 pluginincludedir = $(pkgincludedir)/plugins/pgpmime
59 plugininclude_HEADERS = \
62 pgpmime_la_LDFLAGS = \
63 $(plugin_res_ldflag) $(no_undefined) $(export_symbols) \
64 -avoid-version -module
65 pgpmime_la_DEPENDENCIES = $(plugin_deps)
66 pgpmime_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