1 # Copyright (C) 2013-2020 Roland Lutz
3 # This program is free software; you can redistribute it and/or modify
4 # it under the terms of the GNU General Public License as published by
5 # the Free Software Foundation; either version 2 of the License, or
6 # (at your option) any later version.
8 # This program is distributed in the hope that it will be useful,
9 # but WITHOUT ANY WARRANTY; without even the implied warranty of
10 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 # GNU General Public License for more details.
13 # You should have received a copy of the GNU General Public License
14 # along with this program; if not, write to the Free Software Foundation,
15 # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17 AM_CPPFLAGS = $(PYTHON_CFLAGS) -I$(top_srcdir)/include
18 AM_CFLAGS = -Wall -W -Wno-unused-parameter -fno-strict-aliasing \
19 $(Wno_cast_function_type_IF_SUPPORTED)
21 AM_V_M4 = $(am__v_M4_@AM_V@)
22 am__v_M4_ = $(am__v_M4_@AM_DEFAULT_V@)
23 am__v_M4_0 = @echo " M4 " $@;
53 data.h: include_h.m4 $(m4sources)
54 $(AM_V_M4)cd "$(srcdir)" && m4 -P include_h.m4 $(m4sources) > data.h
57 $(AM_V_M4)m4 -P $(srcdir)/include_c.m4 $< > $@
59 data_arc.c: include_c.m4
60 data_box.c: include_c.m4
61 data_circle.c: include_c.m4
62 data_component.c: include_c.m4
63 data_line.c: include_c.m4
64 data_net.c: include_c.m4
65 data_path.c: include_c.m4
66 data_picture.c: include_c.m4
67 data_text.c: include_c.m4
68 data_lineattr.c: include_c.m4
69 data_fillattr.c: include_c.m4
71 EXTRA_DIST = include_h.m4 include_c.m4 $(m4output)
73 BUILT_SOURCES = data.h
75 pkgpyexec_LTLIBRARIES = storagemodule.la
76 storagemodule_la_SOURCES = \
83 storagemodule_la_LIBADD = ../../storage/libxornstorage.la
84 storagemodule_la_LDFLAGS = -module -avoid-version \
85 -export-symbols-regex '^initstorage$$'