fix CID 1596595: Resource leaks, and CID 1596594: (CHECKED_RETURN)
[claws.git] / src / plugins / fetchinfo / 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_FETCHINFO_PLUGIN
18 plugin_LTLIBRARIES = fetchinfo.la
19 endif
20
21 fetchinfo_la_LDFLAGS = \
22         $(plugin_ldflags) \
23         -avoid-version -module -z noexecstack
24
25 EXTRA_fetchinfo_la_DEPENDENCIES = $(plugin_extra_deps)
26
27 fetchinfo_la_LIBADD = $(plugin_libadd) \
28         $(GTK_LIBS)
29
30 fetchinfo_la_CPPFLAGS = \
31         $(IFLAGS) \
32         $(GLIB_CFLAGS) \
33         $(GTK_CFLAGS)
34
35 fetchinfo_la_SOURCES = \
36         fetchinfo_plugin.c \
37         fetchinfo_plugin.h \
38         fetchinfo_plugin_gtk.c
39
40 .PHONY: test