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