54935b4f81f9d9dcd7e5c8089eb66d5397940f9b
[zfs.git] / scripts / zpios-test / Makefile.am
1 pkglibexecdir = $(libexecdir)/@PACKAGE@/zpios-test
2 dist_pkglibexec_SCRIPTS = \
3         $(top_srcdir)/scripts/zpios-test/16th-8192rc-4rs-1cs-4off.sh \
4         $(top_srcdir)/scripts/zpios-test/1th-16rc-4rs-1cs-4off.sh \
5         $(top_srcdir)/scripts/zpios-test/1x256th-65536rc-4rs-1cs-4off.sh \
6         $(top_srcdir)/scripts/zpios-test/256th-65536rc-4rs-1cs-4off.sh \
7         $(top_srcdir)/scripts/zpios-test/4th-1024rc-4rs-1cs-4off.sh \
8         $(top_srcdir)/scripts/zpios-test/large.sh \
9         $(top_srcdir)/scripts/zpios-test/large-thread-survey.sh \
10         $(top_srcdir)/scripts/zpios-test/medium.sh \
11         $(top_srcdir)/scripts/zpios-test/small.sh \
12         $(top_srcdir)/scripts/zpios-test/tiny.sh \
13         $(top_srcdir)/scripts/zpios-test/lustre.sh
14
15 all:
16         @list='$(dist_pkglibexec_SCRIPTS)'; \
17         for file in $$list; do \
18                 link=$$(basename $$file); \
19                 if [ ! -e $$link ]; then \
20                         $(LN_S) $$file $$link; \
21                 fi \
22         done
23
24 clean:
25         @list='$(dist_pkglibexec_SCRIPTS)'; \
26         for file in $$list; do \
27                 link=$$(basename $$file); \
28                 if [ -L $$link ]; then \
29                         $(RM) $$link; \
30                 fi \
31         done