fix CID 1596595: Resource leaks, and CID 1596594: (CHECKED_RETURN)
[claws.git] / src / plugins / tnef_parse / Makefile.am
1 # Copyright 1999-2022 the Claws Mail team.
2 # This file is part of Claws Mail package, and distributed under the
3 # terms of the General Public License version 3 (or later).
4 # See COPYING file for license details.
5
6 include $(srcdir)/../win_plugin.mk
7
8 IFLAGS = \
9         -I$(top_builddir)/src \
10         -I$(top_builddir)/src/common \
11         -I$(top_srcdir)/src \
12         -I$(top_srcdir)/src/common \
13         -I$(top_srcdir)/src/gtk
14
15 plugindir = $(pkglibdir)/plugins
16
17 if BUILD_TNEF_PARSE_PLUGIN
18 plugin_LTLIBRARIES = tnef_parse.la
19 endif
20
21 tnef_parse_la_LDFLAGS = \
22         $(plugin_ldflags) \
23         -avoid-version -module -z noexecstack
24
25 EXTRA_tnef_parse_la_DEPENDENCIES = $(plugin_extra_deps)
26
27 tnef_parse_la_LIBADD = $(plugin_libadd) \
28         $(GTK_LIBS) \
29         $(YTNEF_LIBS)
30
31 tnef_parse_la_CPPFLAGS = \
32         $(IFLAGS) \
33         $(GLIB_CFLAGS) \
34         $(GTK_CFLAGS) \
35         $(YTNEF_CFLAGS)
36
37 tnef_parse_la_SOURCES = \
38         tnef_dump.c \
39         tnef_dump.h \
40         tnef_parse.c
41
42 .PHONY: test