diff options
author | 2017-06-14 15:52:45 +0300 | |
---|---|---|
committer | 2017-06-14 15:52:45 +0300 | |
commit | f8b02b46dca8f3a2689104127bbe1c0736705ff4 (patch) | |
tree | d214fb520e68d8a79e94c61842bc9dd1099e151b /src/gpio | |
parent | 49c320f951b40ed3c722ceb53c320db98fcb7ecc (diff) | |
download | librin-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.am | 26 | ||||
-rw-r--r-- | src/gpio/meson.build | 10 |
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) |