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 $(srcdir)/zfs.spec.in \
41 $(srcdir)/zfs_config.h.in $(top_srcdir)/config/rpm.am \
42 $(top_srcdir)/configure $(top_srcdir)/module/Makefile.in \
43 $(top_srcdir)/module/avl/Makefile.in \
44 $(top_srcdir)/module/nvpair/Makefile.in \
45 $(top_srcdir)/module/unicode/Makefile.in \
46 $(top_srcdir)/module/zcommon/Makefile.in \
47 $(top_srcdir)/module/zfs/Makefile.in \
48 $(top_srcdir)/module/zpios/Makefile.in AUTHORS COPYING \
51 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
52 am__aclocal_m4_deps = \
53 $(top_srcdir)/config/kernel-bdev-block-device-operations.m4 \
54 $(top_srcdir)/config/kernel-bdev-logical-size.m4 \
55 $(top_srcdir)/config/kernel-bio-empty-barrier.m4 \
56 $(top_srcdir)/config/kernel-bio-end-io-t-args.m4 \
57 $(top_srcdir)/config/kernel-bio-rw-syncio.m4 \
58 $(top_srcdir)/config/kernel-blk-end-request.m4 \
59 $(top_srcdir)/config/kernel-blk-fetch-request.m4 \
60 $(top_srcdir)/config/kernel-blk-requeue-request.m4 \
61 $(top_srcdir)/config/kernel-blk-rq-bytes.m4 \
62 $(top_srcdir)/config/kernel-blk-rq-pos.m4 \
63 $(top_srcdir)/config/kernel-blk-rq-sectors.m4 \
64 $(top_srcdir)/config/kernel-fmode-t.m4 \
65 $(top_srcdir)/config/kernel-get-disk-ro.m4 \
66 $(top_srcdir)/config/kernel-invalidate-bdev-args.m4 \
67 $(top_srcdir)/config/kernel-kobj-name-len.m4 \
68 $(top_srcdir)/config/kernel-open-bdev-exclusive.m4 \
69 $(top_srcdir)/config/kernel-rq-for-each_segment.m4 \
70 $(top_srcdir)/config/kernel-rq-is_sync.m4 \
71 $(top_srcdir)/config/kernel.m4 \
72 $(top_srcdir)/config/user-arch.m4 \
73 $(top_srcdir)/config/user-frame-larger-than.m4 \
74 $(top_srcdir)/config/user-ioctl.m4 \
75 $(top_srcdir)/config/user-libblkid.m4 \
76 $(top_srcdir)/config/user-libshare.m4 \
77 $(top_srcdir)/config/user-libuuid.m4 \
78 $(top_srcdir)/config/user-nptl_guard_within_stack.m4 \
79 $(top_srcdir)/config/user-zlib.m4 $(top_srcdir)/config/user.m4 \
80 $(top_srcdir)/config/zfs-build.m4 \
81 $(top_srcdir)/config/zfs-meta.m4 $(top_srcdir)/configure.ac
82 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
84 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
85 configure.lineno config.status.lineno
86 mkinstalldirs = $(install_sh) -d
87 CONFIG_HEADER = zfs_config.h
88 CONFIG_CLEAN_FILES = module/Makefile module/avl/Makefile \
89 module/nvpair/Makefile module/unicode/Makefile \
90 module/zcommon/Makefile module/zfs/Makefile \
91 module/zpios/Makefile zfs.spec zfs-modules.spec
92 CONFIG_CLEAN_VPATH_FILES =
93 AM_V_GEN = $(am__v_GEN_$(V))
94 am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
95 am__v_GEN_0 = @echo " GEN " $@;
96 AM_V_at = $(am__v_at_$(V))
97 am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
101 RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
102 html-recursive info-recursive install-data-recursive \
103 install-dvi-recursive install-exec-recursive \
104 install-html-recursive install-info-recursive \
105 install-pdf-recursive install-ps-recursive install-recursive \
106 installcheck-recursive installdirs-recursive pdf-recursive \
107 ps-recursive uninstall-recursive
108 HEADERS = $(noinst_HEADERS)
109 RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
110 distclean-recursive maintainer-clean-recursive
111 AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
112 $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
113 distdir dist dist-all distcheck
116 DIST_SUBDIRS = config etc man scripts lib cmd module
117 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
118 distdir = $(PACKAGE)-$(VERSION)
119 top_distdir = $(distdir)
120 am__remove_distdir = \
121 { test ! -d "$(distdir)" \
122 || { find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
123 && rm -fr "$(distdir)"; }; }
126 sed_first='s,^\([^/]*\)/.*$$,\1,'; \
127 sed_rest='s,^[^/]*/*,,'; \
128 sed_last='s,^.*/\([^/]*\)$$,\1,'; \
129 sed_butlast='s,/*[^/]*$$,,'; \
130 while test -n "$$dir1"; do \
131 first=`echo "$$dir1" | sed -e "$$sed_first"`; \
132 if test "$$first" != "."; then \
133 if test "$$first" = ".."; then \
134 dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
135 dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
137 first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
138 if test "$$first2" = "$$first"; then \
139 dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
143 dir0="$$dir0"/"$$first"; \
146 dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
149 DIST_ARCHIVES = $(distdir).tar.gz $(distdir).zip
151 distuninstallcheck_listfiles = find . -type f -print
152 distcleancheck_listfiles = find . -type f -print
155 ALIEN_VERSION = @ALIEN_VERSION@
157 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
159 AUTOCONF = @AUTOCONF@
160 AUTOHEADER = @AUTOHEADER@
161 AUTOMAKE = @AUTOMAKE@
163 BUILDDIR = @BUILDDIR@
166 CCASDEPMODE = @CCASDEPMODE@
167 CCASFLAGS = @CCASFLAGS@
168 CCDEPMODE = @CCDEPMODE@
172 CPPFLAGS = @CPPFLAGS@
173 CYGPATH_W = @CYGPATH_W@
174 DEBUG_CFLAGS = @DEBUG_CFLAGS@
175 DEBUG_STACKFLAGS = @DEBUG_STACKFLAGS@
176 DEFAULT_PACKAGE = @DEFAULT_PACKAGE@
180 DPKGBUILD = @DPKGBUILD@
181 DPKGBUILD_VERSION = @DPKGBUILD_VERSION@
182 DPKG_VERSION = @DPKG_VERSION@
183 DSYMUTIL = @DSYMUTIL@
191 FRAME_LARGER_THAN = @FRAME_LARGER_THAN@
193 HAVE_ALIEN = @HAVE_ALIEN@
194 HAVE_DPKG = @HAVE_DPKG@
195 HAVE_DPKGBUILD = @HAVE_DPKGBUILD@
196 HAVE_RPM = @HAVE_RPM@
197 HAVE_RPMBUILD = @HAVE_RPMBUILD@
199 INSTALL_DATA = @INSTALL_DATA@
200 INSTALL_PROGRAM = @INSTALL_PROGRAM@
201 INSTALL_SCRIPT = @INSTALL_SCRIPT@
202 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
203 KERNELCPPFLAGS = @KERNELCPPFLAGS@
204 KERNELMAKE_PARAMS = @KERNELMAKE_PARAMS@
207 LIBBLKID = @LIBBLKID@
214 LINUX_OBJ = @LINUX_OBJ@
215 LINUX_SYMBOLS = @LINUX_SYMBOLS@
216 LINUX_VERSION = @LINUX_VERSION@
219 LTLIBOBJS = @LTLIBOBJS@
221 MAKEINFO = @MAKEINFO@
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@
239 RPMBUILD = @RPMBUILD@
240 RPMBUILD_VERSION = @RPMBUILD_VERSION@
241 RPM_VERSION = @RPM_VERSION@
242 SCRIPTDIR = @SCRIPTDIR@
244 SET_MAKE = @SET_MAKE@
248 SPL_SYMBOLS = @SPL_SYMBOLS@
249 SPL_VERSION = @SPL_VERSION@
251 TARGET_ASM_DIR = @TARGET_ASM_DIR@
255 ZFS_CONFIG = @ZFS_CONFIG@
256 ZFS_META_ALIAS = @ZFS_META_ALIAS@
257 ZFS_META_AUTHOR = @ZFS_META_AUTHOR@
258 ZFS_META_DATA = @ZFS_META_DATA@
259 ZFS_META_LICENSE = @ZFS_META_LICENSE@
260 ZFS_META_LT_AGE = @ZFS_META_LT_AGE@
261 ZFS_META_LT_CURRENT = @ZFS_META_LT_CURRENT@
262 ZFS_META_LT_REVISION = @ZFS_META_LT_REVISION@
263 ZFS_META_NAME = @ZFS_META_NAME@
264 ZFS_META_RELEASE = @ZFS_META_RELEASE@
265 ZFS_META_VERSION = @ZFS_META_VERSION@
267 abs_builddir = @abs_builddir@
268 abs_srcdir = @abs_srcdir@
269 abs_top_builddir = @abs_top_builddir@
270 abs_top_srcdir = @abs_top_srcdir@
271 ac_ct_CC = @ac_ct_CC@
272 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
273 am__include = @am__include@
274 am__leading_dot = @am__leading_dot@
275 am__quote = @am__quote@
277 am__untar = @am__untar@
280 build_alias = @build_alias@
281 build_cpu = @build_cpu@
282 build_os = @build_os@
283 build_vendor = @build_vendor@
284 builddir = @builddir@
286 datarootdir = @datarootdir@
289 exec_prefix = @exec_prefix@
291 host_alias = @host_alias@
292 host_cpu = @host_cpu@
294 host_vendor = @host_vendor@
296 includedir = @includedir@
298 install_sh = @install_sh@
300 libexecdir = @libexecdir@
301 localedir = @localedir@
302 localstatedir = @localstatedir@
306 oldincludedir = @oldincludedir@
309 program_transform_name = @program_transform_name@
312 sharedstatedir = @sharedstatedir@
314 sysconfdir = @sysconfdir@
316 target_alias = @target_alias@
317 target_cpu = @target_cpu@
318 target_os = @target_os@
319 target_vendor = @target_vendor@
320 top_build_prefix = @top_build_prefix@
321 top_builddir = @top_builddir@
322 top_srcdir = @top_srcdir@
323 @CONFIG_USER_TRUE@USER_DIR = config etc man scripts lib cmd
324 @CONFIG_KERNEL_TRUE@KERNEL_DIR = module
325 SUBDIRS = $(USER_DIR) $(KERNEL_DIR)
326 AUTOMAKE_OPTIONS = foreign dist-zip
327 EXTRA_DIST = autogen.sh zfs.spec.in zfs-modules.spec.in \
328 config/config.awk config/rpm.am config/deb.am config/tgz.am \
329 META DISCLAIMER COPYRIGHT README.markdown OPENSOLARIS.LICENSE \
331 noinst_HEADERS = zfs_config.h
333 $(MAKE) $(AM_MAKEFLAGS) all-recursive
338 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/config/rpm.am $(am__configure_deps)
340 case '$(am__configure_deps)' in \
342 echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \
343 $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \
348 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
349 $(am__cd) $(top_srcdir) && \
350 $(AUTOMAKE) --foreign Makefile
352 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
355 echo ' $(SHELL) ./config.status'; \
356 $(SHELL) ./config.status;; \
358 echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
359 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
362 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
363 $(SHELL) ./config.status --recheck
365 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
366 $(am__cd) $(srcdir) && $(AUTOCONF)
367 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
368 $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
369 $(am__aclocal_m4_deps):
371 zfs_config.h: stamp-h1
372 @if test ! -f $@; then \
374 $(MAKE) $(AM_MAKEFLAGS) stamp-h1; \
377 stamp-h1: $(srcdir)/zfs_config.h.in $(top_builddir)/config.status
379 cd $(top_builddir) && $(SHELL) ./config.status zfs_config.h
380 $(srcdir)/zfs_config.h.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
381 ($(am__cd) $(top_srcdir) && $(AUTOHEADER))
386 -rm -f zfs_config.h stamp-h1
387 module/Makefile: $(top_builddir)/config.status $(top_srcdir)/module/Makefile.in
388 cd $(top_builddir) && $(SHELL) ./config.status $@
389 module/avl/Makefile: $(top_builddir)/config.status $(top_srcdir)/module/avl/Makefile.in
390 cd $(top_builddir) && $(SHELL) ./config.status $@
391 module/nvpair/Makefile: $(top_builddir)/config.status $(top_srcdir)/module/nvpair/Makefile.in
392 cd $(top_builddir) && $(SHELL) ./config.status $@
393 module/unicode/Makefile: $(top_builddir)/config.status $(top_srcdir)/module/unicode/Makefile.in
394 cd $(top_builddir) && $(SHELL) ./config.status $@
395 module/zcommon/Makefile: $(top_builddir)/config.status $(top_srcdir)/module/zcommon/Makefile.in
396 cd $(top_builddir) && $(SHELL) ./config.status $@
397 module/zfs/Makefile: $(top_builddir)/config.status $(top_srcdir)/module/zfs/Makefile.in
398 cd $(top_builddir) && $(SHELL) ./config.status $@
399 module/zpios/Makefile: $(top_builddir)/config.status $(top_srcdir)/module/zpios/Makefile.in
400 cd $(top_builddir) && $(SHELL) ./config.status $@
401 zfs.spec: $(top_builddir)/config.status $(srcdir)/zfs.spec.in
402 cd $(top_builddir) && $(SHELL) ./config.status $@
403 zfs-modules.spec: $(top_builddir)/config.status $(srcdir)/zfs-modules.spec.in
404 cd $(top_builddir) && $(SHELL) ./config.status $@
413 -rm -f libtool config.lt
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 \
426 *k*) failcom='fail=yes';; \
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 \
435 local_target="$$target-am"; \
437 local_target="$$target"; \
439 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
442 if test "$$dot_seen" = "no"; then \
443 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
446 $(RECURSIVE_CLEAN_TARGETS):
447 @fail= failcom='exit 1'; \
448 for f in x $$MAKEFLAGS; do \
451 *k*) failcom='fail=yes';; \
456 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
457 *) list='$(SUBDIRS)' ;; \
459 rev=''; for subdir in $$list; do \
460 if test "$$subdir" = "."; then :; else \
461 rev="$$subdir $$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"; \
471 local_target="$$target"; \
473 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
475 done && test -z "$$fail"
477 list='$(SUBDIRS)'; for subdir in $$list; do \
478 test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
481 list='$(SUBDIRS)'; for subdir in $$list; do \
482 test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
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; \
490 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
491 END { if (nonempty) { for (i in files) print i; }; }'`; \
494 TAGS: tags-recursive $(HEADERS) $(SOURCES) zfs_config.h.in $(TAGS_DEPENDENCIES) \
495 $(TAGS_FILES) $(LISP)
498 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
499 include_option=--etags-include; \
502 include_option=--include; \
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"; \
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; \
515 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
516 END { if (nonempty) { for (i in files) print i; }; }'`; \
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) \
524 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
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; \
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) \
541 here=`$(am__cd) $(top_builddir) && pwd` \
542 && $(am__cd) $(top_srcdir) \
543 && gtags -i $(GTAGS_ARGS) "$$here"
546 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
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,/[^/]*$$,,' | \
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 {} \;; \
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 {} \;; \
573 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
575 test -f "$(distdir)/$$file" \
576 || cp -p $$d/$$file "$(distdir)/$$file" \
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" \
587 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
588 if test "$$subdir" = .; then :; else \
589 dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
591 new_distdir=$$reldir; \
592 dir1=$$subdir; dir2="$(top_distdir)"; \
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=: \
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)"
616 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
617 $(am__remove_distdir)
620 tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
621 $(am__remove_distdir)
624 tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
625 $(am__remove_distdir)
628 tardir=$(distdir) && $(am__tar) | xz -c >$(distdir).tar.xz
629 $(am__remove_distdir)
632 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
633 $(am__remove_distdir)
636 shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
637 $(am__remove_distdir)
639 -rm -f $(distdir).zip
640 zip -rq $(distdir).zip $(distdir)
641 $(am__remove_distdir)
643 dist dist-all: distdir
644 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
645 -rm -f $(distdir).zip
646 zip -rq $(distdir).zip $(distdir)
647 $(am__remove_distdir)
649 # This target untars the dist file and tries a VPATH configuration. Then
650 # it guarantees that the distribution is self-contained by making another
653 case '$(DIST_ARCHIVES)' in \
655 GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
657 bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
659 lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\
661 xz -dc $(distdir).tar.xz | $(am__untar) ;;\
663 uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
665 GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
667 unzip $(distdir).zip ;;\
669 chmod -R a-w $(distdir); chmod a+w $(distdir)
670 mkdir $(distdir)/_build
671 mkdir $(distdir)/_inst
673 test -d $(distdir)/_build || exit 0; \
674 dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
675 && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
677 && $(am__cd) $(distdir)/_build \
678 && ../configure --srcdir=.. --prefix="$$dc_install_base" \
679 $(DISTCHECK_CONFIGURE_FLAGS) \
680 && $(MAKE) $(AM_MAKEFLAGS) \
681 && $(MAKE) $(AM_MAKEFLAGS) dvi \
682 && $(MAKE) $(AM_MAKEFLAGS) check \
683 && $(MAKE) $(AM_MAKEFLAGS) install \
684 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
685 && $(MAKE) $(AM_MAKEFLAGS) uninstall \
686 && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
688 && chmod -R a-w "$$dc_install_base" \
690 (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
691 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
692 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
693 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
694 distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
695 } || { rm -rf "$$dc_destdir"; exit 1; }) \
696 && rm -rf "$$dc_destdir" \
697 && $(MAKE) $(AM_MAKEFLAGS) dist \
698 && rm -rf $(DIST_ARCHIVES) \
699 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
702 $(am__remove_distdir)
703 @(echo "$(distdir) archives ready for distribution: "; \
704 list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
705 sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
707 @$(am__cd) '$(distuninstallcheck_dir)' \
708 && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
709 || { echo "ERROR: files left after uninstall:" ; \
710 if test -n "$(DESTDIR)"; then \
711 echo " (check DESTDIR support)"; \
713 $(distuninstallcheck_listfiles) ; \
715 distcleancheck: distclean
716 @if test '$(srcdir)' = . ; then \
717 echo "ERROR: distcleancheck can only run from a VPATH build" ; \
720 @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
721 || { echo "ERROR: files left in build directory after distclean:" ; \
722 $(distcleancheck_listfiles) ; \
725 check: check-recursive
726 all-am: Makefile $(HEADERS) zfs_config.h
727 installdirs: installdirs-recursive
729 install: install-recursive
730 install-exec: install-exec-recursive
731 install-data: install-data-recursive
732 uninstall: uninstall-recursive
735 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
737 installcheck: installcheck-recursive
739 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
740 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
741 `test -z '$(STRIP)' || \
742 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
748 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
749 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
751 maintainer-clean-generic:
752 @echo "This command is intended for maintainers to use"
753 @echo "it deletes files that may require special tools to rebuild."
754 @CONFIG_KERNEL_FALSE@install-data-local:
755 clean: clean-recursive
757 clean-am: clean-generic clean-libtool mostlyclean-am
759 distclean: distclean-recursive
760 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
762 distclean-am: clean-am distclean-generic distclean-hdr \
763 distclean-libtool distclean-local distclean-tags
777 install-data-am: install-data-local
779 install-dvi: install-dvi-recursive
785 install-html: install-html-recursive
789 install-info: install-info-recursive
795 install-pdf: install-pdf-recursive
799 install-ps: install-ps-recursive
805 maintainer-clean: maintainer-clean-recursive
806 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
807 -rm -rf $(top_srcdir)/autom4te.cache
809 maintainer-clean-am: distclean-am maintainer-clean-generic
811 mostlyclean: mostlyclean-recursive
813 mostlyclean-am: mostlyclean-generic mostlyclean-libtool
825 .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all \
826 ctags-recursive install-am install-strip tags-recursive
828 .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
829 all all-am am--refresh check check-am clean clean-generic \
830 clean-libtool ctags ctags-recursive dist dist-all dist-bzip2 \
831 dist-gzip dist-lzma dist-shar dist-tarZ dist-xz dist-zip \
832 distcheck distclean distclean-generic distclean-hdr \
833 distclean-libtool distclean-local distclean-tags \
834 distcleancheck distdir distuninstallcheck dvi dvi-am html \
835 html-am info info-am install install-am install-data \
836 install-data-am install-data-local install-dvi install-dvi-am \
837 install-exec install-exec-am install-html install-html-am \
838 install-info install-info-am install-man install-pdf \
839 install-pdf-am install-ps install-ps-am install-strip \
840 installcheck installcheck-am installdirs installdirs-am \
841 maintainer-clean maintainer-clean-generic mostlyclean \
842 mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
843 tags tags-recursive uninstall uninstall-am
846 $(MAKE) $(AM_MAKEFLAGS) pkg="${PACKAGE}-modules" srpm-common
849 $(MAKE) $(AM_MAKEFLAGS) pkg="${PACKAGE}" srpm-common
851 srpm: srpm-modules srpm-utils
853 rpm-modules: srpm-modules
854 $(MAKE) $(AM_MAKEFLAGS) pkg="${PACKAGE}-modules" rpm-common
856 rpm-utils: srpm-utils
857 $(MAKE) $(AM_MAKEFLAGS) pkg="${PACKAGE}" rpm-common
859 rpm-modules: srpm-modules
861 rpm: rpm-modules rpm-utils
864 @(if test "${HAVE_RPMBUILD}" = "no"; then \
866 "*** Required util ${RPMBUILD} missing. Please install the\n" \
867 "*** package for your distribution which provides ${RPMBUILD},\n" \
868 "*** re-run configure, and try again.\n"; \
871 mkdir -p $(rpmbuild)/TMP && \
872 mkdir -p $(rpmbuild)/BUILD && \
873 mkdir -p $(rpmbuild)/RPMS && \
874 mkdir -p $(rpmbuild)/SRPMS && \
875 mkdir -p $(rpmbuild)/SPECS && \
876 cp $(rpmspec) $(rpmbuild)/SPECS && \
877 mkdir -p $(rpmbuild)/SOURCES && \
878 cp $(distdir).tar.gz $(rpmbuild)/SOURCES)
881 rpmpkg=$(pkg)-$(ZFS_META_VERSION)-$(ZFS_META_RELEASE).src.rpm; \
882 rpmspec=$(pkg).spec; \
883 rpmbuild=`mktemp -t -d $(PACKAGE)-build-$$USER-XXXXXXXX`; \
884 $(MAKE) $(AM_MAKEFLAGS) \
885 rpmbuild="$$rpmbuild" \
886 rpmspec="$$rpmspec" \
887 rpm-local || exit 1; \
889 --define "_tmppath $$rpmbuild/TMP" \
890 --define "_topdir $$rpmbuild" \
891 --define "build_src_rpm 1" \
892 --define "dist %{nil}" \
893 --nodeps -bs $$rpmbuild/SPECS/$$rpmspec || exit 1; \
894 cp $$rpmbuild/SRPMS/$$rpmpkg . || exit 1; \
898 rpmpkg=$(pkg)-$(ZFS_META_VERSION)-$(ZFS_META_RELEASE).src.rpm; \
899 rpmspec=$(pkg).spec; \
900 rpmbuild=`mktemp -t -d $(PACKAGE)-build-$$USER-XXXXXXXX`; \
901 $(MAKE) $(AM_MAKEFLAGS) \
902 rpmbuild="$$rpmbuild" \
903 rpmspec="$$rpmspec" \
904 rpm-local || exit 1; \
906 --define "_tmppath $$rpmbuild/TMP" \
907 --define "_topdir $$rpmbuild" \
908 --define "dist %{nil}" \
909 --define "require_kdir $(LINUX)" \
910 --define "require_kobj $(LINUX_OBJ)" \
911 --define "require_kver $(LINUX_VERSION)" \
912 --define "require_spldir $(SPL)" \
913 --define "require_splobj $(SPL_OBJ)" \
914 --define "require_splver $(SPL_VERSION)" \
915 --nodeps --rebuild $$rpmpkg || exit 1; \
916 cp $$rpmbuild/RPMS/*/* . || exit 1; \
918 include ${top_srcdir}/config/deb.am
919 include ${top_srcdir}/config/tgz.am
922 -$(RM) -R autom4te*.cache
923 -find . \( -name SCCS -o -name BitKeeper -o -name .svn -o -name CVS \
924 -o -name .pc -o -name .hg -o -name .git \) -prune -o \
925 \( -name '*.orig' -o -name '*.rej' -o -name '*~' \
926 -o -name '*.bak' -o -name '#*#' -o -name '.*.orig' \
927 -o -name '.*.rej' -o -name '.script-config' -o -size 0 \
928 -o -name '*%' -o -name '.*.cmd' -o -name 'core' \
929 -o -name 'Makefile' -o -name 'Module.symvers' \
930 -o -name '*.order' -o -name '*.markers' \) \
931 -type f -print | xargs $(RM)
933 @CONFIG_KERNEL_TRUE@install-data-local:
934 @CONFIG_KERNEL_TRUE@ destname=zfs-$(ZFS_META_VERSION)/$(LINUX_VERSION); \
935 @CONFIG_KERNEL_TRUE@ instdest=$(DESTDIR)/usr/src/$$destname; \
936 @CONFIG_KERNEL_TRUE@ echo "${ZFS_META_VERSION}" >$$instdest/zfs.release; \
937 @CONFIG_KERNEL_TRUE@ for instfile in $(noinst_HEADERS) module/$(LINUX_SYMBOLS); do \
938 @CONFIG_KERNEL_TRUE@ $(INSTALL) -D $$instfile $$instdest/$$instfile; \
939 @CONFIG_KERNEL_TRUE@ done
942 $(RM) $(top_srcdir)/tags
943 find $(top_srcdir) -name .git -prune -o -name '*.[hc]' | xargs ctags
946 $(RM) $(top_srcdir)/TAGS
947 find $(top_srcdir) -name .pc -prune -o -name '*.[hc]' | xargs etags -a
951 pkg: @DEFAULT_PACKAGE@
952 pkg-modules: @DEFAULT_PACKAGE@-modules
953 pkg-utils: @DEFAULT_PACKAGE@-utils
955 # Tell versions [3.59,3.63) of GNU make to not export all variables.
956 # Otherwise a system limit (for SysV at least) may be exceeded.