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