# SPDX-License-Identifier: GPL-2.0-or-later # SPDX-FileCopyrightText: 2017-2021 Bartosz Golaszewski # SPDX-FileCopyrightText: 2022 Bartosz Golaszewski 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