]> git.proxmox.com Git - mirror_zfs-debian.git/blame - scripts/Makefile.am
Remove NPTL_GUARD_WITHIN_STACK
[mirror_zfs-debian.git] / scripts / Makefile.am
CommitLineData
a5b4d635 1SUBDIRS = zpool-config zpool-layout zpios-test zpios-profile
6283f55e 2
c9c0d073 3pkglibexecdir = $(libexecdir)/@PACKAGE@
6283f55e
BB
4dist_pkglibexec_SCRIPTS = \
5 $(top_builddir)/scripts/common.sh \
6 $(top_srcdir)/scripts/zconfig.sh \
0ee8118b 7 $(top_srcdir)/scripts/zfault.sh \
6283f55e
BB
8 $(top_srcdir)/scripts/zfs.sh \
9 $(top_srcdir)/scripts/zpool-create.sh \
10 $(top_srcdir)/scripts/zpios.sh \
11 $(top_srcdir)/scripts/zpios-sanity.sh \
645fb9cc
TF
12 $(top_srcdir)/scripts/zpios-survey.sh \
13 $(top_srcdir)/scripts/smb.sh
6283f55e
BB
14
15ZFS=$(top_builddir)/scripts/zfs.sh
16ZCONFIG=$(top_builddir)/scripts/zconfig.sh
0ee8118b 17ZFAULT=$(top_builddir)/scripts/zfault.sh
6283f55e
BB
18ZTEST=$(top_builddir)/cmd/ztest/ztest
19ZPIOS_SANITY=$(top_builddir)/scripts/zpios-sanity.sh
20
21all:
22 @list='$(dist_pkglibexec_SCRIPTS)'; \
23 for file in $$list; do \
24 link=$$(basename $$file); \
25 if [ ! -e $$link ]; then \
26 $(LN_S) $$file $$link; \
27 fi \
28 done
c9c0d073 29
6283f55e
BB
30clean:
31 @list='$(dist_pkglibexec_SCRIPTS)'; \
32 for file in $$list; do \
33 link=$$(basename $$file); \
34 if [ -L $$link ]; then \
35 $(RM) $$link; \
36 fi \
37 done
c9c0d073
BB
38
39check:
7dc3830c 40 @$(ZFS) -u
c9c0d073
BB
41 @echo
42 @echo -n "===================================="
43 @echo -n " ZTEST "
44 @echo "===================================="
45 @echo
46 @$(ZFS)
47 @$(ZTEST) -V
48 @$(ZFS) -u
49 @echo
50 @echo
51 @echo -n "==================================="
52 @echo -n " ZCONFIG "
53 @echo "==================================="
54 @echo
0ee8118b
BB
55 @$(ZCONFIG) -c
56 @echo
57 @echo -n "==================================="
58 @echo -n " ZFAULT "
59 @echo "==================================="
60 @echo
61 @$(ZFAULT) -c
c9c0d073 62 @echo
302ef151
BB
63 @echo -n "===================================="
64 @echo -n " ZPIOS "
65 @echo "===================================="
66 @echo
67 @$(ZFS)
68 @$(ZPIOS_SANITY)
69 @$(ZFS) -u
70 @echo