1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62
|
# SPDX-License-Identifier: GPL-2.0-or-later
# SPDX-FileCopyrightText: 2017-2021 Bartosz Golaszewski <bartekgola@gmail.com>
# SPDX-FileCopyrightText: 2022 Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
ACLOCAL_AMFLAGS = -I m4
AUTOMAKE_OPTIONS = foreign
SUBDIRS = include lib contrib
EXTRA_DIST = \
LICENSES/GPL-2.0-or-later.txt \
LICENSES/Apache-2.0.txt \
LICENSES/LGPL-2.1-or-later.txt \
LICENSES/CC-BY-SA-4.0.txt \
LICENSES/CC0-1.0.txt \
LICENSES/GPL-2.0-only.txt \
LICENSES/Linux-syscall-note.txt \
LICENSES/BSD-3-Clause.txt
if WITH_EXAMPLES
SUBDIRS += examples
endif
if WITH_TOOLS
SUBDIRS += tools
endif
if WITH_TESTS
SUBDIRS += tests
endif
# Build bindings after core tests. When building tests for bindings, we need
# libgpiosim to be already present.
SUBDIRS += bindings
if WITH_DBUS
SUBDIRS += dbus
endif
if WITH_MANPAGES
SUBDIRS += man
endif
if WITH_DOCS
SUBDIRS += docs
docs:
$(MAKE) -C docs docs
.PHONY: docs
endif
|