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-truncate-setsize.m4 \
95 $(top_srcdir)/config/kernel-xattr-handler.m4 \
96 $(top_srcdir)/config/kernel.m4 \
97 $(top_srcdir)/config/user-arch.m4 \
98 $(top_srcdir)/config/user-frame-larger-than.m4 \
99 $(top_srcdir)/config/user-ioctl.m4 \
100 $(top_srcdir)/config/user-libblkid.m4 \
101 $(top_srcdir)/config/user-libuuid.m4 \
102 $(top_srcdir)/config/user-nptl_guard_within_stack.m4 \
103 $(top_srcdir)/config/user-selinux.m4 \
104 $(top_srcdir)/config/user-udev.m4 \
105 $(top_srcdir)/config/user-zlib.m4 $(top_srcdir)/config/user.m4 \
106 $(top_srcdir)/config/zfs-build.m4 \
107 $(top_srcdir)/config/zfs-meta.m4 $(top_srcdir)/configure.ac
108 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
110 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
111 configure.lineno config.status.lineno
112 mkinstalldirs = $(install_sh) -d
113 CONFIG_HEADER = zfs_config.h
114 CONFIG_CLEAN_FILES = module/Makefile module/avl/Makefile \
115 module/nvpair/Makefile module/unicode/Makefile \
116 module/zcommon/Makefile module/zfs/Makefile \
117 module/zpios/Makefile zfs.spec zfs-modules.spec PKGBUILD-zfs \
118 PKGBUILD-zfs-modules zfs-script-config.sh
119 CONFIG_CLEAN_VPATH_FILES =
120 AM_V_GEN = $(am__v_GEN_$(V))
121 am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
122 am__v_GEN_0 = @echo " GEN " $@;
123 AM_V_at = $(am__v_at_$(V))
124 am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
128 RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
129 html-recursive info-recursive install-data-recursive \
130 install-dvi-recursive install-exec-recursive \
131 install-html-recursive install-info-recursive \
132 install-pdf-recursive install-ps-recursive install-recursive \
133 installcheck-recursive installdirs-recursive pdf-recursive \
134 ps-recursive uninstall-recursive
135 HEADERS = $(noinst_HEADERS)
136 RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
137 distclean-recursive maintainer-clean-recursive
138 AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
139 $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
140 distdir dist dist-all distcheck
143 DIST_SUBDIRS = dracut udev etc man scripts lib cmd module include
144 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
145 distdir = $(PACKAGE)-$(VERSION)
146 top_distdir = $(distdir)
147 am__remove_distdir = \
148 { test ! -d "$(distdir)" \
149 || { find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
150 && rm -fr "$(distdir)"; }; }
153 sed_first='s,^\([^/]*\)/.*$$,\1,'; \
154 sed_rest='s,^[^/]*/*,,'; \
155 sed_last='s,^.*/\([^/]*\)$$,\1,'; \
156 sed_butlast='s,/*[^/]*$$,,'; \
157 while test -n "$$dir1"; do \
158 first=`echo "$$dir1" | sed -e "$$sed_first"`; \
159 if test "$$first" != "."; then \
160 if test "$$first" = ".."; then \
161 dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
162 dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
164 first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
165 if test "$$first2" = "$$first"; then \
166 dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
170 dir0="$$dir0"/"$$first"; \
173 dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
176 DIST_ARCHIVES = $(distdir).tar.gz
178 distuninstallcheck_listfiles = find . -type f -print
179 distcleancheck_listfiles = find . -type f -print
182 ALIEN_VERSION = @ALIEN_VERSION@
184 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
186 AUTOCONF = @AUTOCONF@
187 AUTOHEADER = @AUTOHEADER@
188 AUTOMAKE = @AUTOMAKE@
192 CCASDEPMODE = @CCASDEPMODE@
193 CCASFLAGS = @CCASFLAGS@
194 CCDEPMODE = @CCDEPMODE@
197 CPPFLAGS = @CPPFLAGS@
198 CYGPATH_W = @CYGPATH_W@
199 DEBUG_CFLAGS = @DEBUG_CFLAGS@
200 DEBUG_STACKFLAGS = @DEBUG_STACKFLAGS@
201 DEFAULT_INIT_DIR = @DEFAULT_INIT_DIR@
202 DEFAULT_INIT_SCRIPT = @DEFAULT_INIT_SCRIPT@
203 DEFAULT_PACKAGE = @DEFAULT_PACKAGE@
207 DPKGBUILD = @DPKGBUILD@
208 DPKGBUILD_VERSION = @DPKGBUILD_VERSION@
209 DPKG_VERSION = @DPKG_VERSION@
210 DSYMUTIL = @DSYMUTIL@
218 FRAME_LARGER_THAN = @FRAME_LARGER_THAN@
220 HAVE_ALIEN = @HAVE_ALIEN@
221 HAVE_DPKG = @HAVE_DPKG@
222 HAVE_DPKGBUILD = @HAVE_DPKGBUILD@
223 HAVE_MAKEPKG = @HAVE_MAKEPKG@
224 HAVE_PACMAN = @HAVE_PACMAN@
225 HAVE_RPM = @HAVE_RPM@
226 HAVE_RPMBUILD = @HAVE_RPMBUILD@
228 INSTALL_DATA = @INSTALL_DATA@
229 INSTALL_PROGRAM = @INSTALL_PROGRAM@
230 INSTALL_SCRIPT = @INSTALL_SCRIPT@
231 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
232 KERNELCPPFLAGS = @KERNELCPPFLAGS@
233 KERNELMAKE_PARAMS = @KERNELMAKE_PARAMS@
236 LIBBLKID = @LIBBLKID@
239 LIBSELINUX = @LIBSELINUX@
243 LINUX_OBJ = @LINUX_OBJ@
244 LINUX_SYMBOLS = @LINUX_SYMBOLS@
245 LINUX_VERSION = @LINUX_VERSION@
248 LTLIBOBJS = @LTLIBOBJS@
250 MAKEINFO = @MAKEINFO@
252 MAKEPKG_VERSION = @MAKEPKG_VERSION@
256 NO_UNUSED_BUT_SET_VARIABLE = @NO_UNUSED_BUT_SET_VARIABLE@
262 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
263 PACKAGE_NAME = @PACKAGE_NAME@
264 PACKAGE_STRING = @PACKAGE_STRING@
265 PACKAGE_TARNAME = @PACKAGE_TARNAME@
266 PACKAGE_VERSION = @PACKAGE_VERSION@
268 PACMAN_VERSION = @PACMAN_VERSION@
269 PATH_SEPARATOR = @PATH_SEPARATOR@
272 RPMBUILD = @RPMBUILD@
273 RPMBUILD_VERSION = @RPMBUILD_VERSION@
274 RPM_VERSION = @RPM_VERSION@
276 SET_MAKE = @SET_MAKE@
280 SPL_SYMBOLS = @SPL_SYMBOLS@
281 SPL_VERSION = @SPL_VERSION@
283 TARGET_ASM_DIR = @TARGET_ASM_DIR@
286 ZFS_CONFIG = @ZFS_CONFIG@
287 ZFS_META_ALIAS = @ZFS_META_ALIAS@
288 ZFS_META_AUTHOR = @ZFS_META_AUTHOR@
289 ZFS_META_DATA = @ZFS_META_DATA@
290 ZFS_META_LICENSE = @ZFS_META_LICENSE@
291 ZFS_META_LT_AGE = @ZFS_META_LT_AGE@
292 ZFS_META_LT_CURRENT = @ZFS_META_LT_CURRENT@
293 ZFS_META_LT_REVISION = @ZFS_META_LT_REVISION@
294 ZFS_META_NAME = @ZFS_META_NAME@
295 ZFS_META_RELEASE = @ZFS_META_RELEASE@
296 ZFS_META_VERSION = @ZFS_META_VERSION@
298 abs_builddir = @abs_builddir@
299 abs_srcdir = @abs_srcdir@
300 abs_top_builddir = @abs_top_builddir@
301 abs_top_srcdir = @abs_top_srcdir@
302 ac_ct_CC = @ac_ct_CC@
303 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
304 am__include = @am__include@
305 am__leading_dot = @am__leading_dot@
306 am__quote = @am__quote@
308 am__untar = @am__untar@
311 build_alias = @build_alias@
312 build_cpu = @build_cpu@
313 build_os = @build_os@
314 build_vendor = @build_vendor@
315 builddir = @builddir@
317 datarootdir = @datarootdir@
320 exec_prefix = @exec_prefix@
322 host_alias = @host_alias@
323 host_cpu = @host_cpu@
325 host_vendor = @host_vendor@
327 includedir = @includedir@
329 install_sh = @install_sh@
331 libexecdir = @libexecdir@
332 localedir = @localedir@
333 localstatedir = @localstatedir@
337 oldincludedir = @oldincludedir@
340 program_transform_name = @program_transform_name@
343 sharedstatedir = @sharedstatedir@
345 sysconfdir = @sysconfdir@
347 target_alias = @target_alias@
348 target_cpu = @target_cpu@
349 target_os = @target_os@
350 target_vendor = @target_vendor@
351 top_build_prefix = @top_build_prefix@
352 top_builddir = @top_builddir@
353 top_srcdir = @top_srcdir@
355 udevruledir = @udevruledir@
356 @CONFIG_USER_TRUE@USER_DIR = dracut udev etc man scripts lib cmd
357 @CONFIG_KERNEL_TRUE@KERNEL_DIR = module
358 SUBDIRS = $(USER_DIR) $(KERNEL_DIR) include
359 AUTOMAKE_OPTIONS = foreign
360 EXTRA_DIST = autogen.sh zfs.spec.in zfs-modules.spec.in \
361 config/config.awk config/rpm.am config/deb.am config/tgz.am \
362 META DISCLAIMER COPYRIGHT README.markdown OPENSOLARIS.LICENSE \
364 noinst_HEADERS = zfs_config.h
366 $(MAKE) $(AM_MAKEFLAGS) all-recursive
371 $(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)
373 case '$(am__configure_deps)' in \
375 echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \
376 $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \
381 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
382 $(am__cd) $(top_srcdir) && \
383 $(AUTOMAKE) --foreign Makefile
385 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
388 echo ' $(SHELL) ./config.status'; \
389 $(SHELL) ./config.status;; \
391 echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
392 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
395 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
396 $(SHELL) ./config.status --recheck
398 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
399 $(am__cd) $(srcdir) && $(AUTOCONF)
400 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
401 $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
402 $(am__aclocal_m4_deps):
404 zfs_config.h: stamp-h1
405 @if test ! -f $@; then \
407 $(MAKE) $(AM_MAKEFLAGS) stamp-h1; \
410 stamp-h1: $(srcdir)/zfs_config.h.in $(top_builddir)/config.status
412 cd $(top_builddir) && $(SHELL) ./config.status zfs_config.h
413 $(srcdir)/zfs_config.h.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
414 ($(am__cd) $(top_srcdir) && $(AUTOHEADER))
419 -rm -f zfs_config.h stamp-h1
420 module/Makefile: $(top_builddir)/config.status $(top_srcdir)/module/Makefile.in
421 cd $(top_builddir) && $(SHELL) ./config.status $@
422 module/avl/Makefile: $(top_builddir)/config.status $(top_srcdir)/module/avl/Makefile.in
423 cd $(top_builddir) && $(SHELL) ./config.status $@
424 module/nvpair/Makefile: $(top_builddir)/config.status $(top_srcdir)/module/nvpair/Makefile.in
425 cd $(top_builddir) && $(SHELL) ./config.status $@
426 module/unicode/Makefile: $(top_builddir)/config.status $(top_srcdir)/module/unicode/Makefile.in
427 cd $(top_builddir) && $(SHELL) ./config.status $@
428 module/zcommon/Makefile: $(top_builddir)/config.status $(top_srcdir)/module/zcommon/Makefile.in
429 cd $(top_builddir) && $(SHELL) ./config.status $@
430 module/zfs/Makefile: $(top_builddir)/config.status $(top_srcdir)/module/zfs/Makefile.in
431 cd $(top_builddir) && $(SHELL) ./config.status $@
432 module/zpios/Makefile: $(top_builddir)/config.status $(top_srcdir)/module/zpios/Makefile.in
433 cd $(top_builddir) && $(SHELL) ./config.status $@
434 zfs.spec: $(top_builddir)/config.status $(srcdir)/zfs.spec.in
435 cd $(top_builddir) && $(SHELL) ./config.status $@
436 zfs-modules.spec: $(top_builddir)/config.status $(srcdir)/zfs-modules.spec.in
437 cd $(top_builddir) && $(SHELL) ./config.status $@
438 PKGBUILD-zfs: $(top_builddir)/config.status $(srcdir)/PKGBUILD-zfs.in
439 cd $(top_builddir) && $(SHELL) ./config.status $@
440 PKGBUILD-zfs-modules: $(top_builddir)/config.status $(srcdir)/PKGBUILD-zfs-modules.in
441 cd $(top_builddir) && $(SHELL) ./config.status $@
442 zfs-script-config.sh: $(top_builddir)/config.status $(srcdir)/zfs-script-config.sh.in
443 cd $(top_builddir) && $(SHELL) ./config.status $@
452 -rm -f libtool config.lt
454 # This directory's subdirectories are mostly independent; you can cd
455 # into them and run `make' without going through this Makefile.
456 # To change the values of `make' variables: instead of editing Makefiles,
457 # (1) if the variable is set in `config.status', edit `config.status'
458 # (which will cause the Makefiles to be regenerated when you run `make');
459 # (2) otherwise, pass the desired values on the `make' command line.
460 $(RECURSIVE_TARGETS):
461 @fail= failcom='exit 1'; \
462 for f in x $$MAKEFLAGS; do \
465 *k*) failcom='fail=yes';; \
469 target=`echo $@ | sed s/-recursive//`; \
470 list='$(SUBDIRS)'; for subdir in $$list; do \
471 echo "Making $$target in $$subdir"; \
472 if test "$$subdir" = "."; then \
474 local_target="$$target-am"; \
476 local_target="$$target"; \
478 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
481 if test "$$dot_seen" = "no"; then \
482 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
485 $(RECURSIVE_CLEAN_TARGETS):
486 @fail= failcom='exit 1'; \
487 for f in x $$MAKEFLAGS; do \
490 *k*) failcom='fail=yes';; \
495 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
496 *) list='$(SUBDIRS)' ;; \
498 rev=''; for subdir in $$list; do \
499 if test "$$subdir" = "."; then :; else \
500 rev="$$subdir $$rev"; \
504 target=`echo $@ | sed s/-recursive//`; \
505 for subdir in $$rev; do \
506 echo "Making $$target in $$subdir"; \
507 if test "$$subdir" = "."; then \
508 local_target="$$target-am"; \
510 local_target="$$target"; \
512 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
514 done && test -z "$$fail"
516 list='$(SUBDIRS)'; for subdir in $$list; do \
517 test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
520 list='$(SUBDIRS)'; for subdir in $$list; do \
521 test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
524 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
525 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
526 unique=`for i in $$list; do \
527 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
529 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
530 END { if (nonempty) { for (i in files) print i; }; }'`; \
533 TAGS: tags-recursive $(HEADERS) $(SOURCES) zfs_config.h.in $(TAGS_DEPENDENCIES) \
534 $(TAGS_FILES) $(LISP)
537 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
538 include_option=--etags-include; \
541 include_option=--include; \
544 list='$(SUBDIRS)'; for subdir in $$list; do \
545 if test "$$subdir" = .; then :; else \
546 test ! -f $$subdir/TAGS || \
547 set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
550 list='$(SOURCES) $(HEADERS) zfs_config.h.in $(LISP) $(TAGS_FILES)'; \
551 unique=`for i in $$list; do \
552 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
554 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
555 END { if (nonempty) { for (i in files) print i; }; }'`; \
557 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
558 test -n "$$unique" || unique=$$empty_fix; \
559 if test $$# -gt 0; then \
560 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
563 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
567 CTAGS: ctags-recursive $(HEADERS) $(SOURCES) zfs_config.h.in $(TAGS_DEPENDENCIES) \
568 $(TAGS_FILES) $(LISP)
569 list='$(SOURCES) $(HEADERS) zfs_config.h.in $(LISP) $(TAGS_FILES)'; \
570 unique=`for i in $$list; do \
571 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
573 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
574 END { if (nonempty) { for (i in files) print i; }; }'`; \
575 test -z "$(CTAGS_ARGS)$$unique" \
576 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
580 here=`$(am__cd) $(top_builddir) && pwd` \
581 && $(am__cd) $(top_srcdir) \
582 && gtags -i $(GTAGS_ARGS) "$$here"
585 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
587 distdir: $(DISTFILES)
588 $(am__remove_distdir)
589 test -d "$(distdir)" || mkdir "$(distdir)"
590 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
591 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
592 list='$(DISTFILES)'; \
593 dist_files=`for file in $$list; do echo $$file; done | \
594 sed -e "s|^$$srcdirstrip/||;t" \
595 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
596 case $$dist_files in \
597 */*) $(MKDIR_P) `echo "$$dist_files" | \
598 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
601 for file in $$dist_files; do \
602 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
603 if test -d $$d/$$file; then \
604 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
605 if test -d "$(distdir)/$$file"; then \
606 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
608 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
609 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
610 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
612 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
614 test -f "$(distdir)/$$file" \
615 || cp -p $$d/$$file "$(distdir)/$$file" \
619 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
620 if test "$$subdir" = .; then :; else \
621 test -d "$(distdir)/$$subdir" \
622 || $(MKDIR_P) "$(distdir)/$$subdir" \
626 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
627 if test "$$subdir" = .; then :; else \
628 dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
630 new_distdir=$$reldir; \
631 dir1=$$subdir; dir2="$(top_distdir)"; \
633 new_top_distdir=$$reldir; \
634 echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
635 echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
636 ($(am__cd) $$subdir && \
637 $(MAKE) $(AM_MAKEFLAGS) \
638 top_distdir="$$new_top_distdir" \
639 distdir="$$new_distdir" \
640 am__remove_distdir=: \
641 am__skip_length_check=: \
642 am__skip_mode_fix=: \
647 -test -n "$(am__skip_mode_fix)" \
648 || find "$(distdir)" -type d ! -perm -755 \
649 -exec chmod u+rwx,go+rx {} \; -o \
650 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
651 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
652 ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
653 || chmod -R a+r "$(distdir)"
655 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
656 $(am__remove_distdir)
659 tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
660 $(am__remove_distdir)
663 tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
664 $(am__remove_distdir)
667 tardir=$(distdir) && $(am__tar) | xz -c >$(distdir).tar.xz
668 $(am__remove_distdir)
671 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
672 $(am__remove_distdir)
675 shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
676 $(am__remove_distdir)
679 -rm -f $(distdir).zip
680 zip -rq $(distdir).zip $(distdir)
681 $(am__remove_distdir)
683 dist dist-all: distdir
684 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
685 $(am__remove_distdir)
687 # This target untars the dist file and tries a VPATH configuration. Then
688 # it guarantees that the distribution is self-contained by making another
691 case '$(DIST_ARCHIVES)' in \
693 GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
695 bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
697 lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\
699 xz -dc $(distdir).tar.xz | $(am__untar) ;;\
701 uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
703 GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
705 unzip $(distdir).zip ;;\
707 chmod -R a-w $(distdir); chmod a+w $(distdir)
708 mkdir $(distdir)/_build
709 mkdir $(distdir)/_inst
711 test -d $(distdir)/_build || exit 0; \
712 dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
713 && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
715 && $(am__cd) $(distdir)/_build \
716 && ../configure --srcdir=.. --prefix="$$dc_install_base" \
717 $(DISTCHECK_CONFIGURE_FLAGS) \
718 && $(MAKE) $(AM_MAKEFLAGS) \
719 && $(MAKE) $(AM_MAKEFLAGS) dvi \
720 && $(MAKE) $(AM_MAKEFLAGS) check \
721 && $(MAKE) $(AM_MAKEFLAGS) install \
722 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
723 && $(MAKE) $(AM_MAKEFLAGS) uninstall \
724 && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
726 && chmod -R a-w "$$dc_install_base" \
728 (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
729 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
730 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
731 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
732 distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
733 } || { rm -rf "$$dc_destdir"; exit 1; }) \
734 && rm -rf "$$dc_destdir" \
735 && $(MAKE) $(AM_MAKEFLAGS) dist \
736 && rm -rf $(DIST_ARCHIVES) \
737 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
740 $(am__remove_distdir)
741 @(echo "$(distdir) archives ready for distribution: "; \
742 list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
743 sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
745 @$(am__cd) '$(distuninstallcheck_dir)' \
746 && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
747 || { echo "ERROR: files left after uninstall:" ; \
748 if test -n "$(DESTDIR)"; then \
749 echo " (check DESTDIR support)"; \
751 $(distuninstallcheck_listfiles) ; \
753 distcleancheck: distclean
754 @if test '$(srcdir)' = . ; then \
755 echo "ERROR: distcleancheck can only run from a VPATH build" ; \
758 @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
759 || { echo "ERROR: files left in build directory after distclean:" ; \
760 $(distcleancheck_listfiles) ; \
763 check: check-recursive
764 all-am: Makefile $(HEADERS) zfs_config.h
765 installdirs: installdirs-recursive
767 install: install-recursive
768 install-exec: install-exec-recursive
769 install-data: install-data-recursive
770 uninstall: uninstall-recursive
773 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
775 installcheck: installcheck-recursive
777 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
778 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
779 `test -z '$(STRIP)' || \
780 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
786 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
787 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
789 maintainer-clean-generic:
790 @echo "This command is intended for maintainers to use"
791 @echo "it deletes files that may require special tools to rebuild."
792 @CONFIG_KERNEL_FALSE@install-data-local:
793 clean: clean-recursive
795 clean-am: clean-generic clean-libtool mostlyclean-am
797 distclean: distclean-recursive
798 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
800 distclean-am: clean-am distclean-generic distclean-hdr \
801 distclean-libtool distclean-local distclean-tags
815 install-data-am: install-data-local
817 install-dvi: install-dvi-recursive
823 install-html: install-html-recursive
827 install-info: install-info-recursive
833 install-pdf: install-pdf-recursive
837 install-ps: install-ps-recursive
843 maintainer-clean: maintainer-clean-recursive
844 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
845 -rm -rf $(top_srcdir)/autom4te.cache
847 maintainer-clean-am: distclean-am maintainer-clean-generic
849 mostlyclean: mostlyclean-recursive
851 mostlyclean-am: mostlyclean-generic mostlyclean-libtool
863 .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all \
864 ctags-recursive install-am install-strip tags-recursive
866 .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
867 all all-am am--refresh check check-am clean clean-generic \
868 clean-libtool ctags ctags-recursive dist dist-all dist-bzip2 \
869 dist-gzip dist-lzma dist-shar dist-tarZ dist-xz dist-zip \
870 distcheck distclean distclean-generic distclean-hdr \
871 distclean-libtool distclean-local distclean-tags \
872 distcleancheck distdir distuninstallcheck dvi dvi-am html \
873 html-am info info-am install install-am install-data \
874 install-data-am install-data-local install-dvi install-dvi-am \
875 install-exec install-exec-am install-html install-html-am \
876 install-info install-info-am install-man install-pdf \
877 install-pdf-am install-ps install-ps-am install-strip \
878 installcheck installcheck-am installdirs installdirs-am \
879 maintainer-clean maintainer-clean-generic mostlyclean \
880 mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
881 tags tags-recursive uninstall uninstall-am
884 $(MAKE) $(AM_MAKEFLAGS) pkg="${PACKAGE}-modules" srpm-common
887 $(MAKE) $(AM_MAKEFLAGS) pkg="${PACKAGE}" srpm-common
889 srpm: srpm-modules srpm-utils
891 rpm-modules: srpm-modules
892 $(MAKE) $(AM_MAKEFLAGS) pkg="${PACKAGE}-modules" rpm-common
894 rpm-utils: srpm-utils
895 $(MAKE) $(AM_MAKEFLAGS) pkg="${PACKAGE}" rpm-common
897 rpm-modules: srpm-modules
899 rpm: rpm-modules rpm-utils
902 @(if test "${HAVE_RPMBUILD}" = "no"; then \
904 "*** Required util ${RPMBUILD} missing. Please install the\n" \
905 "*** package for your distribution which provides ${RPMBUILD},\n" \
906 "*** re-run configure, and try again.\n"; \
909 mkdir -p $(rpmbuild)/TMP && \
910 mkdir -p $(rpmbuild)/BUILD && \
911 mkdir -p $(rpmbuild)/RPMS && \
912 mkdir -p $(rpmbuild)/SRPMS && \
913 mkdir -p $(rpmbuild)/SPECS && \
914 cp $(rpmspec) $(rpmbuild)/SPECS && \
915 mkdir -p $(rpmbuild)/SOURCES && \
916 cp $(distdir).tar.gz $(rpmbuild)/SOURCES)
919 rpmpkg=$(pkg)-$(ZFS_META_VERSION)-$(ZFS_META_RELEASE).src.rpm; \
920 rpmspec=$(pkg).spec; \
921 rpmbuild=`mktemp -t -d $(PACKAGE)-build-$$USER-XXXXXXXX`; \
922 $(MAKE) $(AM_MAKEFLAGS) \
923 rpmbuild="$$rpmbuild" \
924 rpmspec="$$rpmspec" \
925 rpm-local || exit 1; \
927 --define "_tmppath $$rpmbuild/TMP" \
928 --define "_topdir $$rpmbuild" \
929 --define "build_src_rpm 1" \
930 --define "dist %{nil}" \
931 --nodeps -bs $$rpmbuild/SPECS/$$rpmspec || exit 1; \
932 cp $$rpmbuild/SRPMS/$$rpmpkg . || exit 1; \
936 rpmpkg=$(pkg)-$(ZFS_META_VERSION)-$(ZFS_META_RELEASE).src.rpm; \
937 rpmspec=$(pkg).spec; \
938 rpmbuild=`mktemp -t -d $(PACKAGE)-build-$$USER-XXXXXXXX`; \
939 $(MAKE) $(AM_MAKEFLAGS) \
940 rpmbuild="$$rpmbuild" \
941 rpmspec="$$rpmspec" \
942 rpm-local || exit 1; \
944 --define "_tmppath $$rpmbuild/TMP" \
945 --define "_topdir $$rpmbuild" \
946 --define "dist %{nil}" \
947 --define "require_kdir $(LINUX)" \
948 --define "require_kobj $(LINUX_OBJ)" \
949 --define "require_kver $(LINUX_VERSION)" \
950 --define "require_spldir $(SPL)" \
951 --define "require_splobj $(SPL_OBJ)" \
952 --define "require_splver $(SPL_VERSION)" \
953 --nodeps --rebuild $$rpmpkg || exit 1; \
954 cp $$rpmbuild/RPMS/*/* . || exit 1; \
957 @(if test "${HAVE_DPKGBUILD}" = "no"; then \
959 "*** Required util ${DPKGBUILD} missing. Please install the\n" \
960 "*** package for your distribution which provides ${DPKGBUILD},\n" \
961 "*** re-run configure, and try again.\n"; \
964 if test "${HAVE_ALIEN}" = "no"; then \
966 "*** Required util ${ALIEN} missing. Please install the\n" \
967 "*** package for your distribution which provides ${ALIEN},\n" \
968 "*** re-run configure, and try again.\n"; \
972 deb-modules: deb-local rpm-modules
973 name=${PACKAGE}-modules; \
974 version=${ZFS_META_VERSION}-${ZFS_META_RELEASE}; \
975 release=`echo ${LINUX_VERSION} | $(SED) -e "s/-/_/g"`; \
976 arch=`$(RPM) -qp $${name}-$${version}.src.rpm --qf %{arch} | tail -1`; \
977 pkg1=$${name}-$${version}_$${release}.$${arch}.rpm; \
978 pkg2=$${name}-devel-$${version}_$${release}.$${arch}.rpm; \
979 fakeroot $(ALIEN) --scripts --to-deb $$pkg1 $$pkg2; \
982 deb-utils: deb-local rpm-utils
984 version=${ZFS_META_VERSION}-${ZFS_META_RELEASE}; \
985 arch=`$(RPM) -qp $${name}-$${version}.src.rpm --qf %{arch} | tail -1`; \
986 pkg1=$${name}-$${version}.$${arch}.rpm; \
987 pkg2=$${name}-devel-$${version}.$${arch}.rpm; \
988 pkg3=$${name}-test-$${version}.$${arch}.rpm; \
989 pkg4=$${name}-dracut-$${version}.$${arch}.rpm; \
990 fakeroot $(ALIEN) --scripts --to-deb $$pkg1 $$pkg2 $$pkg3 $$pkg4; \
991 $(RM) $$pkg1 $$pkg2 $$pkg3 $$pkg4
993 deb: deb-modules deb-utils
995 @(if test "${HAVE_ALIEN}" = "no"; then \
997 "*** Required util ${ALIEN} missing. Please install the\n" \
998 "*** package for your distribution which provides ${ALIEN},\n" \
999 "*** re-run configure, and try again.\n"; \
1003 tgz-modules: tgz-local rpm-modules
1004 name=${PACKAGE}-modules; \
1005 version=${ZFS_META_VERSION}-${ZFS_META_RELEASE}; \
1006 release=`echo ${LINUX_VERSION} | $(SED) -e "s/-/_/g"`; \
1007 arch=`$(RPM) -qp $${name}-$${version}.src.rpm --qf %{arch} | tail -1`; \
1008 pkg1=$${name}-$${version}_$${release}.$${arch}.rpm; \
1009 pkg2=$${name}-devel-$${version}_$${release}.$${arch}.rpm; \
1010 fakeroot $(ALIEN) --scripts --to-tgz $$pkg1 $$pkg2; \
1013 tgz-utils: tgz-local rpm-utils
1015 version=${ZFS_META_VERSION}-${ZFS_META_RELEASE}; \
1016 arch=`$(RPM) -qp $${name}-$${version}.src.rpm --qf %{arch} | tail -1`; \
1017 pkg1=$${name}-$${version}.$${arch}.rpm; \
1018 pkg2=$${name}-devel-$${version}.$${arch}.rpm; \
1019 pkg3=$${name}-test-$${version}.$${arch}.rpm; \
1020 fakeroot $(ALIEN) --scripts --to-tgz $$pkg1 $$pkg2 $$pkg3; \
1021 $(RM) $$pkg1 $$pkg2 $$pkg3
1023 tgz: tgz-modules tgz-utils
1026 $(MAKE) $(AM_MAKEFLAGS) pkg="${PACKAGE}-modules" sarch-common
1029 $(MAKE) $(AM_MAKEFLAGS) pkg="${PACKAGE}" sarch-common
1031 sarch: sarch-modules sarch-utils
1034 $(MAKE) $(AM_MAKEFLAGS) pkg="${PACKAGE}-modules" arch-common
1037 $(MAKE) $(AM_MAKEFLAGS) pkg="${PACKAGE}" arch-common
1039 arch: arch-modules arch-utils
1042 @(if test "${HAVE_MAKEPKG}" = "no"; then \
1044 "*** Required util ${MAKEPKG} missing. Please install the\n" \
1045 "*** package for your distribution which provides ${MAKEPKG},\n" \
1046 "*** re-run configure, and try again.\n"; \
1051 pkgbuild=PKGBUILD-$(pkg); \
1052 $(MAKE) $(AM_MAKEFLAGS) arch-local || exit 1; \
1053 $(MAKEPKG) --allsource --skipinteg --nodeps -p $$pkgbuild || exit 1;
1056 pkgbuild=PKGBUILD-$(pkg); \
1057 $(MAKE) $(AM_MAKEFLAGS) arch-local || exit 1; \
1058 $(MAKEPKG) --skipinteg -p $$pkgbuild || exit 1;
1061 -$(RM) -R autom4te*.cache
1062 -find . \( -name SCCS -o -name BitKeeper -o -name .svn -o -name CVS \
1063 -o -name .pc -o -name .hg -o -name .git \) -prune -o \
1064 \( -name '*.orig' -o -name '*.rej' -o -name '*~' \
1065 -o -name '*.bak' -o -name '#*#' -o -name '.*.orig' \
1066 -o -name '.*.rej' -o -name '.script-config' -o -size 0 \
1067 -o -name '*%' -o -name '.*.cmd' -o -name 'core' \
1068 -o -name 'Makefile' -o -name 'Module.symvers' \
1069 -o -name '*.order' -o -name '*.markers' \) \
1070 -type f -print | xargs $(RM)
1072 @CONFIG_KERNEL_TRUE@install-data-local:
1073 @CONFIG_KERNEL_TRUE@ destname=zfs-$(ZFS_META_VERSION)/$(LINUX_VERSION); \
1074 @CONFIG_KERNEL_TRUE@ instdest=$(DESTDIR)/usr/src/$$destname; \
1075 @CONFIG_KERNEL_TRUE@ echo "$(ZFS_META_VERSION)" >$$instdest/zfs.release; \
1076 @CONFIG_KERNEL_TRUE@ for instfile in $(noinst_HEADERS) module/$(LINUX_SYMBOLS); do \
1077 @CONFIG_KERNEL_TRUE@ $(INSTALL) -D $$instfile $$instdest/$$instfile; \
1078 @CONFIG_KERNEL_TRUE@ done
1081 $(RM) $(top_srcdir)/tags
1082 find $(top_srcdir) -name .git -prune -o -name '*.[hc]' | xargs ctags
1085 $(RM) $(top_srcdir)/TAGS
1086 find $(top_srcdir) -name .pc -prune -o -name '*.[hc]' | xargs etags -a
1090 pkg: @DEFAULT_PACKAGE@
1091 pkg-modules: @DEFAULT_PACKAGE@-modules
1092 pkg-utils: @DEFAULT_PACKAGE@-utils
1094 # Tell versions [3.59,3.63) of GNU make to not export all variables.
1095 # Otherwise a system limit (for SysV at least) may be exceeded.