aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/zpool-config/Makefile.am
blob: 0c7e0714bec264408742cc2ec492e59e151ec0cc (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
pkglibexecdir = $(libexecdir)/@PACKAGE@/zpool-config
dist_pkglibexec_SCRIPTS = \
        $(top_srcdir)/scripts/zpool-config/dm0-raid0.sh \
        $(top_srcdir)/scripts/zpool-config/dragon-raid0-1x70.sh \
        $(top_srcdir)/scripts/zpool-config/dragon-raid10-35x2.sh \
        $(top_srcdir)/scripts/zpool-config/dragon-raidz2-7x10.sh \
        $(top_srcdir)/scripts/zpool-config/dragon-raidz-7x10.sh \
        $(top_srcdir)/scripts/zpool-config/file-raid0.sh \
        $(top_srcdir)/scripts/zpool-config/file-raid10.sh \
        $(top_srcdir)/scripts/zpool-config/file-raidz2.sh \
        $(top_srcdir)/scripts/zpool-config/file-raidz.sh \
        $(top_srcdir)/scripts/zpool-config/hda-raid0.sh \
        $(top_srcdir)/scripts/zpool-config/lo-raid0.sh \
        $(top_srcdir)/scripts/zpool-config/lo-raid10.sh \
        $(top_srcdir)/scripts/zpool-config/lo-raidz2.sh \
        $(top_srcdir)/scripts/zpool-config/lo-raidz.sh \
        $(top_srcdir)/scripts/zpool-config/md0-raid10.sh \
        $(top_srcdir)/scripts/zpool-config/md0-raid5.sh \
        $(top_srcdir)/scripts/zpool-config/ram0-raid0.sh \
        $(top_srcdir)/scripts/zpool-config/sda-raid0.sh \
        $(top_srcdir)/scripts/zpool-config/supermicro-raid0-1x16.sh \
        $(top_srcdir)/scripts/zpool-config/supermicro-raid10-8x2.sh \
        $(top_srcdir)/scripts/zpool-config/supermicro-raidz2-4x4.sh \
        $(top_srcdir)/scripts/zpool-config/supermicro-raidz-4x4.sh \
        $(top_srcdir)/scripts/zpool-config/x4550-raid0-1x48.sh \
        $(top_srcdir)/scripts/zpool-config/x4550-raid10-24x2.sh \
        $(top_srcdir)/scripts/zpool-config/x4550-raidz2-8x6.sh \
        $(top_srcdir)/scripts/zpool-config/x4550-raidz-8x6.sh

all:
	@list='$(dist_pkglibexec_SCRIPTS)'; \
	for file in $$list; do \
		link=$$(basename $$file); \
		if [ ! -e $$link ]; then \
			$(LN_S) $$file $$link; \
		fi \
	done

clean:
	@list='$(dist_pkglibexec_SCRIPTS)'; \
	for file in $$list; do \
		link=$$(basename $$file); \
		if [ -L $$link ]; then \
			$(RM) $$link; \
		fi \
	done