1 # Makefile.am for "src/plugins/tnef_parse" directory
2 # This file is part of Claws Mail package.
3 # See COPYING file for license details.
5 EXTRA_DIST = claws.def plugin.def version.rc
9 LTRCCOMPILE = $(LIBTOOL) --mode=compile --tag=RC $(RC) \
10 `echo $(DEFS) $(DEFAULT_INCLUDES) $(IFLAGS) | \
11 sed -e 's/-I/--include-dir /g;s/-D/--define /g'`
14 $(LTRCCOMPILE) -i $< -o $@
16 plugin_res = version.lo
17 plugin_res_ldflag = -Wl,.libs/version.o
19 export_symbols = -export-symbols $(srcdir)/plugin.def
21 plugin_deps = libclaws.a $(plugin_res) plugin.def
24 $(DLLTOOL) --output-lib $@ --def $<
26 plugin_ldadd = -L. -lclaws
37 no_undefined = -no-undefined
43 cygwin_export_lib = -L$(top_builddir)/src -lclaws-mail
48 plugindir = $(pkglibdir)/plugins
50 if BUILD_TNEF_PARSE_PLUGIN
51 plugin_LTLIBRARIES = tnef_parse.la
54 tnef_parse_la_SOURCES = \
60 tnef_parse_la_LDFLAGS = \
61 $(plugin_res_ldflag) $(no_undefined) $(export_symbols) \
62 -avoid-version -module \
65 tnef_parse_la_DEPENDENCIES = $(plugin_deps)
67 tnef_parse_la_LIBADD = $(plugin_ldadd) $(cygwin_export_lib) \
81 -I$(top_srcdir)/src/common \
82 -I$(top_builddir)/src/common \
83 -I$(top_srcdir)/src/gtk
85 tnef_parse_la_CPPFLAGS = \