summaryrefslogtreecommitdiff
path: root/Makefile.am
blob: 299a5fb47140a11016a85b79209b26954d33b513 (plain)
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
63
64
65
66
67
68
69
70
ACLOCAL_AMFLAGS = -I m4

AM_CPPFLAGS = $(WARN_CFLAGS) -D_GNU_SOURCE -std=gnu99 -I$(top_srcdir)/include \
		-include $(top_builddir)/include/config.h

if WITH_XATTR
AM_CPPFLAGS += -DWITH_XATTR
endif

if WITH_LZO
AM_CPPFLAGS += -DWITH_LZO
endif

if WITH_ZSTD
AM_CPPFLAGS += -DWITH_ZSTD
endif

if WITH_SELINUX
AM_CPPFLAGS += -DWITH_SELINUX
endif

if WITH_CRYPTO
AM_CPPFLAGS += -DWITH_CRYPTO
endif

if WITH_GETRANDOM
AM_CPPFLAGS += -DWITH_GETRANDOM
endif

sbin_PROGRAMS =
sbin_SCRIPTS =
check_PROGRAMS =
noinst_LIBRARIES =
noinst_PROGRAMS =
noinst_SCRIPTS =
dist_man1_MANS =
dist_man8_MANS =

testdir = @TESTBINDIR@
test_PROGRAMS =
test_SCRIPTS =

TESTS =
EXTRA_DIST = COPYING CHANGELOG.md README.txt

include lib/Makemodule.am
include ubi-utils/Makemodule.am
include misc-utils/Makemodule.am
include nand-utils/Makemodule.am
include nor-utils/Makemodule.am

if BUILD_UBIFS
include ubifs-utils/Makemodule.am
endif

if BUILD_JFFSX
include jffsX-utils/Makemodule.am
endif

if BUILD_TESTS
include tests/ubi-tests/Makemodule.am
include tests/jittertest/Makemodule.am
include tests/checkfs/Makemodule.am
include tests/fs-tests/Makemodule.am
include tests/mtd-tests/Makemodule.am
endif

if UNIT_TESTS
include tests/unittests/Makemodule.am
endif