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 no_undefined = -no-undefined
16 export_symbols = -export-symbols $(srcdir)/plugin.def
18 plugin_deps = libsylpheed.a $(plugin_res) plugin.def
20 libsylpheed.a: sylpheed.def
21 $(DLLTOOL) --output-lib $@ --def $<
23 plugin_ldadd = -L . -lsylpheed
35 plugindir = $(pkglibdir)/plugins
37 plugin_LTLIBRARIES = pgpcore.la
39 pgpcore_la_SOURCES = \
46 pluginincludedir = $(pkgincludedir)/plugins/pgpcore
47 plugininclude_HEADERS = \
53 pgpcore_la_LDFLAGS = \
54 $(plugin_res_ldflag) $(no_undefined) $(export_symbols) \
55 -avoid-version -module \
58 pgpcore_la_DEPENDENCIES = $(plugin_deps)
59 pgpcore_la_LIBADD = $(plugin_ldadd)
63 -I$(top_srcdir)/src/common \
64 -I$(top_srcdir)/src/gtk
70 -Wno-deprecated-declarations