1 # Makefile.in generated by automake 1.11.1 from Makefile.am.
4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5 # 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
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.
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
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)
35 build_triplet = @build@
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
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-failfast.m4 \
61 $(top_srcdir)/config/kernel-bio-rw-syncio.m4 \
62 $(top_srcdir)/config/kernel-blk-end-request.m4 \
63 $(top_srcdir)/config/kernel-blk-fetch-request.m4 \
64 $(top_srcdir)/config/kernel-blk-requeue-request.m4 \
65 $(top_srcdir)/config/kernel-blk-rq-bytes.m4 \
66 $(top_srcdir)/config/kernel-blk-rq-pos.m4 \
67 $(top_srcdir)/config/kernel-blk-rq-sectors.m4 \
68 $(top_srcdir)/config/kernel-fmode-t.m4 \
69 $(top_srcdir)/config/kernel-fsync.m4 \
70 $(top_srcdir)/config/kernel-get-disk-ro.m4 \
71 $(top_srcdir)/config/kernel-invalidate-bdev-args.m4 \
72 $(top_srcdir)/config/kernel-kobj-name-len.m4 \
73 $(top_srcdir)/config/kernel-open-bdev-exclusive.m4 \
74 $(top_srcdir)/config/kernel-rq-for-each_segment.m4 \
75 $(top_srcdir)/config/kernel-rq-is_sync.m4 \
76 $(top_srcdir)/config/kernel-xattr-handler.m4 \
77 $(top_srcdir)/config/kernel.m4 \
78 $(top_srcdir)/config/user-arch.m4 \
79 $(top_srcdir)/config/user-frame-larger-than.m4 \
80 $(top_srcdir)/config/user-ioctl.m4 \
81 $(top_srcdir)/config/user-libblkid.m4 \
82 $(top_srcdir)/config/user-libuuid.m4 \
83 $(top_srcdir)/config/user-nptl_guard_within_stack.m4 \
84 $(top_srcdir)/config/user-selinux.m4 \
85 $(top_srcdir)/config/user-zlib.m4 $(top_srcdir)/config/user.m4 \
86 $(top_srcdir)/config/zfs-build.m4 \
87 $(top_srcdir)/config/zfs-meta.m4 $(top_srcdir)/configure.ac
88 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
90 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
91 configure.lineno config.status.lineno
92 mkinstalldirs = $(install_sh) -d
93 CONFIG_HEADER = zfs_config.h
94 CONFIG_CLEAN_FILES = module/Makefile module/avl/Makefile \
95 module/nvpair/Makefile module/unicode/Makefile \
96 module/zcommon/Makefile module/zfs/Makefile \
97 module/zpios/Makefile zfs.spec zfs-modules.spec \
99 CONFIG_CLEAN_VPATH_FILES =
100 AM_V_GEN = $(am__v_GEN_$(V))
101 am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
102 am__v_GEN_0 = @echo " GEN " $@;
103 AM_V_at = $(am__v_at_$(V))
104 am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
108 RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
109 html-recursive info-recursive install-data-recursive \
110 install-dvi-recursive install-exec-recursive \
111 install-html-recursive install-info-recursive \
112 install-pdf-recursive install-ps-recursive install-recursive \
113 installcheck-recursive installdirs-recursive pdf-recursive \
114 ps-recursive uninstall-recursive
115 HEADERS = $(noinst_HEADERS)
116 RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
117 distclean-recursive maintainer-clean-recursive
118 AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
119 $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
120 distdir dist dist-all distcheck
123 DIST_SUBDIRS = etc man scripts lib cmd module include
124 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
125 distdir = $(PACKAGE)-$(VERSION)
126 top_distdir = $(distdir)
127 am__remove_distdir = \
128 { test ! -d "$(distdir)" \
129 || { find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
130 && rm -fr "$(distdir)"; }; }
133 sed_first='s,^\([^/]*\)/.*$$,\1,'; \
134 sed_rest='s,^[^/]*/*,,'; \
135 sed_last='s,^.*/\([^/]*\)$$,\1,'; \
136 sed_butlast='s,/*[^/]*$$,,'; \
137 while test -n "$$dir1"; do \
138 first=`echo "$$dir1" | sed -e "$$sed_first"`; \
139 if test "$$first" != "."; then \
140 if test "$$first" = ".."; then \
141 dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
142 dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
144 first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
145 if test "$$first2" = "$$first"; then \
146 dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
150 dir0="$$dir0"/"$$first"; \
153 dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
156 DIST_ARCHIVES = $(distdir).tar.gz
158 distuninstallcheck_listfiles = find . -type f -print
159 distcleancheck_listfiles = find . -type f -print
162 ALIEN_VERSION = @ALIEN_VERSION@
164 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
166 AUTOCONF = @AUTOCONF@
167 AUTOHEADER = @AUTOHEADER@
168 AUTOMAKE = @AUTOMAKE@
172 CCASDEPMODE = @CCASDEPMODE@
173 CCASFLAGS = @CCASFLAGS@
174 CCDEPMODE = @CCDEPMODE@
177 CPPFLAGS = @CPPFLAGS@
178 CYGPATH_W = @CYGPATH_W@
179 DEBUG_CFLAGS = @DEBUG_CFLAGS@
180 DEBUG_STACKFLAGS = @DEBUG_STACKFLAGS@
181 DEFAULT_PACKAGE = @DEFAULT_PACKAGE@
185 DPKGBUILD = @DPKGBUILD@
186 DPKGBUILD_VERSION = @DPKGBUILD_VERSION@
187 DPKG_VERSION = @DPKG_VERSION@
188 DSYMUTIL = @DSYMUTIL@
196 FRAME_LARGER_THAN = @FRAME_LARGER_THAN@
198 HAVE_ALIEN = @HAVE_ALIEN@
199 HAVE_DPKG = @HAVE_DPKG@
200 HAVE_DPKGBUILD = @HAVE_DPKGBUILD@
201 HAVE_RPM = @HAVE_RPM@
202 HAVE_RPMBUILD = @HAVE_RPMBUILD@
204 INSTALL_DATA = @INSTALL_DATA@
205 INSTALL_PROGRAM = @INSTALL_PROGRAM@
206 INSTALL_SCRIPT = @INSTALL_SCRIPT@
207 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
208 KERNELCPPFLAGS = @KERNELCPPFLAGS@
209 KERNELMAKE_PARAMS = @KERNELMAKE_PARAMS@
212 LIBBLKID = @LIBBLKID@
215 LIBSELINUX = @LIBSELINUX@
219 LINUX_OBJ = @LINUX_OBJ@
220 LINUX_SYMBOLS = @LINUX_SYMBOLS@
221 LINUX_VERSION = @LINUX_VERSION@
224 LTLIBOBJS = @LTLIBOBJS@
226 MAKEINFO = @MAKEINFO@
235 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
236 PACKAGE_NAME = @PACKAGE_NAME@
237 PACKAGE_STRING = @PACKAGE_STRING@
238 PACKAGE_TARNAME = @PACKAGE_TARNAME@
239 PACKAGE_VERSION = @PACKAGE_VERSION@
240 PATH_SEPARATOR = @PATH_SEPARATOR@
243 RPMBUILD = @RPMBUILD@
244 RPMBUILD_VERSION = @RPMBUILD_VERSION@
245 RPM_VERSION = @RPM_VERSION@
247 SET_MAKE = @SET_MAKE@
251 SPL_SYMBOLS = @SPL_SYMBOLS@
252 SPL_VERSION = @SPL_VERSION@
254 TARGET_ASM_DIR = @TARGET_ASM_DIR@
257 ZFS_CONFIG = @ZFS_CONFIG@
258 ZFS_META_ALIAS = @ZFS_META_ALIAS@
259 ZFS_META_AUTHOR = @ZFS_META_AUTHOR@
260 ZFS_META_DATA = @ZFS_META_DATA@
261 ZFS_META_LICENSE = @ZFS_META_LICENSE@
262 ZFS_META_LT_AGE = @ZFS_META_LT_AGE@
263 ZFS_META_LT_CURRENT = @ZFS_META_LT_CURRENT@
264 ZFS_META_LT_REVISION = @ZFS_META_LT_REVISION@
265 ZFS_META_NAME = @ZFS_META_NAME@
266 ZFS_META_RELEASE = @ZFS_META_RELEASE@
267 ZFS_META_VERSION = @ZFS_META_VERSION@
269 abs_builddir = @abs_builddir@
270 abs_srcdir = @abs_srcdir@
271 abs_top_builddir = @abs_top_builddir@
272 abs_top_srcdir = @abs_top_srcdir@
273 ac_ct_CC = @ac_ct_CC@
274 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
275 am__include = @am__include@
276 am__leading_dot = @am__leading_dot@
277 am__quote = @am__quote@
279 am__untar = @am__untar@
282 build_alias = @build_alias@
283 build_cpu = @build_cpu@
284 build_os = @build_os@
285 build_vendor = @build_vendor@
286 builddir = @builddir@
288 datarootdir = @datarootdir@
291 exec_prefix = @exec_prefix@
293 host_alias = @host_alias@
294 host_cpu = @host_cpu@
296 host_vendor = @host_vendor@
298 includedir = @includedir@
300 install_sh = @install_sh@
302 libexecdir = @libexecdir@
303 localedir = @localedir@
304 localstatedir = @localstatedir@
308 oldincludedir = @oldincludedir@
311 program_transform_name = @program_transform_name@
314 sharedstatedir = @sharedstatedir@
316 sysconfdir = @sysconfdir@
318 target_alias = @target_alias@
319 target_cpu = @target_cpu@
320 target_os = @target_os@
321 target_vendor = @target_vendor@
322 top_build_prefix = @top_build_prefix@
323 top_builddir = @top_builddir@
324 top_srcdir = @top_srcdir@
325 @CONFIG_USER_TRUE@USER_DIR = etc man scripts lib cmd
326 @CONFIG_KERNEL_TRUE@KERNEL_DIR = module
327 SUBDIRS = $(USER_DIR) $(KERNEL_DIR) include
328 AUTOMAKE_OPTIONS = foreign
329 EXTRA_DIST = autogen.sh zfs.spec.in zfs-modules.spec.in \
330 config/config.awk config/rpm.am config/deb.am config/tgz.am \
331 META DISCLAIMER COPYRIGHT README.markdown OPENSOLARIS.LICENSE \
333 noinst_HEADERS = zfs_config.h
335 $(MAKE) $(AM_MAKEFLAGS) all-recursive
340 $(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)
342 case '$(am__configure_deps)' in \
344 echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \
345 $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \
350 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
351 $(am__cd) $(top_srcdir) && \
352 $(AUTOMAKE) --foreign Makefile
354 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
357 echo ' $(SHELL) ./config.status'; \
358 $(SHELL) ./config.status;; \
360 echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
361 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
364 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
365 $(SHELL) ./config.status --recheck
367 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
368 $(am__cd) $(srcdir) && $(AUTOCONF)
369 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
370 $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
371 $(am__aclocal_m4_deps):
373 zfs_config.h: stamp-h1
374 @if test ! -f $@; then \
376 $(MAKE) $(AM_MAKEFLAGS) stamp-h1; \
379 stamp-h1: $(srcdir)/zfs_config.h.in $(top_builddir)/config.status
381 cd $(top_builddir) && $(SHELL) ./config.status zfs_config.h
382 $(srcdir)/zfs_config.h.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
383 ($(am__cd) $(top_srcdir) && $(AUTOHEADER))
388 -rm -f zfs_config.h stamp-h1
389 module/Makefile: $(top_builddir)/config.status $(top_srcdir)/module/Makefile.in
390 cd $(top_builddir) && $(SHELL) ./config.status $@
391 module/avl/Makefile: $(top_builddir)/config.status $(top_srcdir)/module/avl/Makefile.in
392 cd $(top_builddir) && $(SHELL) ./config.status $@
393 module/nvpair/Makefile: $(top_builddir)/config.status $(top_srcdir)/module/nvpair/Makefile.in
394 cd $(top_builddir) && $(SHELL) ./config.status $@
395 module/unicode/Makefile: $(top_builddir)/config.status $(top_srcdir)/module/unicode/Makefile.in
396 cd $(top_builddir) && $(SHELL) ./config.status $@
397 module/zcommon/Makefile: $(top_builddir)/config.status $(top_srcdir)/module/zcommon/Makefile.in
398 cd $(top_builddir) && $(SHELL) ./config.status $@
399 module/zfs/Makefile: $(top_builddir)/config.status $(top_srcdir)/module/zfs/Makefile.in
400 cd $(top_builddir) && $(SHELL) ./config.status $@
401 module/zpios/Makefile: $(top_builddir)/config.status $(top_srcdir)/module/zpios/Makefile.in
402 cd $(top_builddir) && $(SHELL) ./config.status $@
403 zfs.spec: $(top_builddir)/config.status $(srcdir)/zfs.spec.in
404 cd $(top_builddir) && $(SHELL) ./config.status $@
405 zfs-modules.spec: $(top_builddir)/config.status $(srcdir)/zfs-modules.spec.in
406 cd $(top_builddir) && $(SHELL) ./config.status $@
407 zfs-script-config.sh: $(top_builddir)/config.status $(srcdir)/zfs-script-config.sh.in
408 cd $(top_builddir) && $(SHELL) ./config.status $@
417 -rm -f libtool config.lt
419 # This directory's subdirectories are mostly independent; you can cd
420 # into them and run `make' without going through this Makefile.
421 # To change the values of `make' variables: instead of editing Makefiles,
422 # (1) if the variable is set in `config.status', edit `config.status'
423 # (which will cause the Makefiles to be regenerated when you run `make');
424 # (2) otherwise, pass the desired values on the `make' command line.
425 $(RECURSIVE_TARGETS):
426 @fail= failcom='exit 1'; \
427 for f in x $$MAKEFLAGS; do \
430 *k*) failcom='fail=yes';; \
434 target=`echo $@ | sed s/-recursive//`; \
435 list='$(SUBDIRS)'; for subdir in $$list; do \
436 echo "Making $$target in $$subdir"; \
437 if test "$$subdir" = "."; then \
439 local_target="$$target-am"; \
441 local_target="$$target"; \
443 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
446 if test "$$dot_seen" = "no"; then \
447 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
450 $(RECURSIVE_CLEAN_TARGETS):
451 @fail= failcom='exit 1'; \
452 for f in x $$MAKEFLAGS; do \
455 *k*) failcom='fail=yes';; \
460 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
461 *) list='$(SUBDIRS)' ;; \
463 rev=''; for subdir in $$list; do \
464 if test "$$subdir" = "."; then :; else \
465 rev="$$subdir $$rev"; \
469 target=`echo $@ | sed s/-recursive//`; \
470 for subdir in $$rev; do \
471 echo "Making $$target in $$subdir"; \
472 if test "$$subdir" = "."; then \
473 local_target="$$target-am"; \
475 local_target="$$target"; \
477 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
479 done && test -z "$$fail"
481 list='$(SUBDIRS)'; for subdir in $$list; do \
482 test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
485 list='$(SUBDIRS)'; for subdir in $$list; do \
486 test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
489 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
490 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
491 unique=`for i in $$list; do \
492 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
494 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
495 END { if (nonempty) { for (i in files) print i; }; }'`; \
498 TAGS: tags-recursive $(HEADERS) $(SOURCES) zfs_config.h.in $(TAGS_DEPENDENCIES) \
499 $(TAGS_FILES) $(LISP)
502 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
503 include_option=--etags-include; \
506 include_option=--include; \
509 list='$(SUBDIRS)'; for subdir in $$list; do \
510 if test "$$subdir" = .; then :; else \
511 test ! -f $$subdir/TAGS || \
512 set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
515 list='$(SOURCES) $(HEADERS) zfs_config.h.in $(LISP) $(TAGS_FILES)'; \
516 unique=`for i in $$list; do \
517 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
519 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
520 END { if (nonempty) { for (i in files) print i; }; }'`; \
522 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
523 test -n "$$unique" || unique=$$empty_fix; \
524 if test $$# -gt 0; then \
525 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
528 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
532 CTAGS: ctags-recursive $(HEADERS) $(SOURCES) zfs_config.h.in $(TAGS_DEPENDENCIES) \
533 $(TAGS_FILES) $(LISP)
534 list='$(SOURCES) $(HEADERS) zfs_config.h.in $(LISP) $(TAGS_FILES)'; \
535 unique=`for i in $$list; do \
536 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
538 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
539 END { if (nonempty) { for (i in files) print i; }; }'`; \
540 test -z "$(CTAGS_ARGS)$$unique" \
541 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
545 here=`$(am__cd) $(top_builddir) && pwd` \
546 && $(am__cd) $(top_srcdir) \
547 && gtags -i $(GTAGS_ARGS) "$$here"
550 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
552 distdir: $(DISTFILES)
553 $(am__remove_distdir)
554 test -d "$(distdir)" || mkdir "$(distdir)"
555 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
556 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
557 list='$(DISTFILES)'; \
558 dist_files=`for file in $$list; do echo $$file; done | \
559 sed -e "s|^$$srcdirstrip/||;t" \
560 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
561 case $$dist_files in \
562 */*) $(MKDIR_P) `echo "$$dist_files" | \
563 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
566 for file in $$dist_files; do \
567 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
568 if test -d $$d/$$file; then \
569 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
570 if test -d "$(distdir)/$$file"; then \
571 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
573 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
574 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
575 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
577 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
579 test -f "$(distdir)/$$file" \
580 || cp -p $$d/$$file "$(distdir)/$$file" \
584 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
585 if test "$$subdir" = .; then :; else \
586 test -d "$(distdir)/$$subdir" \
587 || $(MKDIR_P) "$(distdir)/$$subdir" \
591 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
592 if test "$$subdir" = .; then :; else \
593 dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
595 new_distdir=$$reldir; \
596 dir1=$$subdir; dir2="$(top_distdir)"; \
598 new_top_distdir=$$reldir; \
599 echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
600 echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
601 ($(am__cd) $$subdir && \
602 $(MAKE) $(AM_MAKEFLAGS) \
603 top_distdir="$$new_top_distdir" \
604 distdir="$$new_distdir" \
605 am__remove_distdir=: \
606 am__skip_length_check=: \
607 am__skip_mode_fix=: \
612 -test -n "$(am__skip_mode_fix)" \
613 || find "$(distdir)" -type d ! -perm -755 \
614 -exec chmod u+rwx,go+rx {} \; -o \
615 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
616 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
617 ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
618 || chmod -R a+r "$(distdir)"
620 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
621 $(am__remove_distdir)
624 tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
625 $(am__remove_distdir)
628 tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
629 $(am__remove_distdir)
632 tardir=$(distdir) && $(am__tar) | xz -c >$(distdir).tar.xz
633 $(am__remove_distdir)
636 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
637 $(am__remove_distdir)
640 shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
641 $(am__remove_distdir)
644 -rm -f $(distdir).zip
645 zip -rq $(distdir).zip $(distdir)
646 $(am__remove_distdir)
648 dist dist-all: distdir
649 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
650 $(am__remove_distdir)
652 # This target untars the dist file and tries a VPATH configuration. Then
653 # it guarantees that the distribution is self-contained by making another
656 case '$(DIST_ARCHIVES)' in \
658 GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
660 bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
662 lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\
664 xz -dc $(distdir).tar.xz | $(am__untar) ;;\
666 uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
668 GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
670 unzip $(distdir).zip ;;\
672 chmod -R a-w $(distdir); chmod a+w $(distdir)
673 mkdir $(distdir)/_build
674 mkdir $(distdir)/_inst
676 test -d $(distdir)/_build || exit 0; \
677 dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
678 && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
680 && $(am__cd) $(distdir)/_build \
681 && ../configure --srcdir=.. --prefix="$$dc_install_base" \
682 $(DISTCHECK_CONFIGURE_FLAGS) \
683 && $(MAKE) $(AM_MAKEFLAGS) \
684 && $(MAKE) $(AM_MAKEFLAGS) dvi \
685 && $(MAKE) $(AM_MAKEFLAGS) check \
686 && $(MAKE) $(AM_MAKEFLAGS) install \
687 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
688 && $(MAKE) $(AM_MAKEFLAGS) uninstall \
689 && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
691 && chmod -R a-w "$$dc_install_base" \
693 (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
694 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
695 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
696 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
697 distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
698 } || { rm -rf "$$dc_destdir"; exit 1; }) \
699 && rm -rf "$$dc_destdir" \
700 && $(MAKE) $(AM_MAKEFLAGS) dist \
701 && rm -rf $(DIST_ARCHIVES) \
702 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
705 $(am__remove_distdir)
706 @(echo "$(distdir) archives ready for distribution: "; \
707 list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
708 sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
710 @$(am__cd) '$(distuninstallcheck_dir)' \
711 && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
712 || { echo "ERROR: files left after uninstall:" ; \
713 if test -n "$(DESTDIR)"; then \
714 echo " (check DESTDIR support)"; \
716 $(distuninstallcheck_listfiles) ; \
718 distcleancheck: distclean
719 @if test '$(srcdir)' = . ; then \
720 echo "ERROR: distcleancheck can only run from a VPATH build" ; \
723 @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
724 || { echo "ERROR: files left in build directory after distclean:" ; \
725 $(distcleancheck_listfiles) ; \
728 check: check-recursive
729 all-am: Makefile $(HEADERS) zfs_config.h
730 installdirs: installdirs-recursive
732 install: install-recursive
733 install-exec: install-exec-recursive
734 install-data: install-data-recursive
735 uninstall: uninstall-recursive
738 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
740 installcheck: installcheck-recursive
742 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
743 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
744 `test -z '$(STRIP)' || \
745 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
751 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
752 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
754 maintainer-clean-generic:
755 @echo "This command is intended for maintainers to use"
756 @echo "it deletes files that may require special tools to rebuild."
757 @CONFIG_KERNEL_FALSE@install-data-local:
758 clean: clean-recursive
760 clean-am: clean-generic clean-libtool mostlyclean-am
762 distclean: distclean-recursive
763 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
765 distclean-am: clean-am distclean-generic distclean-hdr \
766 distclean-libtool distclean-local distclean-tags
780 install-data-am: install-data-local
782 install-dvi: install-dvi-recursive
788 install-html: install-html-recursive
792 install-info: install-info-recursive
798 install-pdf: install-pdf-recursive
802 install-ps: install-ps-recursive
808 maintainer-clean: maintainer-clean-recursive
809 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
810 -rm -rf $(top_srcdir)/autom4te.cache
812 maintainer-clean-am: distclean-am maintainer-clean-generic
814 mostlyclean: mostlyclean-recursive
816 mostlyclean-am: mostlyclean-generic mostlyclean-libtool
828 .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all \
829 ctags-recursive install-am install-strip tags-recursive
831 .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
832 all all-am am--refresh check check-am clean clean-generic \
833 clean-libtool ctags ctags-recursive dist dist-all dist-bzip2 \
834 dist-gzip dist-lzma dist-shar dist-tarZ dist-xz dist-zip \
835 distcheck distclean distclean-generic distclean-hdr \
836 distclean-libtool distclean-local distclean-tags \
837 distcleancheck distdir distuninstallcheck dvi dvi-am html \
838 html-am info info-am install install-am install-data \
839 install-data-am install-data-local install-dvi install-dvi-am \
840 install-exec install-exec-am install-html install-html-am \
841 install-info install-info-am install-man install-pdf \
842 install-pdf-am install-ps install-ps-am install-strip \
843 installcheck installcheck-am installdirs installdirs-am \
844 maintainer-clean maintainer-clean-generic mostlyclean \
845 mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
846 tags tags-recursive uninstall uninstall-am
849 $(MAKE) $(AM_MAKEFLAGS) pkg="${PACKAGE}-modules" srpm-common
852 $(MAKE) $(AM_MAKEFLAGS) pkg="${PACKAGE}" srpm-common
854 srpm: srpm-modules srpm-utils
856 rpm-modules: srpm-modules
857 $(MAKE) $(AM_MAKEFLAGS) pkg="${PACKAGE}-modules" rpm-common
859 rpm-utils: srpm-utils
860 $(MAKE) $(AM_MAKEFLAGS) pkg="${PACKAGE}" rpm-common
862 rpm-modules: srpm-modules
864 rpm: rpm-modules rpm-utils
867 @(if test "${HAVE_RPMBUILD}" = "no"; then \
869 "*** Required util ${RPMBUILD} missing. Please install the\n" \
870 "*** package for your distribution which provides ${RPMBUILD},\n" \
871 "*** re-run configure, and try again.\n"; \
874 mkdir -p $(rpmbuild)/TMP && \
875 mkdir -p $(rpmbuild)/BUILD && \
876 mkdir -p $(rpmbuild)/RPMS && \
877 mkdir -p $(rpmbuild)/SRPMS && \
878 mkdir -p $(rpmbuild)/SPECS && \
879 cp $(rpmspec) $(rpmbuild)/SPECS && \
880 mkdir -p $(rpmbuild)/SOURCES && \
881 cp $(distdir).tar.gz $(rpmbuild)/SOURCES)
884 rpmpkg=$(pkg)-$(ZFS_META_VERSION)-$(ZFS_META_RELEASE).src.rpm; \
885 rpmspec=$(pkg).spec; \
886 rpmbuild=`mktemp -t -d $(PACKAGE)-build-$$USER-XXXXXXXX`; \
887 $(MAKE) $(AM_MAKEFLAGS) \
888 rpmbuild="$$rpmbuild" \
889 rpmspec="$$rpmspec" \
890 rpm-local || exit 1; \
892 --define "_tmppath $$rpmbuild/TMP" \
893 --define "_topdir $$rpmbuild" \
894 --define "build_src_rpm 1" \
895 --define "dist %{nil}" \
896 --nodeps -bs $$rpmbuild/SPECS/$$rpmspec || exit 1; \
897 cp $$rpmbuild/SRPMS/$$rpmpkg . || exit 1; \
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; \
909 --define "_tmppath $$rpmbuild/TMP" \
910 --define "_topdir $$rpmbuild" \
911 --define "dist %{nil}" \
912 --define "require_kdir $(LINUX)" \
913 --define "require_kobj $(LINUX_OBJ)" \
914 --define "require_kver $(LINUX_VERSION)" \
915 --define "require_spldir $(SPL)" \
916 --define "require_splobj $(SPL_OBJ)" \
917 --define "require_splver $(SPL_VERSION)" \
918 --nodeps --rebuild $$rpmpkg || exit 1; \
919 cp $$rpmbuild/RPMS/*/* . || exit 1; \
922 @(if test "${HAVE_DPKGBUILD}" = "no"; then \
924 "*** Required util ${DPKGBUILD} missing. Please install the\n" \
925 "*** package for your distribution which provides ${DPKGBUILD},\n" \
926 "*** re-run configure, and try again.\n"; \
929 if test "${HAVE_ALIEN}" = "no"; then \
931 "*** Required util ${ALIEN} missing. Please install the\n" \
932 "*** package for your distribution which provides ${ALIEN},\n" \
933 "*** re-run configure, and try again.\n"; \
937 deb-modules: deb-local rpm-modules
938 name=${PACKAGE}-modules; \
939 version=${ZFS_META_VERSION}-${ZFS_META_RELEASE}; \
940 release=`echo ${LINUX_VERSION} | $(SED) -e "s/-/_/g"`; \
941 arch=`$(RPM) -qp $${name}-$${version}.src.rpm --qf %{arch}`; \
942 pkg1=$${name}-$${version}_$${release}.$${arch}.rpm; \
943 pkg2=$${name}-devel-$${version}_$${release}.$${arch}.rpm; \
944 fakeroot $(ALIEN) --scripts --to-deb $$pkg1 $$pkg2; \
947 deb-utils: deb-local rpm-utils
949 version=${ZFS_META_VERSION}-${ZFS_META_RELEASE}; \
950 arch=`$(RPM) -qp $${name}-$${version}.src.rpm --qf %{arch}`; \
951 pkg1=$${name}-$${version}.$${arch}.rpm; \
952 pkg2=$${name}-devel-$${version}.$${arch}.rpm; \
953 pkg3=$${name}-test-$${version}.$${arch}.rpm; \
954 fakeroot $(ALIEN) --scripts --to-deb $$pkg1 $$pkg2 $$pkg3; \
955 $(RM) $$pkg1 $$pkg2 $$pkg3
957 deb: deb-modules deb-utils
959 @(if test "${HAVE_ALIEN}" = "no"; then \
961 "*** Required util ${ALIEN} missing. Please install the\n" \
962 "*** package for your distribution which provides ${ALIEN},\n" \
963 "*** re-run configure, and try again.\n"; \
967 tgz-modules: tgz-local rpm-modules
968 name=${PACKAGE}-modules; \
969 version=${ZFS_META_VERSION}-${ZFS_META_RELEASE}; \
970 release=`echo ${LINUX_VERSION} | $(SED) -e "s/-/_/g"`; \
971 arch=`$(RPM) -qp $${name}-$${version}.src.rpm --qf %{arch}`; \
972 pkg1=$${name}-$${version}_$${release}.$${arch}.rpm; \
973 pkg2=$${name}-devel-$${version}_$${release}.$${arch}.rpm; \
974 fakeroot $(ALIEN) --scripts --to-tgz $$pkg1 $$pkg2; \
977 tgz-utils: tgz-local rpm-utils
979 version=${ZFS_META_VERSION}-${ZFS_META_RELEASE}; \
980 arch=`$(RPM) -qp $${name}-$${version}.src.rpm --qf %{arch}`; \
981 pkg1=$${name}-$${version}.$${arch}.rpm; \
982 pkg2=$${name}-devel-$${version}.$${arch}.rpm; \
983 pkg3=$${name}-test-$${version}.$${arch}.rpm; \
984 fakeroot $(ALIEN) --scripts --to-tgz $$pkg1 $$pkg2 $$pkg3; \
985 $(RM) $$pkg1 $$pkg2 $$pkg3
987 tgz: tgz-modules tgz-utils
990 -$(RM) -R autom4te*.cache
991 -find . \( -name SCCS -o -name BitKeeper -o -name .svn -o -name CVS \
992 -o -name .pc -o -name .hg -o -name .git \) -prune -o \
993 \( -name '*.orig' -o -name '*.rej' -o -name '*~' \
994 -o -name '*.bak' -o -name '#*#' -o -name '.*.orig' \
995 -o -name '.*.rej' -o -name '.script-config' -o -size 0 \
996 -o -name '*%' -o -name '.*.cmd' -o -name 'core' \
997 -o -name 'Makefile' -o -name 'Module.symvers' \
998 -o -name '*.order' -o -name '*.markers' \) \
999 -type f -print | xargs $(RM)
1001 @CONFIG_KERNEL_TRUE@install-data-local:
1002 @CONFIG_KERNEL_TRUE@ destname=zfs-$(ZFS_META_VERSION)/$(LINUX_VERSION); \
1003 @CONFIG_KERNEL_TRUE@ instdest=$(DESTDIR)/usr/src/$$destname; \
1004 @CONFIG_KERNEL_TRUE@ echo "$(ZFS_META_VERSION)" >$$instdest/zfs.release; \
1005 @CONFIG_KERNEL_TRUE@ for instfile in $(noinst_HEADERS) module/$(LINUX_SYMBOLS); do \
1006 @CONFIG_KERNEL_TRUE@ $(INSTALL) -D $$instfile $$instdest/$$instfile; \
1007 @CONFIG_KERNEL_TRUE@ done
1010 $(RM) $(top_srcdir)/tags
1011 find $(top_srcdir) -name .git -prune -o -name '*.[hc]' | xargs ctags
1014 $(RM) $(top_srcdir)/TAGS
1015 find $(top_srcdir) -name .pc -prune -o -name '*.[hc]' | xargs etags -a
1019 pkg: @DEFAULT_PACKAGE@
1020 pkg-modules: @DEFAULT_PACKAGE@-modules
1021 pkg-utils: @DEFAULT_PACKAGE@-utils
1023 # Tell versions [3.59,3.63) of GNU make to not export all variables.
1024 # Otherwise a system limit (for SysV at least) may be exceeded.