From f8b02b46dca8f3a2689104127bbe1c0736705ff4 Mon Sep 17 00:00:00 2001 From: Gediminas Jakutis Date: Wed, 14 Jun 2017 15:52:45 +0300 Subject: meson: drop automake support && add initial meson support. --- src/float/Makefile.am | 26 -------------------------- src/float/meson.build | 10 ++++++++++ 2 files changed, 10 insertions(+), 26 deletions(-) delete mode 100644 src/float/Makefile.am create mode 100644 src/float/meson.build (limited to 'src/float') diff --git a/src/float/Makefile.am b/src/float/Makefile.am deleted file mode 100644 index d8d2675..0000000 --- a/src/float/Makefile.am +++ /dev/null @@ -1,26 +0,0 @@ -# Copyright (C) 2015 Gediminas Jakutis -# -# This Makefile.am is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; version 2.1 -# of the License. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA - -AM_CFLAGS = \ - -I$(top_srcdir)/include/ \ - -Wall \ - -Wextra - -noinst_LTLIBRARIES = librin_float.la - -librin_float_la_SOURCES = \ - float.c \ - float_private.h diff --git a/src/float/meson.build b/src/float/meson.build new file mode 100644 index 0000000..129053e --- /dev/null +++ b/src/float/meson.build @@ -0,0 +1,10 @@ +if get_option('float') + float_filenames = [ + 'float.c', + 'float_private.h', + ] +else + float_filenames = [] +endif + +float_sources = files(float_filenames) -- cgit v1.2.3