aboutsummaryrefslogtreecommitdiffstats
path: root/src/gpio
diff options
context:
space:
mode:
authorGravatar Gediminas Jakutis <gediminas@varciai.lt> 2017-06-14 15:52:45 +0300
committerGravatar Gediminas Jakutis <gediminas@varciai.lt> 2017-06-14 15:52:45 +0300
commitf8b02b46dca8f3a2689104127bbe1c0736705ff4 (patch)
treed214fb520e68d8a79e94c61842bc9dd1099e151b /src/gpio
parent49c320f951b40ed3c722ceb53c320db98fcb7ecc (diff)
downloadlibrin-f8b02b46dca8f3a2689104127bbe1c0736705ff4.tar.gz
librin-f8b02b46dca8f3a2689104127bbe1c0736705ff4.tar.bz2
librin-f8b02b46dca8f3a2689104127bbe1c0736705ff4.zip
meson: drop automake support && add initial meson support.
Diffstat (limited to 'src/gpio')
-rw-r--r--src/gpio/Makefile.am26
-rw-r--r--src/gpio/meson.build10
2 files changed, 10 insertions, 26 deletions
diff --git a/src/gpio/Makefile.am b/src/gpio/Makefile.am
deleted file mode 100644
index e009cab..0000000
--- a/src/gpio/Makefile.am
+++ /dev/null
@@ -1,26 +0,0 @@
-# Copyright (C) 2016 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_gpio.la
-
-librin_gpio_la_SOURCES = \
- gpio.c \
- gpio_private.h
diff --git a/src/gpio/meson.build b/src/gpio/meson.build
new file mode 100644
index 0000000..82887cb
--- /dev/null
+++ b/src/gpio/meson.build
@@ -0,0 +1,10 @@
+if get_option('gpio')
+ gpio_filenames = [
+ 'gpio.c',
+ 'gpio_private.h',
+ ]
+else
+ gpio_filenames = []
+endif
+
+gpio_sources = files(gpio_filenames)