blob: 52ff73660406f3d606cbcb9e2f1c84bff877e874 (
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
|
diff --git a/Makefile.am b/Makefile.am
index d587a092..18df2ad1 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -42,31 +42,50 @@ SUBDIRS = \
common/utils \
lib \
docs \
- examples \
valgrind \
. \
tests \
- python \
- sh \
info \
copy \
dump \
- fuse \
misc \
- ublk \
- ocaml \
- ocaml/examples \
- ocaml/tests \
- golang \
- golang/examples \
- rust \
interop \
fuzzing \
bash-completion \
$(NULL)
+if HAVE_FUSE
+SUBDIRS += fuse
+endif
+
+if HAVE_UBLK
+SUBDIRS += ublk
+endif
+
+if HAVE_GOLANG
+SUBDIRS += golang
+endif
+
+if HAVE_OCAML
+SUBDIRS += ocaml ocaml/tests
+endif
+
+if HAVE_PYTHON
+SUBDIRS += python sh
+endif
+
+if HAVE_RUST
+SUBDIRS += rust
+endif
+
if BUILD_EXAMPLES
SUBDIRS += examples
+if HAVE_OCAML
+SUBDIRS += ocaml/examples
+endif
+if HAVE_GOLANG
+SUBDIRS += golang/examples
+endif
endif
noinst_SCRIPTS = run
|