cfc9829b6b62ff712cedb29e3e8de3f892265f98
[zfs.git] / Makefile.in
1 # Makefile.in generated by automake 1.11.1 from Makefile.am.
2 # @configure_input@
3
4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5 # 2003, 2004, 2005, 2006, 2007, 2008, 2009  Free Software Foundation,
6 # Inc.
7 # This Makefile.in is free software; the Free Software Foundation
8 # gives unlimited permission to copy and/or distribute it,
9 # with or without modifications, as long as this notice is preserved.
10
11 # This program is distributed in the hope that it will be useful,
12 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
13 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
14 # PARTICULAR PURPOSE.
15
16 @SET_MAKE@
17
18 VPATH = @srcdir@
19 pkgdatadir = $(datadir)/@PACKAGE@
20 pkgincludedir = $(includedir)/@PACKAGE@
21 pkglibdir = $(libdir)/@PACKAGE@
22 pkglibexecdir = $(libexecdir)/@PACKAGE@
23 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
24 install_sh_DATA = $(install_sh) -c -m 644
25 install_sh_PROGRAM = $(install_sh) -c
26 install_sh_SCRIPT = $(install_sh) -c
27 INSTALL_HEADER = $(INSTALL_DATA)
28 transform = $(program_transform_name)
29 NORMAL_INSTALL = :
30 PRE_INSTALL = :
31 POST_INSTALL = :
32 NORMAL_UNINSTALL = :
33 PRE_UNINSTALL = :
34 POST_UNINSTALL = :
35 build_triplet = @build@
36 host_triplet = @host@
37 target_triplet = @target@
38 DIST_COMMON = $(am__configure_deps) $(noinst_HEADERS) \
39         $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
40         $(srcdir)/zfs-modules.spec.in \
41         $(srcdir)/zfs-script-config.sh.in $(srcdir)/zfs.spec.in \
42         $(srcdir)/zfs_config.h.in $(top_srcdir)/config/deb.am \
43         $(top_srcdir)/config/rpm.am $(top_srcdir)/config/tgz.am \
44         $(top_srcdir)/configure $(top_srcdir)/module/Makefile.in \
45         $(top_srcdir)/module/avl/Makefile.in \
46         $(top_srcdir)/module/nvpair/Makefile.in \
47         $(top_srcdir)/module/unicode/Makefile.in \
48         $(top_srcdir)/module/zcommon/Makefile.in \
49         $(top_srcdir)/module/zfs/Makefile.in \
50         $(top_srcdir)/module/zpios/Makefile.in AUTHORS COPYING \
51         ChangeLog config/config.guess config/config.sub config/depcomp \
52         config/install-sh config/ltmain.sh config/missing
53 subdir = .
54 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
55 am__aclocal_m4_deps =  \
56         $(top_srcdir)/config/always-no-unused-but-set-variable.m4 \
57         $(top_srcdir)/config/kernel-bdev-block-device-operations.m4 \
58         $(top_srcdir)/config/kernel-bdev-logical-size.m4 \
59         $(top_srcdir)/config/kernel-bio-empty-barrier.m4 \
60         $(top_srcdir)/config/kernel-bio-end-io-t-args.m4 \
61         $(top_srcdir)/config/kernel-bio-failfast.m4 \
62         $(top_srcdir)/config/kernel-bio-rw-syncio.m4 \
63         $(top_srcdir)/config/kernel-blk-end-request.m4 \
64         $(top_srcdir)/config/kernel-blk-fetch-request.m4 \
65         $(top_srcdir)/config/kernel-blk-requeue-request.m4 \
66         $(top_srcdir)/config/kernel-blk-rq-bytes.m4 \
67         $(top_srcdir)/config/kernel-blk-rq-pos.m4 \
68         $(top_srcdir)/config/kernel-blk-rq-sectors.m4 \
69         $(top_srcdir)/config/kernel-blkdev-get-by-path.m4 \
70         $(top_srcdir)/config/kernel-check-disk-size-change.m4 \
71         $(top_srcdir)/config/kernel-d-obtain-alias.m4 \
72         $(top_srcdir)/config/kernel-evict-inode.m4 \
73         $(top_srcdir)/config/kernel-fmode-t.m4 \
74         $(top_srcdir)/config/kernel-fsync.m4 \
75         $(top_srcdir)/config/kernel-get-disk-ro.m4 \
76         $(top_srcdir)/config/kernel-insert-inode-locked.m4 \
77         $(top_srcdir)/config/kernel-invalidate-bdev-args.m4 \
78         $(top_srcdir)/config/kernel-kobj-name-len.m4 \
79         $(top_srcdir)/config/kernel-open-bdev-exclusive.m4 \
80         $(top_srcdir)/config/kernel-rq-for-each_segment.m4 \
81         $(top_srcdir)/config/kernel-rq-is_sync.m4 \
82         $(top_srcdir)/config/kernel-xattr-handler.m4 \
83         $(top_srcdir)/config/kernel.m4 \
84         $(top_srcdir)/config/user-arch.m4 \
85         $(top_srcdir)/config/user-frame-larger-than.m4 \
86         $(top_srcdir)/config/user-ioctl.m4 \
87         $(top_srcdir)/config/user-libblkid.m4 \
88         $(top_srcdir)/config/user-libuuid.m4 \
89         $(top_srcdir)/config/user-nptl_guard_within_stack.m4 \
90         $(top_srcdir)/config/user-selinux.m4 \
91         $(top_srcdir)/config/user-zlib.m4 $(top_srcdir)/config/user.m4 \
92         $(top_srcdir)/config/zfs-build.m4 \
93         $(top_srcdir)/config/zfs-meta.m4 $(top_srcdir)/configure.ac
94 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
95         $(ACLOCAL_M4)
96 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
97  configure.lineno config.status.lineno
98 mkinstalldirs = $(install_sh) -d
99 CONFIG_HEADER = zfs_config.h
100 CONFIG_CLEAN_FILES = module/Makefile module/avl/Makefile \
101         module/nvpair/Makefile module/unicode/Makefile \
102         module/zcommon/Makefile module/zfs/Makefile \
103         module/zpios/Makefile zfs.spec zfs-modules.spec \
104         zfs-script-config.sh
105 CONFIG_CLEAN_VPATH_FILES =
106 AM_V_GEN = $(am__v_GEN_$(V))
107 am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
108 am__v_GEN_0 = @echo "  GEN   " $@;
109 AM_V_at = $(am__v_at_$(V))
110 am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
111 am__v_at_0 = @
112 SOURCES =
113 DIST_SOURCES =
114 RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
115         html-recursive info-recursive install-data-recursive \
116         install-dvi-recursive install-exec-recursive \
117         install-html-recursive install-info-recursive \
118         install-pdf-recursive install-ps-recursive install-recursive \
119         installcheck-recursive installdirs-recursive pdf-recursive \
120         ps-recursive uninstall-recursive
121 HEADERS = $(noinst_HEADERS)
122 RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
123   distclean-recursive maintainer-clean-recursive
124 AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
125         $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
126         distdir dist dist-all distcheck
127 ETAGS = etags
128 CTAGS = ctags
129 DIST_SUBDIRS = dracut etc man scripts lib cmd module include
130 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
131 distdir = $(PACKAGE)-$(VERSION)
132 top_distdir = $(distdir)
133 am__remove_distdir = \
134   { test ! -d "$(distdir)" \
135     || { find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
136          && rm -fr "$(distdir)"; }; }
137 am__relativize = \
138   dir0=`pwd`; \
139   sed_first='s,^\([^/]*\)/.*$$,\1,'; \
140   sed_rest='s,^[^/]*/*,,'; \
141   sed_last='s,^.*/\([^/]*\)$$,\1,'; \
142   sed_butlast='s,/*[^/]*$$,,'; \
143   while test -n "$$dir1"; do \
144     first=`echo "$$dir1" | sed -e "$$sed_first"`; \
145     if test "$$first" != "."; then \
146       if test "$$first" = ".."; then \
147         dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
148         dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
149       else \
150         first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
151         if test "$$first2" = "$$first"; then \
152           dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
153         else \
154           dir2="../$$dir2"; \
155         fi; \
156         dir0="$$dir0"/"$$first"; \
157       fi; \
158     fi; \
159     dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
160   done; \
161   reldir="$$dir2"
162 DIST_ARCHIVES = $(distdir).tar.gz
163 GZIP_ENV = --best
164 distuninstallcheck_listfiles = find . -type f -print
165 distcleancheck_listfiles = find . -type f -print
166 ACLOCAL = @ACLOCAL@
167 ALIEN = @ALIEN@
168 ALIEN_VERSION = @ALIEN_VERSION@
169 AMTAR = @AMTAR@
170 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
171 AR = @AR@
172 AUTOCONF = @AUTOCONF@
173 AUTOHEADER = @AUTOHEADER@
174 AUTOMAKE = @AUTOMAKE@
175 AWK = @AWK@
176 CC = @CC@
177 CCAS = @CCAS@
178 CCASDEPMODE = @CCASDEPMODE@
179 CCASFLAGS = @CCASFLAGS@
180 CCDEPMODE = @CCDEPMODE@
181 CFLAGS = @CFLAGS@
182 CPP = @CPP@
183 CPPFLAGS = @CPPFLAGS@
184 CYGPATH_W = @CYGPATH_W@
185 DEBUG_CFLAGS = @DEBUG_CFLAGS@
186 DEBUG_STACKFLAGS = @DEBUG_STACKFLAGS@
187 DEFAULT_INIT_SCRIPT = @DEFAULT_INIT_SCRIPT@
188 DEFAULT_PACKAGE = @DEFAULT_PACKAGE@
189 DEFS = @DEFS@
190 DEPDIR = @DEPDIR@
191 DPKG = @DPKG@
192 DPKGBUILD = @DPKGBUILD@
193 DPKGBUILD_VERSION = @DPKGBUILD_VERSION@
194 DPKG_VERSION = @DPKG_VERSION@
195 DSYMUTIL = @DSYMUTIL@
196 DUMPBIN = @DUMPBIN@
197 ECHO_C = @ECHO_C@
198 ECHO_N = @ECHO_N@
199 ECHO_T = @ECHO_T@
200 EGREP = @EGREP@
201 EXEEXT = @EXEEXT@
202 FGREP = @FGREP@
203 FRAME_LARGER_THAN = @FRAME_LARGER_THAN@
204 GREP = @GREP@
205 HAVE_ALIEN = @HAVE_ALIEN@
206 HAVE_DPKG = @HAVE_DPKG@
207 HAVE_DPKGBUILD = @HAVE_DPKGBUILD@
208 HAVE_RPM = @HAVE_RPM@
209 HAVE_RPMBUILD = @HAVE_RPMBUILD@
210 INSTALL = @INSTALL@
211 INSTALL_DATA = @INSTALL_DATA@
212 INSTALL_PROGRAM = @INSTALL_PROGRAM@
213 INSTALL_SCRIPT = @INSTALL_SCRIPT@
214 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
215 KERNELCPPFLAGS = @KERNELCPPFLAGS@
216 KERNELMAKE_PARAMS = @KERNELMAKE_PARAMS@
217 LD = @LD@
218 LDFLAGS = @LDFLAGS@
219 LIBBLKID = @LIBBLKID@
220 LIBOBJS = @LIBOBJS@
221 LIBS = @LIBS@
222 LIBSELINUX = @LIBSELINUX@
223 LIBTOOL = @LIBTOOL@
224 LIBUUID = @LIBUUID@
225 LINUX = @LINUX@
226 LINUX_OBJ = @LINUX_OBJ@
227 LINUX_SYMBOLS = @LINUX_SYMBOLS@
228 LINUX_VERSION = @LINUX_VERSION@
229 LIPO = @LIPO@
230 LN_S = @LN_S@
231 LTLIBOBJS = @LTLIBOBJS@
232 MAINT = @MAINT@
233 MAKEINFO = @MAKEINFO@
234 MKDIR_P = @MKDIR_P@
235 NM = @NM@
236 NMEDIT = @NMEDIT@
237 NO_UNUSED_BUT_SET_VARIABLE = @NO_UNUSED_BUT_SET_VARIABLE@
238 OBJDUMP = @OBJDUMP@
239 OBJEXT = @OBJEXT@
240 OTOOL = @OTOOL@
241 OTOOL64 = @OTOOL64@
242 PACKAGE = @PACKAGE@
243 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
244 PACKAGE_NAME = @PACKAGE_NAME@
245 PACKAGE_STRING = @PACKAGE_STRING@
246 PACKAGE_TARNAME = @PACKAGE_TARNAME@
247 PACKAGE_VERSION = @PACKAGE_VERSION@
248 PATH_SEPARATOR = @PATH_SEPARATOR@
249 RANLIB = @RANLIB@
250 RPM = @RPM@
251 RPMBUILD = @RPMBUILD@
252 RPMBUILD_VERSION = @RPMBUILD_VERSION@
253 RPM_VERSION = @RPM_VERSION@
254 SED = @SED@
255 SET_MAKE = @SET_MAKE@
256 SHELL = @SHELL@
257 SPL = @SPL@
258 SPL_OBJ = @SPL_OBJ@
259 SPL_SYMBOLS = @SPL_SYMBOLS@
260 SPL_VERSION = @SPL_VERSION@
261 STRIP = @STRIP@
262 TARGET_ASM_DIR = @TARGET_ASM_DIR@
263 VENDOR = @VENDOR@
264 VERSION = @VERSION@
265 ZFS_CONFIG = @ZFS_CONFIG@
266 ZFS_META_ALIAS = @ZFS_META_ALIAS@
267 ZFS_META_AUTHOR = @ZFS_META_AUTHOR@
268 ZFS_META_DATA = @ZFS_META_DATA@
269 ZFS_META_LICENSE = @ZFS_META_LICENSE@
270 ZFS_META_LT_AGE = @ZFS_META_LT_AGE@
271 ZFS_META_LT_CURRENT = @ZFS_META_LT_CURRENT@
272 ZFS_META_LT_REVISION = @ZFS_META_LT_REVISION@
273 ZFS_META_NAME = @ZFS_META_NAME@
274 ZFS_META_RELEASE = @ZFS_META_RELEASE@
275 ZFS_META_VERSION = @ZFS_META_VERSION@
276 ZLIB = @ZLIB@
277 abs_builddir = @abs_builddir@
278 abs_srcdir = @abs_srcdir@
279 abs_top_builddir = @abs_top_builddir@
280 abs_top_srcdir = @abs_top_srcdir@
281 ac_ct_CC = @ac_ct_CC@
282 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
283 am__include = @am__include@
284 am__leading_dot = @am__leading_dot@
285 am__quote = @am__quote@
286 am__tar = @am__tar@
287 am__untar = @am__untar@
288 bindir = @bindir@
289 build = @build@
290 build_alias = @build_alias@
291 build_cpu = @build_cpu@
292 build_os = @build_os@
293 build_vendor = @build_vendor@
294 builddir = @builddir@
295 datadir = @datadir@
296 datarootdir = @datarootdir@
297 docdir = @docdir@
298 dvidir = @dvidir@
299 exec_prefix = @exec_prefix@
300 host = @host@
301 host_alias = @host_alias@
302 host_cpu = @host_cpu@
303 host_os = @host_os@
304 host_vendor = @host_vendor@
305 htmldir = @htmldir@
306 includedir = @includedir@
307 infodir = @infodir@
308 install_sh = @install_sh@
309 libdir = @libdir@
310 libexecdir = @libexecdir@
311 localedir = @localedir@
312 localstatedir = @localstatedir@
313 lt_ECHO = @lt_ECHO@
314 mandir = @mandir@
315 mkdir_p = @mkdir_p@
316 oldincludedir = @oldincludedir@
317 pdfdir = @pdfdir@
318 prefix = @prefix@
319 program_transform_name = @program_transform_name@
320 psdir = @psdir@
321 sbindir = @sbindir@
322 sharedstatedir = @sharedstatedir@
323 srcdir = @srcdir@
324 sysconfdir = @sysconfdir@
325 target = @target@
326 target_alias = @target_alias@
327 target_cpu = @target_cpu@
328 target_os = @target_os@
329 target_vendor = @target_vendor@
330 top_build_prefix = @top_build_prefix@
331 top_builddir = @top_builddir@
332 top_srcdir = @top_srcdir@
333 @CONFIG_USER_TRUE@USER_DIR = dracut etc man scripts lib cmd
334 @CONFIG_KERNEL_TRUE@KERNEL_DIR = module
335 SUBDIRS = $(USER_DIR) $(KERNEL_DIR) include
336 AUTOMAKE_OPTIONS = foreign
337 EXTRA_DIST = autogen.sh zfs.spec.in zfs-modules.spec.in \
338         config/config.awk config/rpm.am config/deb.am config/tgz.am \
339         META DISCLAIMER COPYRIGHT README.markdown OPENSOLARIS.LICENSE \
340         ZFS.RELEASE
341 noinst_HEADERS = zfs_config.h
342 all: zfs_config.h
343         $(MAKE) $(AM_MAKEFLAGS) all-recursive
344
345 .SUFFIXES:
346 am--refresh:
347         @:
348 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/config/rpm.am $(top_srcdir)/config/deb.am $(top_srcdir)/config/tgz.am $(am__configure_deps)
349         @for dep in $?; do \
350           case '$(am__configure_deps)' in \
351             *$$dep*) \
352               echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \
353               $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \
354                 && exit 0; \
355               exit 1;; \
356           esac; \
357         done; \
358         echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
359         $(am__cd) $(top_srcdir) && \
360           $(AUTOMAKE) --foreign Makefile
361 .PRECIOUS: Makefile
362 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
363         @case '$?' in \
364           *config.status*) \
365             echo ' $(SHELL) ./config.status'; \
366             $(SHELL) ./config.status;; \
367           *) \
368             echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
369             cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
370         esac;
371
372 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
373         $(SHELL) ./config.status --recheck
374
375 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
376         $(am__cd) $(srcdir) && $(AUTOCONF)
377 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
378         $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
379 $(am__aclocal_m4_deps):
380
381 zfs_config.h: stamp-h1
382         @if test ! -f $@; then \
383           rm -f stamp-h1; \
384           $(MAKE) $(AM_MAKEFLAGS) stamp-h1; \
385         else :; fi
386
387 stamp-h1: $(srcdir)/zfs_config.h.in $(top_builddir)/config.status
388         @rm -f stamp-h1
389         cd $(top_builddir) && $(SHELL) ./config.status zfs_config.h
390 $(srcdir)/zfs_config.h.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) 
391         ($(am__cd) $(top_srcdir) && $(AUTOHEADER))
392         rm -f stamp-h1
393         touch $@
394
395 distclean-hdr:
396         -rm -f zfs_config.h stamp-h1
397 module/Makefile: $(top_builddir)/config.status $(top_srcdir)/module/Makefile.in
398         cd $(top_builddir) && $(SHELL) ./config.status $@
399 module/avl/Makefile: $(top_builddir)/config.status $(top_srcdir)/module/avl/Makefile.in
400         cd $(top_builddir) && $(SHELL) ./config.status $@
401 module/nvpair/Makefile: $(top_builddir)/config.status $(top_srcdir)/module/nvpair/Makefile.in
402         cd $(top_builddir) && $(SHELL) ./config.status $@
403 module/unicode/Makefile: $(top_builddir)/config.status $(top_srcdir)/module/unicode/Makefile.in
404         cd $(top_builddir) && $(SHELL) ./config.status $@
405 module/zcommon/Makefile: $(top_builddir)/config.status $(top_srcdir)/module/zcommon/Makefile.in
406         cd $(top_builddir) && $(SHELL) ./config.status $@
407 module/zfs/Makefile: $(top_builddir)/config.status $(top_srcdir)/module/zfs/Makefile.in
408         cd $(top_builddir) && $(SHELL) ./config.status $@
409 module/zpios/Makefile: $(top_builddir)/config.status $(top_srcdir)/module/zpios/Makefile.in
410         cd $(top_builddir) && $(SHELL) ./config.status $@
411 zfs.spec: $(top_builddir)/config.status $(srcdir)/zfs.spec.in
412         cd $(top_builddir) && $(SHELL) ./config.status $@
413 zfs-modules.spec: $(top_builddir)/config.status $(srcdir)/zfs-modules.spec.in
414         cd $(top_builddir) && $(SHELL) ./config.status $@
415 zfs-script-config.sh: $(top_builddir)/config.status $(srcdir)/zfs-script-config.sh.in
416         cd $(top_builddir) && $(SHELL) ./config.status $@
417
418 mostlyclean-libtool:
419         -rm -f *.lo
420
421 clean-libtool:
422         -rm -rf .libs _libs
423
424 distclean-libtool:
425         -rm -f libtool config.lt
426
427 # This directory's subdirectories are mostly independent; you can cd
428 # into them and run `make' without going through this Makefile.
429 # To change the values of `make' variables: instead of editing Makefiles,
430 # (1) if the variable is set in `config.status', edit `config.status'
431 #     (which will cause the Makefiles to be regenerated when you run `make');
432 # (2) otherwise, pass the desired values on the `make' command line.
433 $(RECURSIVE_TARGETS):
434         @fail= failcom='exit 1'; \
435         for f in x $$MAKEFLAGS; do \
436           case $$f in \
437             *=* | --[!k]*);; \
438             *k*) failcom='fail=yes';; \
439           esac; \
440         done; \
441         dot_seen=no; \
442         target=`echo $@ | sed s/-recursive//`; \
443         list='$(SUBDIRS)'; for subdir in $$list; do \
444           echo "Making $$target in $$subdir"; \
445           if test "$$subdir" = "."; then \
446             dot_seen=yes; \
447             local_target="$$target-am"; \
448           else \
449             local_target="$$target"; \
450           fi; \
451           ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
452           || eval $$failcom; \
453         done; \
454         if test "$$dot_seen" = "no"; then \
455           $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
456         fi; test -z "$$fail"
457
458 $(RECURSIVE_CLEAN_TARGETS):
459         @fail= failcom='exit 1'; \
460         for f in x $$MAKEFLAGS; do \
461           case $$f in \
462             *=* | --[!k]*);; \
463             *k*) failcom='fail=yes';; \
464           esac; \
465         done; \
466         dot_seen=no; \
467         case "$@" in \
468           distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
469           *) list='$(SUBDIRS)' ;; \
470         esac; \
471         rev=''; for subdir in $$list; do \
472           if test "$$subdir" = "."; then :; else \
473             rev="$$subdir $$rev"; \
474           fi; \
475         done; \
476         rev="$$rev ."; \
477         target=`echo $@ | sed s/-recursive//`; \
478         for subdir in $$rev; do \
479           echo "Making $$target in $$subdir"; \
480           if test "$$subdir" = "."; then \
481             local_target="$$target-am"; \
482           else \
483             local_target="$$target"; \
484           fi; \
485           ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
486           || eval $$failcom; \
487         done && test -z "$$fail"
488 tags-recursive:
489         list='$(SUBDIRS)'; for subdir in $$list; do \
490           test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
491         done
492 ctags-recursive:
493         list='$(SUBDIRS)'; for subdir in $$list; do \
494           test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
495         done
496
497 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
498         list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
499         unique=`for i in $$list; do \
500             if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
501           done | \
502           $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
503               END { if (nonempty) { for (i in files) print i; }; }'`; \
504         mkid -fID $$unique
505
506 TAGS: tags-recursive $(HEADERS) $(SOURCES) zfs_config.h.in $(TAGS_DEPENDENCIES) \
507                 $(TAGS_FILES) $(LISP)
508         set x; \
509         here=`pwd`; \
510         if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
511           include_option=--etags-include; \
512           empty_fix=.; \
513         else \
514           include_option=--include; \
515           empty_fix=; \
516         fi; \
517         list='$(SUBDIRS)'; for subdir in $$list; do \
518           if test "$$subdir" = .; then :; else \
519             test ! -f $$subdir/TAGS || \
520               set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
521           fi; \
522         done; \
523         list='$(SOURCES) $(HEADERS) zfs_config.h.in $(LISP) $(TAGS_FILES)'; \
524         unique=`for i in $$list; do \
525             if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
526           done | \
527           $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
528               END { if (nonempty) { for (i in files) print i; }; }'`; \
529         shift; \
530         if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
531           test -n "$$unique" || unique=$$empty_fix; \
532           if test $$# -gt 0; then \
533             $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
534               "$$@" $$unique; \
535           else \
536             $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
537               $$unique; \
538           fi; \
539         fi
540 CTAGS: ctags-recursive $(HEADERS) $(SOURCES) zfs_config.h.in $(TAGS_DEPENDENCIES) \
541                 $(TAGS_FILES) $(LISP)
542         list='$(SOURCES) $(HEADERS) zfs_config.h.in $(LISP) $(TAGS_FILES)'; \
543         unique=`for i in $$list; do \
544             if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
545           done | \
546           $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
547               END { if (nonempty) { for (i in files) print i; }; }'`; \
548         test -z "$(CTAGS_ARGS)$$unique" \
549           || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
550              $$unique
551
552 GTAGS:
553         here=`$(am__cd) $(top_builddir) && pwd` \
554           && $(am__cd) $(top_srcdir) \
555           && gtags -i $(GTAGS_ARGS) "$$here"
556
557 distclean-tags:
558         -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
559
560 distdir: $(DISTFILES)
561         $(am__remove_distdir)
562         test -d "$(distdir)" || mkdir "$(distdir)"
563         @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
564         topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
565         list='$(DISTFILES)'; \
566           dist_files=`for file in $$list; do echo $$file; done | \
567           sed -e "s|^$$srcdirstrip/||;t" \
568               -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
569         case $$dist_files in \
570           */*) $(MKDIR_P) `echo "$$dist_files" | \
571                            sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
572                            sort -u` ;; \
573         esac; \
574         for file in $$dist_files; do \
575           if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
576           if test -d $$d/$$file; then \
577             dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
578             if test -d "$(distdir)/$$file"; then \
579               find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
580             fi; \
581             if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
582               cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
583               find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
584             fi; \
585             cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
586           else \
587             test -f "$(distdir)/$$file" \
588             || cp -p $$d/$$file "$(distdir)/$$file" \
589             || exit 1; \
590           fi; \
591         done
592         @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
593           if test "$$subdir" = .; then :; else \
594             test -d "$(distdir)/$$subdir" \
595             || $(MKDIR_P) "$(distdir)/$$subdir" \
596             || exit 1; \
597           fi; \
598         done
599         @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
600           if test "$$subdir" = .; then :; else \
601             dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
602             $(am__relativize); \
603             new_distdir=$$reldir; \
604             dir1=$$subdir; dir2="$(top_distdir)"; \
605             $(am__relativize); \
606             new_top_distdir=$$reldir; \
607             echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
608             echo "     am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
609             ($(am__cd) $$subdir && \
610               $(MAKE) $(AM_MAKEFLAGS) \
611                 top_distdir="$$new_top_distdir" \
612                 distdir="$$new_distdir" \
613                 am__remove_distdir=: \
614                 am__skip_length_check=: \
615                 am__skip_mode_fix=: \
616                 distdir) \
617               || exit 1; \
618           fi; \
619         done
620         -test -n "$(am__skip_mode_fix)" \
621         || find "$(distdir)" -type d ! -perm -755 \
622                 -exec chmod u+rwx,go+rx {} \; -o \
623           ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
624           ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
625           ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
626         || chmod -R a+r "$(distdir)"
627 dist-gzip: distdir
628         tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
629         $(am__remove_distdir)
630
631 dist-bzip2: distdir
632         tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
633         $(am__remove_distdir)
634
635 dist-lzma: distdir
636         tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
637         $(am__remove_distdir)
638
639 dist-xz: distdir
640         tardir=$(distdir) && $(am__tar) | xz -c >$(distdir).tar.xz
641         $(am__remove_distdir)
642
643 dist-tarZ: distdir
644         tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
645         $(am__remove_distdir)
646
647 dist-shar: distdir
648         shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
649         $(am__remove_distdir)
650
651 dist-zip: distdir
652         -rm -f $(distdir).zip
653         zip -rq $(distdir).zip $(distdir)
654         $(am__remove_distdir)
655
656 dist dist-all: distdir
657         tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
658         $(am__remove_distdir)
659
660 # This target untars the dist file and tries a VPATH configuration.  Then
661 # it guarantees that the distribution is self-contained by making another
662 # tarfile.
663 distcheck: dist
664         case '$(DIST_ARCHIVES)' in \
665         *.tar.gz*) \
666           GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
667         *.tar.bz2*) \
668           bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
669         *.tar.lzma*) \
670           lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\
671         *.tar.xz*) \
672           xz -dc $(distdir).tar.xz | $(am__untar) ;;\
673         *.tar.Z*) \
674           uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
675         *.shar.gz*) \
676           GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
677         *.zip*) \
678           unzip $(distdir).zip ;;\
679         esac
680         chmod -R a-w $(distdir); chmod a+w $(distdir)
681         mkdir $(distdir)/_build
682         mkdir $(distdir)/_inst
683         chmod a-w $(distdir)
684         test -d $(distdir)/_build || exit 0; \
685         dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
686           && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
687           && am__cwd=`pwd` \
688           && $(am__cd) $(distdir)/_build \
689           && ../configure --srcdir=.. --prefix="$$dc_install_base" \
690             $(DISTCHECK_CONFIGURE_FLAGS) \
691           && $(MAKE) $(AM_MAKEFLAGS) \
692           && $(MAKE) $(AM_MAKEFLAGS) dvi \
693           && $(MAKE) $(AM_MAKEFLAGS) check \
694           && $(MAKE) $(AM_MAKEFLAGS) install \
695           && $(MAKE) $(AM_MAKEFLAGS) installcheck \
696           && $(MAKE) $(AM_MAKEFLAGS) uninstall \
697           && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
698                 distuninstallcheck \
699           && chmod -R a-w "$$dc_install_base" \
700           && ({ \
701                (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
702                && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
703                && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
704                && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
705                     distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
706               } || { rm -rf "$$dc_destdir"; exit 1; }) \
707           && rm -rf "$$dc_destdir" \
708           && $(MAKE) $(AM_MAKEFLAGS) dist \
709           && rm -rf $(DIST_ARCHIVES) \
710           && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
711           && cd "$$am__cwd" \
712           || exit 1
713         $(am__remove_distdir)
714         @(echo "$(distdir) archives ready for distribution: "; \
715           list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
716           sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
717 distuninstallcheck:
718         @$(am__cd) '$(distuninstallcheck_dir)' \
719         && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
720            || { echo "ERROR: files left after uninstall:" ; \
721                 if test -n "$(DESTDIR)"; then \
722                   echo "  (check DESTDIR support)"; \
723                 fi ; \
724                 $(distuninstallcheck_listfiles) ; \
725                 exit 1; } >&2
726 distcleancheck: distclean
727         @if test '$(srcdir)' = . ; then \
728           echo "ERROR: distcleancheck can only run from a VPATH build" ; \
729           exit 1 ; \
730         fi
731         @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
732           || { echo "ERROR: files left in build directory after distclean:" ; \
733                $(distcleancheck_listfiles) ; \
734                exit 1; } >&2
735 check-am: all-am
736 check: check-recursive
737 all-am: Makefile $(HEADERS) zfs_config.h
738 installdirs: installdirs-recursive
739 installdirs-am:
740 install: install-recursive
741 install-exec: install-exec-recursive
742 install-data: install-data-recursive
743 uninstall: uninstall-recursive
744
745 install-am: all-am
746         @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
747
748 installcheck: installcheck-recursive
749 install-strip:
750         $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
751           install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
752           `test -z '$(STRIP)' || \
753             echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
754 mostlyclean-generic:
755
756 clean-generic:
757
758 distclean-generic:
759         -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
760         -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
761
762 maintainer-clean-generic:
763         @echo "This command is intended for maintainers to use"
764         @echo "it deletes files that may require special tools to rebuild."
765 @CONFIG_KERNEL_FALSE@install-data-local:
766 clean: clean-recursive
767
768 clean-am: clean-generic clean-libtool mostlyclean-am
769
770 distclean: distclean-recursive
771         -rm -f $(am__CONFIG_DISTCLEAN_FILES)
772         -rm -f Makefile
773 distclean-am: clean-am distclean-generic distclean-hdr \
774         distclean-libtool distclean-local distclean-tags
775
776 dvi: dvi-recursive
777
778 dvi-am:
779
780 html: html-recursive
781
782 html-am:
783
784 info: info-recursive
785
786 info-am:
787
788 install-data-am: install-data-local
789
790 install-dvi: install-dvi-recursive
791
792 install-dvi-am:
793
794 install-exec-am:
795
796 install-html: install-html-recursive
797
798 install-html-am:
799
800 install-info: install-info-recursive
801
802 install-info-am:
803
804 install-man:
805
806 install-pdf: install-pdf-recursive
807
808 install-pdf-am:
809
810 install-ps: install-ps-recursive
811
812 install-ps-am:
813
814 installcheck-am:
815
816 maintainer-clean: maintainer-clean-recursive
817         -rm -f $(am__CONFIG_DISTCLEAN_FILES)
818         -rm -rf $(top_srcdir)/autom4te.cache
819         -rm -f Makefile
820 maintainer-clean-am: distclean-am maintainer-clean-generic
821
822 mostlyclean: mostlyclean-recursive
823
824 mostlyclean-am: mostlyclean-generic mostlyclean-libtool
825
826 pdf: pdf-recursive
827
828 pdf-am:
829
830 ps: ps-recursive
831
832 ps-am:
833
834 uninstall-am:
835
836 .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all \
837         ctags-recursive install-am install-strip tags-recursive
838
839 .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
840         all all-am am--refresh check check-am clean clean-generic \
841         clean-libtool ctags ctags-recursive dist dist-all dist-bzip2 \
842         dist-gzip dist-lzma dist-shar dist-tarZ dist-xz dist-zip \
843         distcheck distclean distclean-generic distclean-hdr \
844         distclean-libtool distclean-local distclean-tags \
845         distcleancheck distdir distuninstallcheck dvi dvi-am html \
846         html-am info info-am install install-am install-data \
847         install-data-am install-data-local install-dvi install-dvi-am \
848         install-exec install-exec-am install-html install-html-am \
849         install-info install-info-am install-man install-pdf \
850         install-pdf-am install-ps install-ps-am install-strip \
851         installcheck installcheck-am installdirs installdirs-am \
852         maintainer-clean maintainer-clean-generic mostlyclean \
853         mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
854         tags tags-recursive uninstall uninstall-am
855
856 srpm-modules:
857         $(MAKE) $(AM_MAKEFLAGS) pkg="${PACKAGE}-modules" srpm-common
858
859 srpm-utils:
860         $(MAKE) $(AM_MAKEFLAGS) pkg="${PACKAGE}" srpm-common
861
862 srpm: srpm-modules srpm-utils
863
864 rpm-modules: srpm-modules
865         $(MAKE) $(AM_MAKEFLAGS) pkg="${PACKAGE}-modules" rpm-common
866
867 rpm-utils: srpm-utils
868         $(MAKE) $(AM_MAKEFLAGS) pkg="${PACKAGE}" rpm-common
869
870 rpm-modules: srpm-modules
871
872 rpm: rpm-modules rpm-utils
873
874 rpm-local:
875         @(if test "${HAVE_RPMBUILD}" = "no"; then \
876                 echo -e "\n" \
877         "*** Required util ${RPMBUILD} missing.  Please install the\n" \
878         "*** package for your distribution which provides ${RPMBUILD},\n" \
879         "*** re-run configure, and try again.\n"; \
880                 exit 1; \
881         fi; \
882         mkdir -p $(rpmbuild)/TMP && \
883         mkdir -p $(rpmbuild)/BUILD && \
884         mkdir -p $(rpmbuild)/RPMS && \
885         mkdir -p $(rpmbuild)/SRPMS && \
886         mkdir -p $(rpmbuild)/SPECS && \
887         cp $(rpmspec) $(rpmbuild)/SPECS && \
888         mkdir -p $(rpmbuild)/SOURCES && \
889         cp $(distdir).tar.gz $(rpmbuild)/SOURCES)
890
891 srpm-common: dist
892         rpmpkg=$(pkg)-$(ZFS_META_VERSION)-$(ZFS_META_RELEASE).src.rpm; \
893         rpmspec=$(pkg).spec; \
894         rpmbuild=`mktemp -t -d $(PACKAGE)-build-$$USER-XXXXXXXX`; \
895         $(MAKE) $(AM_MAKEFLAGS) \
896                 rpmbuild="$$rpmbuild" \
897                 rpmspec="$$rpmspec" \
898                 rpm-local || exit 1; \
899         $(RPMBUILD) \
900                 --define "_tmppath $$rpmbuild/TMP" \
901                 --define "_topdir $$rpmbuild" \
902                 --define "build_src_rpm 1" \
903                 --define "dist %{nil}" \
904                 --nodeps -bs $$rpmbuild/SPECS/$$rpmspec || exit 1; \
905         cp $$rpmbuild/SRPMS/$$rpmpkg . || exit 1; \
906         $(RM) -R $$rpmbuild
907
908 rpm-common: 
909         rpmpkg=$(pkg)-$(ZFS_META_VERSION)-$(ZFS_META_RELEASE).src.rpm; \
910         rpmspec=$(pkg).spec; \
911         rpmbuild=`mktemp -t -d $(PACKAGE)-build-$$USER-XXXXXXXX`; \
912         $(MAKE) $(AM_MAKEFLAGS) \
913                 rpmbuild="$$rpmbuild" \
914                 rpmspec="$$rpmspec" \
915                 rpm-local || exit 1; \
916         $(RPMBUILD) \
917                 --define "_tmppath $$rpmbuild/TMP" \
918                 --define "_topdir $$rpmbuild" \
919                 --define "dist %{nil}" \
920                 --define "require_kdir $(LINUX)" \
921                 --define "require_kobj $(LINUX_OBJ)" \
922                 --define "require_kver $(LINUX_VERSION)" \
923                 --define "require_spldir $(SPL)" \
924                 --define "require_splobj $(SPL_OBJ)" \
925                 --define "require_splver $(SPL_VERSION)" \
926                 --nodeps --rebuild $$rpmpkg || exit 1; \
927         cp $$rpmbuild/RPMS/*/* . || exit 1; \
928         $(RM) -R $$rpmbuild
929 deb-local:
930         @(if test "${HAVE_DPKGBUILD}" = "no"; then \
931                 echo -e "\n" \
932         "*** Required util ${DPKGBUILD} missing.  Please install the\n" \
933         "*** package for your distribution which provides ${DPKGBUILD},\n" \
934         "*** re-run configure, and try again.\n"; \
935                 exit 1; \
936         fi; \
937         if test "${HAVE_ALIEN}" = "no"; then \
938                 echo -e "\n" \
939         "*** Required util ${ALIEN} missing.  Please install the\n" \
940         "*** package for your distribution which provides ${ALIEN},\n" \
941         "*** re-run configure, and try again.\n"; \
942                 exit 1; \
943         fi)
944
945 deb-modules: deb-local rpm-modules
946         name=${PACKAGE}-modules; \
947         version=${ZFS_META_VERSION}-${ZFS_META_RELEASE}; \
948         release=`echo ${LINUX_VERSION} | $(SED) -e "s/-/_/g"`; \
949         arch=`$(RPM) -qp $${name}-$${version}.src.rpm --qf %{arch}`; \
950         pkg1=$${name}-$${version}_$${release}.$${arch}.rpm; \
951         pkg2=$${name}-devel-$${version}_$${release}.$${arch}.rpm; \
952         fakeroot $(ALIEN) --scripts --to-deb $$pkg1 $$pkg2; \
953         $(RM) $$pkg1 $$pkg2
954
955 deb-utils: deb-local rpm-utils
956         name=${PACKAGE}; \
957         version=${ZFS_META_VERSION}-${ZFS_META_RELEASE}; \
958         arch=`$(RPM) -qp $${name}-$${version}.src.rpm --qf %{arch}`; \
959         pkg1=$${name}-$${version}.$${arch}.rpm; \
960         pkg2=$${name}-devel-$${version}.$${arch}.rpm; \
961         pkg3=$${name}-test-$${version}.$${arch}.rpm; \
962         pkg4=$${name}-dracut-$${version}.$${arch}.rpm; \
963         fakeroot $(ALIEN) --scripts --to-deb $$pkg1 $$pkg2 $$pkg3 $$pkg4; \
964         $(RM) $$pkg1 $$pkg2 $$pkg3 $$pkg4
965
966 deb: deb-modules deb-utils
967 tgz-local:
968         @(if test "${HAVE_ALIEN}" = "no"; then \
969                 echo -e "\n" \
970         "*** Required util ${ALIEN} missing.  Please install the\n" \
971         "*** package for your distribution which provides ${ALIEN},\n" \
972         "*** re-run configure, and try again.\n"; \
973                 exit 1; \
974         fi)
975
976 tgz-modules: tgz-local rpm-modules
977         name=${PACKAGE}-modules; \
978         version=${ZFS_META_VERSION}-${ZFS_META_RELEASE}; \
979         release=`echo ${LINUX_VERSION} | $(SED) -e "s/-/_/g"`; \
980         arch=`$(RPM) -qp $${name}-$${version}.src.rpm --qf %{arch}`; \
981         pkg1=$${name}-$${version}_$${release}.$${arch}.rpm; \
982         pkg2=$${name}-devel-$${version}_$${release}.$${arch}.rpm; \
983         fakeroot $(ALIEN) --scripts --to-tgz $$pkg1 $$pkg2; \
984         $(RM) $$pkg1 $$pkg2
985
986 tgz-utils: tgz-local rpm-utils
987         name=${PACKAGE}; \
988         version=${ZFS_META_VERSION}-${ZFS_META_RELEASE}; \
989         arch=`$(RPM) -qp $${name}-$${version}.src.rpm --qf %{arch}`; \
990         pkg1=$${name}-$${version}.$${arch}.rpm; \
991         pkg2=$${name}-devel-$${version}.$${arch}.rpm; \
992         pkg3=$${name}-test-$${version}.$${arch}.rpm; \
993         fakeroot $(ALIEN) --scripts --to-tgz $$pkg1 $$pkg2 $$pkg3; \
994         $(RM) $$pkg1 $$pkg2 $$pkg3
995
996 tgz: tgz-modules tgz-utils
997
998 distclean-local::
999         -$(RM) -R autom4te*.cache
1000         -find . \( -name SCCS -o -name BitKeeper -o -name .svn -o -name CVS \
1001                 -o -name .pc -o -name .hg -o -name .git \) -prune -o \
1002                 \( -name '*.orig' -o -name '*.rej' -o -name '*~' \
1003                 -o -name '*.bak' -o -name '#*#' -o -name '.*.orig' \
1004                 -o -name '.*.rej' -o -name '.script-config' -o -size 0 \
1005                 -o -name '*%' -o -name '.*.cmd' -o -name 'core' \
1006                 -o -name 'Makefile' -o -name 'Module.symvers' \
1007                 -o -name '*.order' -o -name '*.markers' \) \
1008                 -type f -print | xargs $(RM)
1009
1010 @CONFIG_KERNEL_TRUE@install-data-local:
1011 @CONFIG_KERNEL_TRUE@    destname=zfs-$(ZFS_META_VERSION)/$(LINUX_VERSION); \
1012 @CONFIG_KERNEL_TRUE@    instdest=$(DESTDIR)/usr/src/$$destname; \
1013 @CONFIG_KERNEL_TRUE@    echo "$(ZFS_META_VERSION)" >$$instdest/zfs.release; \
1014 @CONFIG_KERNEL_TRUE@    for instfile in $(noinst_HEADERS) module/$(LINUX_SYMBOLS); do \
1015 @CONFIG_KERNEL_TRUE@            $(INSTALL) -D $$instfile $$instdest/$$instfile; \
1016 @CONFIG_KERNEL_TRUE@    done
1017
1018 ctags:
1019         $(RM) $(top_srcdir)/tags
1020         find $(top_srcdir) -name .git -prune -o -name '*.[hc]' | xargs ctags
1021
1022 etags:
1023         $(RM) $(top_srcdir)/TAGS
1024         find $(top_srcdir) -name .pc -prune -o -name '*.[hc]' | xargs etags -a
1025
1026 tags: ctags etags
1027
1028 pkg: @DEFAULT_PACKAGE@
1029 pkg-modules: @DEFAULT_PACKAGE@-modules
1030 pkg-utils: @DEFAULT_PACKAGE@-utils
1031
1032 # Tell versions [3.59,3.63) of GNU make to not export all variables.
1033 # Otherwise a system limit (for SysV at least) may be exceeded.
1034 .NOEXPORT: