-EXTRA_DIST = claws.def plugin.def version.rc
+# Makefile.am for "src/plugins/tnef_parse" directory
+# This file is part of Claws Mail package.
+# See COPYING file for license details.
+
+appdata_files = claws-mail-tnef_parse.metainfo.xml
+appdatadir = $(datadir)/appdata
+appdata_DATA = $(appdata_files)
+EXTRA_DIST = claws.def plugin.def version.rc $(appdata_files)
if OS_WIN32
LTRCCOMPILE = $(LIBTOOL) --mode=compile --tag=RC $(RC) \
- `echo $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) | \
+ `echo $(DEFS) $(DEFAULT_INCLUDES) $(IFLAGS) | \
sed -e 's/-I/--include-dir /g;s/-D/--define /g'`
%.lo : %.rc
plugindir = $(pkglibdir)/plugins
+if BUILD_TNEF_PARSE_PLUGIN
plugin_LTLIBRARIES = tnef_parse.la
+endif
tnef_parse_la_SOURCES = \
tnef_parse.c \
tnef_dump.c \
tnef_dump.h \
- ytnef.c \
- gettext.h
+ ytnef.c
tnef_parse_la_LDFLAGS = \
$(plugin_res_ldflag) $(no_undefined) $(export_symbols) \
tnef-types.h \
ytnef.h
-INCLUDES = \
+IFLAGS = \
-I$(top_srcdir)/src \
-I$(top_srcdir)/src/common \
-I$(top_builddir)/src/common \
-I$(top_srcdir)/src/gtk
-AM_CPPFLAGS = \
- -Wall \
- $(CLAWS_MAIL_CFLAGS) \
+tnef_parse_la_CPPFLAGS = \
+ $(IFLAGS) \
$(GLIB_CFLAGS) \
- $(GTK_CFLAGS) \
- -DLOCALEDIR=\""$(localedir)"\"
+ $(GTK_CFLAGS)