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
18 ###############################################################################
19 # Written by Prakash Surya <surya1@llnl.gov>
20 ###############################################################################
21 # Build targets for RPM packages.
22 ###############################################################################
25 pkgdatadir = $(datadir)/@PACKAGE@
26 pkgincludedir = $(includedir)/@PACKAGE@
27 pkglibdir = $(libdir)/@PACKAGE@
28 pkglibexecdir = $(libexecdir)/@PACKAGE@
29 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
30 install_sh_DATA = $(install_sh) -c -m 644
31 install_sh_PROGRAM = $(install_sh) -c
32 install_sh_SCRIPT = $(install_sh) -c
33 INSTALL_HEADER = $(INSTALL_DATA)
34 transform = $(program_transform_name)
41 build_triplet = @build@
43 target_triplet = @target@
44 DIST_COMMON = $(am__configure_deps) $(noinst_HEADERS) \
45 $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
46 $(srcdir)/PKGBUILD-zfs-modules.in $(srcdir)/PKGBUILD-zfs.in \
47 $(srcdir)/zfs-modules.spec.in \
48 $(srcdir)/zfs-script-config.sh.in $(srcdir)/zfs.spec.in \
49 $(srcdir)/zfs_config.h.in $(top_srcdir)/config/arch.am \
50 $(top_srcdir)/config/deb.am $(top_srcdir)/config/rpm.am \
51 $(top_srcdir)/config/tgz.am $(top_srcdir)/configure \
52 $(top_srcdir)/module/Makefile.in \
53 $(top_srcdir)/module/avl/Makefile.in \
54 $(top_srcdir)/module/nvpair/Makefile.in \
55 $(top_srcdir)/module/unicode/Makefile.in \
56 $(top_srcdir)/module/zcommon/Makefile.in \
57 $(top_srcdir)/module/zfs/Makefile.in \
58 $(top_srcdir)/module/zpios/Makefile.in AUTHORS COPYING \
59 ChangeLog config/config.guess config/config.sub config/depcomp \
60 config/install-sh config/ltmain.sh config/missing
62 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
63 am__aclocal_m4_deps = \
64 $(top_srcdir)/config/always-no-unused-but-set-variable.m4 \
65 $(top_srcdir)/config/kernel-bdev-block-device-operations.m4 \
66 $(top_srcdir)/config/kernel-bdev-logical-size.m4 \
67 $(top_srcdir)/config/kernel-bdi-setup-and-register.m4 \
68 $(top_srcdir)/config/kernel-bdi.m4 \
69 $(top_srcdir)/config/kernel-bio-empty-barrier.m4 \
70 $(top_srcdir)/config/kernel-bio-end-io-t-args.m4 \
71 $(top_srcdir)/config/kernel-bio-failfast.m4 \
72 $(top_srcdir)/config/kernel-bio-rw-syncio.m4 \
73 $(top_srcdir)/config/kernel-blk-end-request.m4 \
74 $(top_srcdir)/config/kernel-blk-fetch-request.m4 \
75 $(top_srcdir)/config/kernel-blk-requeue-request.m4 \
76 $(top_srcdir)/config/kernel-blk-rq-bytes.m4 \
77 $(top_srcdir)/config/kernel-blk-rq-pos.m4 \
78 $(top_srcdir)/config/kernel-blk-rq-sectors.m4 \
79 $(top_srcdir)/config/kernel-blkdev-get-by-path.m4 \
80 $(top_srcdir)/config/kernel-check-disk-size-change.m4 \
81 $(top_srcdir)/config/kernel-d-obtain-alias.m4 \
82 $(top_srcdir)/config/kernel-evict-inode.m4 \
83 $(top_srcdir)/config/kernel-fmode-t.m4 \
84 $(top_srcdir)/config/kernel-fsync.m4 \
85 $(top_srcdir)/config/kernel-get-disk-ro.m4 \
86 $(top_srcdir)/config/kernel-insert-inode-locked.m4 \
87 $(top_srcdir)/config/kernel-invalidate-bdev-args.m4 \
88 $(top_srcdir)/config/kernel-kobj-name-len.m4 \
89 $(top_srcdir)/config/kernel-mount-nodev.m4 \
90 $(top_srcdir)/config/kernel-open-bdev-exclusive.m4 \
91 $(top_srcdir)/config/kernel-rq-for-each_segment.m4 \
92 $(top_srcdir)/config/kernel-rq-is_sync.m4 \
93 $(top_srcdir)/config/kernel-security-inode-init.m4 \
94 $(top_srcdir)/config/kernel-set-nlink.m4 \
95 $(top_srcdir)/config/kernel-truncate-setsize.m4 \
96 $(top_srcdir)/config/kernel-xattr-handler.m4 \
97 $(top_srcdir)/config/kernel.m4 \
98 $(top_srcdir)/config/user-arch.m4 \
99 $(top_srcdir)/config/user-frame-larger-than.m4 \
100 $(top_srcdir)/config/user-ioctl.m4 \
101 $(top_srcdir)/config/user-libblkid.m4 \
102 $(top_srcdir)/config/user-libuuid.m4 \
103 $(top_srcdir)/config/user-nptl_guard_within_stack.m4 \
104 $(top_srcdir)/config/user-selinux.m4 \
105 $(top_srcdir)/config/user-udev.m4 \
106 $(top_srcdir)/config/user-zlib.m4 $(top_srcdir)/config/user.m4 \
107 $(top_srcdir)/config/zfs-build.m4 \
108 $(top_srcdir)/config/zfs-meta.m4 $(top_srcdir)/configure.ac
109 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
111 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
112 configure.lineno config.status.lineno
113 mkinstalldirs = $(install_sh) -d
114 CONFIG_HEADER = zfs_config.h
115 CONFIG_CLEAN_FILES = module/Makefile module/avl/Makefile \
116 module/nvpair/Makefile module/unicode/Makefile \
117 module/zcommon/Makefile module/zfs/Makefile \
118 module/zpios/Makefile zfs.spec zfs-modules.spec PKGBUILD-zfs \
119 PKGBUILD-zfs-modules zfs-script-config.sh
120 CONFIG_CLEAN_VPATH_FILES =
121 AM_V_GEN = $(am__v_GEN_$(V))
122 am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
123 am__v_GEN_0 = @echo " GEN " $@;
124 AM_V_at = $(am__v_at_$(V))
125 am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
129 RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
130 html-recursive info-recursive install-data-recursive \
131 install-dvi-recursive install-exec-recursive \
132 install-html-recursive install-info-recursive \
133 install-pdf-recursive install-ps-recursive install-recursive \
134 installcheck-recursive installdirs-recursive pdf-recursive \
135 ps-recursive uninstall-recursive
136 HEADERS = $(noinst_HEADERS)
137 RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
138 distclean-recursive maintainer-clean-recursive
139 AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
140 $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
141 distdir dist dist-all distcheck
144 DIST_SUBDIRS = dracut udev etc man scripts lib cmd module include
145 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
146 distdir = $(PACKAGE)-$(VERSION)
147 top_distdir = $(distdir)
148 am__remove_distdir = \
149 { test ! -d "$(distdir)" \
150 || { find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
151 && rm -fr "$(distdir)"; }; }
154 sed_first='s,^\([^/]*\)/.*$$,\1,'; \
155 sed_rest='s,^[^/]*/*,,'; \
156 sed_last='s,^.*/\([^/]*\)$$,\1,'; \
157 sed_butlast='s,/*[^/]*$$,,'; \
158 while test -n "$$dir1"; do \
159 first=`echo "$$dir1" | sed -e "$$sed_first"`; \
160 if test "$$first" != "."; then \
161 if test "$$first" = ".."; then \
162 dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
163 dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
165 first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
166 if test "$$first2" = "$$first"; then \
167 dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
171 dir0="$$dir0"/"$$first"; \
174 dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
177 DIST_ARCHIVES = $(distdir).tar.gz
179 distuninstallcheck_listfiles = find . -type f -print
180 distcleancheck_listfiles = find . -type f -print
183 ALIEN_VERSION = @ALIEN_VERSION@
185 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
187 AUTOCONF = @AUTOCONF@
188 AUTOHEADER = @AUTOHEADER@
189 AUTOMAKE = @AUTOMAKE@
193 CCASDEPMODE = @CCASDEPMODE@
194 CCASFLAGS = @CCASFLAGS@
195 CCDEPMODE = @CCDEPMODE@
198 CPPFLAGS = @CPPFLAGS@
199 CYGPATH_W = @CYGPATH_W@
200 DEBUG_CFLAGS = @DEBUG_CFLAGS@
201 DEBUG_STACKFLAGS = @DEBUG_STACKFLAGS@
202 DEFAULT_INIT_DIR = @DEFAULT_INIT_DIR@
203 DEFAULT_INIT_SCRIPT = @DEFAULT_INIT_SCRIPT@
204 DEFAULT_PACKAGE = @DEFAULT_PACKAGE@
208 DPKGBUILD = @DPKGBUILD@
209 DPKGBUILD_VERSION = @DPKGBUILD_VERSION@
210 DPKG_VERSION = @DPKG_VERSION@
211 DSYMUTIL = @DSYMUTIL@
219 FRAME_LARGER_THAN = @FRAME_LARGER_THAN@
221 HAVE_ALIEN = @HAVE_ALIEN@
222 HAVE_DPKG = @HAVE_DPKG@
223 HAVE_DPKGBUILD = @HAVE_DPKGBUILD@
224 HAVE_MAKEPKG = @HAVE_MAKEPKG@
225 HAVE_PACMAN = @HAVE_PACMAN@
226 HAVE_RPM = @HAVE_RPM@
227 HAVE_RPMBUILD = @HAVE_RPMBUILD@
229 INSTALL_DATA = @INSTALL_DATA@
230 INSTALL_PROGRAM = @INSTALL_PROGRAM@
231 INSTALL_SCRIPT = @INSTALL_SCRIPT@
232 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
233 KERNELCPPFLAGS = @KERNELCPPFLAGS@
234 KERNELMAKE_PARAMS = @KERNELMAKE_PARAMS@
237 LIBBLKID = @LIBBLKID@
240 LIBSELINUX = @LIBSELINUX@
244 LINUX_OBJ = @LINUX_OBJ@
245 LINUX_SYMBOLS = @LINUX_SYMBOLS@
246 LINUX_VERSION = @LINUX_VERSION@
249 LTLIBOBJS = @LTLIBOBJS@
251 MAKEINFO = @MAKEINFO@
253 MAKEPKG_VERSION = @MAKEPKG_VERSION@
257 NO_UNUSED_BUT_SET_VARIABLE = @NO_UNUSED_BUT_SET_VARIABLE@
263 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
264 PACKAGE_NAME = @PACKAGE_NAME@
265 PACKAGE_STRING = @PACKAGE_STRING@
266 PACKAGE_TARNAME = @PACKAGE_TARNAME@
267 PACKAGE_VERSION = @PACKAGE_VERSION@
269 PACMAN_VERSION = @PACMAN_VERSION@
270 PATH_SEPARATOR = @PATH_SEPARATOR@
273 RPMBUILD = @RPMBUILD@
274 RPMBUILD_VERSION = @RPMBUILD_VERSION@
275 RPM_VERSION = @RPM_VERSION@
277 SET_MAKE = @SET_MAKE@
281 SPL_SYMBOLS = @SPL_SYMBOLS@
282 SPL_VERSION = @SPL_VERSION@
284 TARGET_ASM_DIR = @TARGET_ASM_DIR@
287 ZFS_CONFIG = @ZFS_CONFIG@
288 ZFS_META_ALIAS = @ZFS_META_ALIAS@
289 ZFS_META_AUTHOR = @ZFS_META_AUTHOR@
290 ZFS_META_DATA = @ZFS_META_DATA@
291 ZFS_META_LICENSE = @ZFS_META_LICENSE@
292 ZFS_META_LT_AGE = @ZFS_META_LT_AGE@
293 ZFS_META_LT_CURRENT = @ZFS_META_LT_CURRENT@
294 ZFS_META_LT_REVISION = @ZFS_META_LT_REVISION@
295 ZFS_META_NAME = @ZFS_META_NAME@
296 ZFS_META_RELEASE = @ZFS_META_RELEASE@
297 ZFS_META_VERSION = @ZFS_META_VERSION@
299 abs_builddir = @abs_builddir@
300 abs_srcdir = @abs_srcdir@
301 abs_top_builddir = @abs_top_builddir@
302 abs_top_srcdir = @abs_top_srcdir@
303 ac_ct_CC = @ac_ct_CC@
304 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
305 am__include = @am__include@
306 am__leading_dot = @am__leading_dot@
307 am__quote = @am__quote@
309 am__untar = @am__untar@
312 build_alias = @build_alias@
313 build_cpu = @build_cpu@
314 build_os = @build_os@
315 build_vendor = @build_vendor@
316 builddir = @builddir@
318 datarootdir = @datarootdir@
321 exec_prefix = @exec_prefix@
323 host_alias = @host_alias@
324 host_cpu = @host_cpu@
326 host_vendor = @host_vendor@
328 includedir = @includedir@
330 install_sh = @install_sh@
332 libexecdir = @libexecdir@
333 localedir = @localedir@
334 localstatedir = @localstatedir@
338 oldincludedir = @oldincludedir@
341 program_transform_name = @program_transform_name@
344 sharedstatedir = @sharedstatedir@
346 sysconfdir = @sysconfdir@
348 target_alias = @target_alias@
349 target_cpu = @target_cpu@
350 target_os = @target_os@
351 target_vendor = @target_vendor@
352 top_build_prefix = @top_build_prefix@
353 top_builddir = @top_builddir@
354 top_srcdir = @top_srcdir@
356 udevruledir = @udevruledir@
357 @CONFIG_USER_TRUE@USER_DIR = dracut udev etc man scripts lib cmd
358 @CONFIG_KERNEL_TRUE@KERNEL_DIR = module
359 SUBDIRS = $(USER_DIR) $(KERNEL_DIR) include
360 AUTOMAKE_OPTIONS = foreign
361 EXTRA_DIST = autogen.sh zfs.spec.in zfs-modules.spec.in \
362 config/config.awk config/rpm.am config/deb.am config/tgz.am \
363 META DISCLAIMER COPYRIGHT README.markdown OPENSOLARIS.LICENSE \
365 noinst_HEADERS = zfs_config.h
367 $(MAKE) $(AM_MAKEFLAGS) all-recursive
372 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/config/rpm.am $(top_srcdir)/config/deb.am $(top_srcdir)/config/tgz.am $(top_srcdir)/config/arch.am $(am__configure_deps)
374 case '$(am__configure_deps)' in \
376 echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \
377 $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \
382 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
383 $(am__cd) $(top_srcdir) && \
384 $(AUTOMAKE) --foreign Makefile
386 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
389 echo ' $(SHELL) ./config.status'; \
390 $(SHELL) ./config.status;; \
392 echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
393 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
396 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
397 $(SHELL) ./config.status --recheck
399 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
400 $(am__cd) $(srcdir) && $(AUTOCONF)
401 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
402 $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
403 $(am__aclocal_m4_deps):
405 zfs_config.h: stamp-h1
406 @if test ! -f $@; then \
408 $(MAKE) $(AM_MAKEFLAGS) stamp-h1; \
411 stamp-h1: $(srcdir)/zfs_config.h.in $(top_builddir)/config.status
413 cd $(top_builddir) && $(SHELL) ./config.status zfs_config.h
414 $(srcdir)/zfs_config.h.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
415 ($(am__cd) $(top_srcdir) && $(AUTOHEADER))
420 -rm -f zfs_config.h stamp-h1
421 module/Makefile: $(top_builddir)/config.status $(top_srcdir)/module/Makefile.in
422 cd $(top_builddir) && $(SHELL) ./config.status $@
423 module/avl/Makefile: $(top_builddir)/config.status $(top_srcdir)/module/avl/Makefile.in
424 cd $(top_builddir) && $(SHELL) ./config.status $@
425 module/nvpair/Makefile: $(top_builddir)/config.status $(top_srcdir)/module/nvpair/Makefile.in
426 cd $(top_builddir) && $(SHELL) ./config.status $@
427 module/unicode/Makefile: $(top_builddir)/config.status $(top_srcdir)/module/unicode/Makefile.in
428 cd $(top_builddir) && $(SHELL) ./config.status $@
429 module/zcommon/Makefile: $(top_builddir)/config.status $(top_srcdir)/module/zcommon/Makefile.in
430 cd $(top_builddir) && $(SHELL) ./config.status $@
431 module/zfs/Makefile: $(top_builddir)/config.status $(top_srcdir)/module/zfs/Makefile.in
432 cd $(top_builddir) && $(SHELL) ./config.status $@
433 module/zpios/Makefile: $(top_builddir)/config.status $(top_srcdir)/module/zpios/Makefile.in
434 cd $(top_builddir) && $(SHELL) ./config.status $@
435 zfs.spec: $(top_builddir)/config.status $(srcdir)/zfs.spec.in
436 cd $(top_builddir) && $(SHELL) ./config.status $@
437 zfs-modules.spec: $(top_builddir)/config.status $(srcdir)/zfs-modules.spec.in
438 cd $(top_builddir) && $(SHELL) ./config.status $@
439 PKGBUILD-zfs: $(top_builddir)/config.status $(srcdir)/PKGBUILD-zfs.in
440 cd $(top_builddir) && $(SHELL) ./config.status $@
441 PKGBUILD-zfs-modules: $(top_builddir)/config.status $(srcdir)/PKGBUILD-zfs-modules.in
442 cd $(top_builddir) && $(SHELL) ./config.status $@
443 zfs-script-config.sh: $(top_builddir)/config.status $(srcdir)/zfs-script-config.sh.in
444 cd $(top_builddir) && $(SHELL) ./config.status $@
453 -rm -f libtool config.lt
455 # This directory's subdirectories are mostly independent; you can cd
456 # into them and run `make' without going through this Makefile.
457 # To change the values of `make' variables: instead of editing Makefiles,
458 # (1) if the variable is set in `config.status', edit `config.status'
459 # (which will cause the Makefiles to be regenerated when you run `make');
460 # (2) otherwise, pass the desired values on the `make' command line.
461 $(RECURSIVE_TARGETS):
462 @fail= failcom='exit 1'; \
463 for f in x $$MAKEFLAGS; do \
466 *k*) failcom='fail=yes';; \
470 target=`echo $@ | sed s/-recursive//`; \
471 list='$(SUBDIRS)'; for subdir in $$list; do \
472 echo "Making $$target in $$subdir"; \
473 if test "$$subdir" = "."; then \
475 local_target="$$target-am"; \
477 local_target="$$target"; \
479 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
482 if test "$$dot_seen" = "no"; then \
483 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
486 $(RECURSIVE_CLEAN_TARGETS):
487 @fail= failcom='exit 1'; \
488 for f in x $$MAKEFLAGS; do \
491 *k*) failcom='fail=yes';; \
496 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
497 *) list='$(SUBDIRS)' ;; \
499 rev=''; for subdir in $$list; do \
500 if test "$$subdir" = "."; then :; else \
501 rev="$$subdir $$rev"; \
505 target=`echo $@ | sed s/-recursive//`; \
506 for subdir in $$rev; do \
507 echo "Making $$target in $$subdir"; \
508 if test "$$subdir" = "."; then \
509 local_target="$$target-am"; \
511 local_target="$$target"; \
513 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
515 done && test -z "$$fail"
517 list='$(SUBDIRS)'; for subdir in $$list; do \
518 test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
521 list='$(SUBDIRS)'; for subdir in $$list; do \
522 test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
525 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
526 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
527 unique=`for i in $$list; do \
528 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
530 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
531 END { if (nonempty) { for (i in files) print i; }; }'`; \
534 TAGS: tags-recursive $(HEADERS) $(SOURCES) zfs_config.h.in $(TAGS_DEPENDENCIES) \
535 $(TAGS_FILES) $(LISP)
538 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
539 include_option=--etags-include; \
542 include_option=--include; \
545 list='$(SUBDIRS)'; for subdir in $$list; do \
546 if test "$$subdir" = .; then :; else \
547 test ! -f $$subdir/TAGS || \
548 set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
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; \
555 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
556 END { if (nonempty) { for (i in files) print i; }; }'`; \
558 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
559 test -n "$$unique" || unique=$$empty_fix; \
560 if test $$# -gt 0; then \
561 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
564 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
568 CTAGS: ctags-recursive $(HEADERS) $(SOURCES) zfs_config.h.in $(TAGS_DEPENDENCIES) \
569 $(TAGS_FILES) $(LISP)
570 list='$(SOURCES) $(HEADERS) zfs_config.h.in $(LISP) $(TAGS_FILES)'; \
571 unique=`for i in $$list; do \
572 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
574 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
575 END { if (nonempty) { for (i in files) print i; }; }'`; \
576 test -z "$(CTAGS_ARGS)$$unique" \
577 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
581 here=`$(am__cd) $(top_builddir) && pwd` \
582 && $(am__cd) $(top_srcdir) \
583 && gtags -i $(GTAGS_ARGS) "$$here"
586 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
588 distdir: $(DISTFILES)
589 $(am__remove_distdir)
590 test -d "$(distdir)" || mkdir "$(distdir)"
591 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
592 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
593 list='$(DISTFILES)'; \
594 dist_files=`for file in $$list; do echo $$file; done | \
595 sed -e "s|^$$srcdirstrip/||;t" \
596 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
597 case $$dist_files in \
598 */*) $(MKDIR_P) `echo "$$dist_files" | \
599 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
602 for file in $$dist_files; do \
603 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
604 if test -d $$d/$$file; then \
605 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
606 if test -d "$(distdir)/$$file"; then \
607 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
609 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
610 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
611 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
613 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
615 test -f "$(distdir)/$$file" \
616 || cp -p $$d/$$file "$(distdir)/$$file" \
620 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
621 if test "$$subdir" = .; then :; else \
622 test -d "$(distdir)/$$subdir" \
623 || $(MKDIR_P) "$(distdir)/$$subdir" \
627 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
628 if test "$$subdir" = .; then :; else \
629 dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
631 new_distdir=$$reldir; \
632 dir1=$$subdir; dir2="$(top_distdir)"; \
634 new_top_distdir=$$reldir; \
635 echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
636 echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
637 ($(am__cd) $$subdir && \
638 $(MAKE) $(AM_MAKEFLAGS) \
639 top_distdir="$$new_top_distdir" \
640 distdir="$$new_distdir" \
641 am__remove_distdir=: \
642 am__skip_length_check=: \
643 am__skip_mode_fix=: \
648 -test -n "$(am__skip_mode_fix)" \
649 || find "$(distdir)" -type d ! -perm -755 \
650 -exec chmod u+rwx,go+rx {} \; -o \
651 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
652 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
653 ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
654 || chmod -R a+r "$(distdir)"
656 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
657 $(am__remove_distdir)
660 tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
661 $(am__remove_distdir)
664 tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
665 $(am__remove_distdir)
668 tardir=$(distdir) && $(am__tar) | xz -c >$(distdir).tar.xz
669 $(am__remove_distdir)
672 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
673 $(am__remove_distdir)
676 shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
677 $(am__remove_distdir)
680 -rm -f $(distdir).zip
681 zip -rq $(distdir).zip $(distdir)
682 $(am__remove_distdir)
684 dist dist-all: distdir
685 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
686 $(am__remove_distdir)
688 # This target untars the dist file and tries a VPATH configuration. Then
689 # it guarantees that the distribution is self-contained by making another
692 case '$(DIST_ARCHIVES)' in \
694 GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
696 bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
698 lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\
700 xz -dc $(distdir).tar.xz | $(am__untar) ;;\
702 uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
704 GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
706 unzip $(distdir).zip ;;\
708 chmod -R a-w $(distdir); chmod a+w $(distdir)
709 mkdir $(distdir)/_build
710 mkdir $(distdir)/_inst
712 test -d $(distdir)/_build || exit 0; \
713 dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
714 && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
716 && $(am__cd) $(distdir)/_build \
717 && ../configure --srcdir=.. --prefix="$$dc_install_base" \
718 $(DISTCHECK_CONFIGURE_FLAGS) \
719 && $(MAKE) $(AM_MAKEFLAGS) \
720 && $(MAKE) $(AM_MAKEFLAGS) dvi \
721 && $(MAKE) $(AM_MAKEFLAGS) check \
722 && $(MAKE) $(AM_MAKEFLAGS) install \
723 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
724 && $(MAKE) $(AM_MAKEFLAGS) uninstall \
725 && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
727 && chmod -R a-w "$$dc_install_base" \
729 (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
730 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
731 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
732 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
733 distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
734 } || { rm -rf "$$dc_destdir"; exit 1; }) \
735 && rm -rf "$$dc_destdir" \
736 && $(MAKE) $(AM_MAKEFLAGS) dist \
737 && rm -rf $(DIST_ARCHIVES) \
738 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
741 $(am__remove_distdir)
742 @(echo "$(distdir) archives ready for distribution: "; \
743 list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
744 sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
746 @$(am__cd) '$(distuninstallcheck_dir)' \
747 && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
748 || { echo "ERROR: files left after uninstall:" ; \
749 if test -n "$(DESTDIR)"; then \
750 echo " (check DESTDIR support)"; \
752 $(distuninstallcheck_listfiles) ; \
754 distcleancheck: distclean
755 @if test '$(srcdir)' = . ; then \
756 echo "ERROR: distcleancheck can only run from a VPATH build" ; \
759 @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
760 || { echo "ERROR: files left in build directory after distclean:" ; \
761 $(distcleancheck_listfiles) ; \
764 check: check-recursive
765 all-am: Makefile $(HEADERS) zfs_config.h
766 installdirs: installdirs-recursive
768 install: install-recursive
769 install-exec: install-exec-recursive
770 install-data: install-data-recursive
771 uninstall: uninstall-recursive
774 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
776 installcheck: installcheck-recursive
778 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
779 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
780 `test -z '$(STRIP)' || \
781 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
787 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
788 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
790 maintainer-clean-generic:
791 @echo "This command is intended for maintainers to use"
792 @echo "it deletes files that may require special tools to rebuild."
793 @CONFIG_KERNEL_FALSE@install-data-local:
794 clean: clean-recursive
796 clean-am: clean-generic clean-libtool mostlyclean-am
798 distclean: distclean-recursive
799 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
801 distclean-am: clean-am distclean-generic distclean-hdr \
802 distclean-libtool distclean-local distclean-tags
816 install-data-am: install-data-local
818 install-dvi: install-dvi-recursive
824 install-html: install-html-recursive
828 install-info: install-info-recursive
834 install-pdf: install-pdf-recursive
838 install-ps: install-ps-recursive
844 maintainer-clean: maintainer-clean-recursive
845 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
846 -rm -rf $(top_srcdir)/autom4te.cache
848 maintainer-clean-am: distclean-am maintainer-clean-generic
850 mostlyclean: mostlyclean-recursive
852 mostlyclean-am: mostlyclean-generic mostlyclean-libtool
864 .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all \
865 ctags-recursive install-am install-strip tags-recursive
867 .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
868 all all-am am--refresh check check-am clean clean-generic \
869 clean-libtool ctags ctags-recursive dist dist-all dist-bzip2 \
870 dist-gzip dist-lzma dist-shar dist-tarZ dist-xz dist-zip \
871 distcheck distclean distclean-generic distclean-hdr \
872 distclean-libtool distclean-local distclean-tags \
873 distcleancheck distdir distuninstallcheck dvi dvi-am html \
874 html-am info info-am install install-am install-data \
875 install-data-am install-data-local install-dvi install-dvi-am \
876 install-exec install-exec-am install-html install-html-am \
877 install-info install-info-am install-man install-pdf \
878 install-pdf-am install-ps install-ps-am install-strip \
879 installcheck installcheck-am installdirs installdirs-am \
880 maintainer-clean maintainer-clean-generic mostlyclean \
881 mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
882 tags tags-recursive uninstall uninstall-am
885 $(MAKE) $(AM_MAKEFLAGS) pkg="${PACKAGE}-modules" srpm-common
888 $(MAKE) $(AM_MAKEFLAGS) pkg="${PACKAGE}" srpm-common
890 srpm: srpm-modules srpm-utils
892 rpm-modules: srpm-modules
893 $(MAKE) $(AM_MAKEFLAGS) pkg="${PACKAGE}-modules" rpm-common
895 rpm-utils: srpm-utils
896 $(MAKE) $(AM_MAKEFLAGS) pkg="${PACKAGE}" rpm-common
898 rpm-modules: srpm-modules
900 rpm: rpm-modules rpm-utils
903 @(if test "${HAVE_RPMBUILD}" = "no"; then \
905 "*** Required util ${RPMBUILD} missing. Please install the\n" \
906 "*** package for your distribution which provides ${RPMBUILD},\n" \
907 "*** re-run configure, and try again.\n"; \
910 mkdir -p $(rpmbuild)/TMP && \
911 mkdir -p $(rpmbuild)/BUILD && \
912 mkdir -p $(rpmbuild)/RPMS && \
913 mkdir -p $(rpmbuild)/SRPMS && \
914 mkdir -p $(rpmbuild)/SPECS && \
915 cp $(rpmspec) $(rpmbuild)/SPECS && \
916 mkdir -p $(rpmbuild)/SOURCES && \
917 cp $(distdir).tar.gz $(rpmbuild)/SOURCES)
920 rpmpkg=$(pkg)-$(ZFS_META_VERSION)-$(ZFS_META_RELEASE).src.rpm; \
921 rpmspec=$(pkg).spec; \
922 rpmbuild=`mktemp -t -d $(PACKAGE)-build-$$USER-XXXXXXXX`; \
923 $(MAKE) $(AM_MAKEFLAGS) \
924 rpmbuild="$$rpmbuild" \
925 rpmspec="$$rpmspec" \
926 rpm-local || exit 1; \
928 --define "_tmppath $$rpmbuild/TMP" \
929 --define "_topdir $$rpmbuild" \
930 --define "build_src_rpm 1" \
931 --define "dist %{nil}" \
932 --nodeps -bs $$rpmbuild/SPECS/$$rpmspec || exit 1; \
933 cp $$rpmbuild/SRPMS/$$rpmpkg . || exit 1; \
937 rpmpkg=$(pkg)-$(ZFS_META_VERSION)-$(ZFS_META_RELEASE).src.rpm; \
938 rpmspec=$(pkg).spec; \
939 rpmbuild=`mktemp -t -d $(PACKAGE)-build-$$USER-XXXXXXXX`; \
940 $(MAKE) $(AM_MAKEFLAGS) \
941 rpmbuild="$$rpmbuild" \
942 rpmspec="$$rpmspec" \
943 rpm-local || exit 1; \
945 --define "_tmppath $$rpmbuild/TMP" \
946 --define "_topdir $$rpmbuild" \
947 --define "dist %{nil}" \
948 --define "require_kdir $(LINUX)" \
949 --define "require_kobj $(LINUX_OBJ)" \
950 --define "require_kver $(LINUX_VERSION)" \
951 --define "require_spldir $(SPL)" \
952 --define "require_splobj $(SPL_OBJ)" \
953 --define "require_splver $(SPL_VERSION)" \
954 --nodeps --rebuild $$rpmpkg || exit 1; \
955 cp $$rpmbuild/RPMS/*/* . || exit 1; \
958 @(if test "${HAVE_DPKGBUILD}" = "no"; then \
960 "*** Required util ${DPKGBUILD} missing. Please install the\n" \
961 "*** package for your distribution which provides ${DPKGBUILD},\n" \
962 "*** re-run configure, and try again.\n"; \
965 if test "${HAVE_ALIEN}" = "no"; then \
967 "*** Required util ${ALIEN} missing. Please install the\n" \
968 "*** package for your distribution which provides ${ALIEN},\n" \
969 "*** re-run configure, and try again.\n"; \
973 deb-modules: deb-local rpm-modules
974 name=${PACKAGE}-modules; \
975 version=${ZFS_META_VERSION}-${ZFS_META_RELEASE}; \
976 release=`echo ${LINUX_VERSION} | $(SED) -e "s/-/_/g"`; \
977 arch=`$(RPM) -qp $${name}-$${version}.src.rpm --qf %{arch} | tail -1`; \
978 pkg1=$${name}-$${version}_$${release}.$${arch}.rpm; \
979 pkg2=$${name}-devel-$${version}_$${release}.$${arch}.rpm; \
980 fakeroot $(ALIEN) --scripts --to-deb $$pkg1 $$pkg2; \
983 deb-utils: deb-local rpm-utils
985 version=${ZFS_META_VERSION}-${ZFS_META_RELEASE}; \
986 arch=`$(RPM) -qp $${name}-$${version}.src.rpm --qf %{arch} | tail -1`; \
987 pkg1=$${name}-$${version}.$${arch}.rpm; \
988 pkg2=$${name}-devel-$${version}.$${arch}.rpm; \
989 pkg3=$${name}-test-$${version}.$${arch}.rpm; \
990 pkg4=$${name}-dracut-$${version}.$${arch}.rpm; \
991 fakeroot $(ALIEN) --scripts --to-deb $$pkg1 $$pkg2 $$pkg3 $$pkg4; \
992 $(RM) $$pkg1 $$pkg2 $$pkg3 $$pkg4
994 deb: deb-modules deb-utils
996 @(if test "${HAVE_ALIEN}" = "no"; then \
998 "*** Required util ${ALIEN} missing. Please install the\n" \
999 "*** package for your distribution which provides ${ALIEN},\n" \
1000 "*** re-run configure, and try again.\n"; \
1004 tgz-modules: tgz-local rpm-modules
1005 name=${PACKAGE}-modules; \
1006 version=${ZFS_META_VERSION}-${ZFS_META_RELEASE}; \
1007 release=`echo ${LINUX_VERSION} | $(SED) -e "s/-/_/g"`; \
1008 arch=`$(RPM) -qp $${name}-$${version}.src.rpm --qf %{arch} | tail -1`; \
1009 pkg1=$${name}-$${version}_$${release}.$${arch}.rpm; \
1010 pkg2=$${name}-devel-$${version}_$${release}.$${arch}.rpm; \
1011 fakeroot $(ALIEN) --scripts --to-tgz $$pkg1 $$pkg2; \
1014 tgz-utils: tgz-local rpm-utils
1016 version=${ZFS_META_VERSION}-${ZFS_META_RELEASE}; \
1017 arch=`$(RPM) -qp $${name}-$${version}.src.rpm --qf %{arch} | tail -1`; \
1018 pkg1=$${name}-$${version}.$${arch}.rpm; \
1019 pkg2=$${name}-devel-$${version}.$${arch}.rpm; \
1020 pkg3=$${name}-test-$${version}.$${arch}.rpm; \
1021 fakeroot $(ALIEN) --scripts --to-tgz $$pkg1 $$pkg2 $$pkg3; \
1022 $(RM) $$pkg1 $$pkg2 $$pkg3
1024 tgz: tgz-modules tgz-utils
1027 $(MAKE) $(AM_MAKEFLAGS) pkg="${PACKAGE}-modules" sarch-common
1030 $(MAKE) $(AM_MAKEFLAGS) pkg="${PACKAGE}" sarch-common
1032 sarch: sarch-modules sarch-utils
1035 $(MAKE) $(AM_MAKEFLAGS) pkg="${PACKAGE}-modules" arch-common
1038 $(MAKE) $(AM_MAKEFLAGS) pkg="${PACKAGE}" arch-common
1040 arch: arch-modules arch-utils
1043 @(if test "${HAVE_MAKEPKG}" = "no"; then \
1045 "*** Required util ${MAKEPKG} missing. Please install the\n" \
1046 "*** package for your distribution which provides ${MAKEPKG},\n" \
1047 "*** re-run configure, and try again.\n"; \
1052 pkgbuild=PKGBUILD-$(pkg); \
1053 $(MAKE) $(AM_MAKEFLAGS) arch-local || exit 1; \
1054 $(MAKEPKG) --allsource --skipinteg --nodeps -p $$pkgbuild || exit 1;
1057 pkgbuild=PKGBUILD-$(pkg); \
1058 $(MAKE) $(AM_MAKEFLAGS) arch-local || exit 1; \
1059 $(MAKEPKG) --skipinteg -p $$pkgbuild || exit 1;
1062 -$(RM) -R autom4te*.cache
1063 -find . \( -name SCCS -o -name BitKeeper -o -name .svn -o -name CVS \
1064 -o -name .pc -o -name .hg -o -name .git \) -prune -o \
1065 \( -name '*.orig' -o -name '*.rej' -o -name '*~' \
1066 -o -name '*.bak' -o -name '#*#' -o -name '.*.orig' \
1067 -o -name '.*.rej' -o -name '.script-config' -o -size 0 \
1068 -o -name '*%' -o -name '.*.cmd' -o -name 'core' \
1069 -o -name 'Makefile' -o -name 'Module.symvers' \
1070 -o -name '*.order' -o -name '*.markers' \) \
1071 -type f -print | xargs $(RM)
1073 @CONFIG_KERNEL_TRUE@install-data-local:
1074 @CONFIG_KERNEL_TRUE@ destname=zfs-$(ZFS_META_VERSION)/$(LINUX_VERSION); \
1075 @CONFIG_KERNEL_TRUE@ instdest=$(DESTDIR)/usr/src/$$destname; \
1076 @CONFIG_KERNEL_TRUE@ echo "$(ZFS_META_VERSION)" >$$instdest/zfs.release; \
1077 @CONFIG_KERNEL_TRUE@ for instfile in $(noinst_HEADERS) module/$(LINUX_SYMBOLS); do \
1078 @CONFIG_KERNEL_TRUE@ $(INSTALL) -D $$instfile $$instdest/$$instfile; \
1079 @CONFIG_KERNEL_TRUE@ done
1082 $(RM) $(top_srcdir)/tags
1083 find $(top_srcdir) -name .git -prune -o -name '*.[hc]' | xargs ctags
1086 $(RM) $(top_srcdir)/TAGS
1087 find $(top_srcdir) -name .pc -prune -o -name '*.[hc]' | xargs etags -a
1091 pkg: @DEFAULT_PACKAGE@
1092 pkg-modules: @DEFAULT_PACKAGE@-modules
1093 pkg-utils: @DEFAULT_PACKAGE@-utils
1095 # Tell versions [3.59,3.63) of GNU make to not export all variables.
1096 # Otherwise a system limit (for SysV at least) may be exceeded.