-
Notifications
You must be signed in to change notification settings - Fork 110
/
Makefile.am
58 lines (38 loc) · 974 Bytes
/
Makefile.am
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
# SPDX-License-Identifier: GPL-2.0-or-later
# SPDX-FileCopyrightText: 2017-2021 Bartosz Golaszewski <[email protected]>
# SPDX-FileCopyrightText: 2022 Bartosz Golaszewski <[email protected]>
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 man
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 HAS_DOXYGEN
doc: Doxyfile
$(AM_V_GEN)doxygen Doxyfile
.PHONY: doc
clean-local:
rm -rf doc
EXTRA_DIST += Doxyfile
endif