1 EXTRA_DIST = version.rc plugin.def sylpheed.def
5 LTRCCOMPILE = $(LIBTOOL) --mode=compile $(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 = libsylpheed.a $(plugin_res) plugin.def
19 libsylpheed.a: sylpheed.def
20 $(DLLTOOL) --output-lib $@ --def $<
22 plugin_ldadd = -L . -lsylpheed
33 no_undefined = -no-undefined
39 cygwin_export_lib = -L$(top_builddir)/src -lsylpheed-claws
44 plugindir = $(pkglibdir)/plugins
46 plugin_LTLIBRARIES = pgpcore.la
48 pgpcore_la_SOURCES = \
56 pluginincludedir = $(pkgincludedir)/plugins/pgpcore
57 plugininclude_HEADERS = \
64 pgpcore_la_LDFLAGS = \
65 $(plugin_res_ldflag) $(no_undefined) $(export_symbols) \
66 -avoid-version -module
67 pgpcore_la_DEPENDENCIES = $(plugin_deps)
68 pgpcore_la_LIBADD = $(cygwin_export_lib) $(plugin_ldadd) \
74 -I$(top_srcdir)/src/common \
75 -I$(top_srcdir)/src/gtk
81 -Wno-deprecated-declarations