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-queue-flush.m4 \
76 $(top_srcdir)/config/kernel-blk-queue-io-opt.m4 \
77 $(top_srcdir)/config/kernel-blk-queue-max-hw-sectors.m4 \
78 $(top_srcdir)/config/kernel-blk-queue-max-segments.m4 \
79 $(top_srcdir)/config/kernel-blk-queue-nonrot.m4 \
80 $(top_srcdir)/config/kernel-blk-queue-physical-block-size.m4 \
81 $(top_srcdir)/config/kernel-blk-requeue-request.m4 \
82 $(top_srcdir)/config/kernel-blk-rq-bytes.m4 \
83 $(top_srcdir)/config/kernel-blk-rq-pos.m4 \
84 $(top_srcdir)/config/kernel-blk-rq-sectors.m4 \
85 $(top_srcdir)/config/kernel-blkdev-get-by-path.m4 \
86 $(top_srcdir)/config/kernel-check-disk-size-change.m4 \
87 $(top_srcdir)/config/kernel-d-obtain-alias.m4 \
88 $(top_srcdir)/config/kernel-evict-inode.m4 \
89 $(top_srcdir)/config/kernel-fmode-t.m4 \
90 $(top_srcdir)/config/kernel-fsync.m4 \
91 $(top_srcdir)/config/kernel-get-disk-ro.m4 \
92 $(top_srcdir)/config/kernel-insert-inode-locked.m4 \
93 $(top_srcdir)/config/kernel-invalidate-bdev-args.m4 \
94 $(top_srcdir)/config/kernel-kobj-name-len.m4 \
95 $(top_srcdir)/config/kernel-mount-nodev.m4 \
96 $(top_srcdir)/config/kernel-open-bdev-exclusive.m4 \
97 $(top_srcdir)/config/kernel-rq-for-each_segment.m4 \
98 $(top_srcdir)/config/kernel-rq-is_sync.m4 \
99 $(top_srcdir)/config/kernel-security-inode-init.m4 \
100 $(top_srcdir)/config/kernel-set-nlink.m4 \
101 $(top_srcdir)/config/kernel-show-options.m4 \
102 $(top_srcdir)/config/kernel-shrink.m4 \
103 $(top_srcdir)/config/kernel-truncate-setsize.m4 \
104 $(top_srcdir)/config/kernel-xattr-handler.m4 \
105 $(top_srcdir)/config/kernel.m4 \
106 $(top_srcdir)/config/user-arch.m4 \
107 $(top_srcdir)/config/user-frame-larger-than.m4 \
108 $(top_srcdir)/config/user-ioctl.m4 \
109 $(top_srcdir)/config/user-libblkid.m4 \
110 $(top_srcdir)/config/user-libuuid.m4 \
111 $(top_srcdir)/config/user-nptl_guard_within_stack.m4 \
112 $(top_srcdir)/config/user-selinux.m4 \
113 $(top_srcdir)/config/user-udev.m4 \
114 $(top_srcdir)/config/user-zlib.m4 $(top_srcdir)/config/user.m4 \
115 $(top_srcdir)/config/zfs-build.m4 \
116 $(top_srcdir)/config/zfs-meta.m4 $(top_srcdir)/configure.ac
117 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
119 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
120 configure.lineno config.status.lineno
121 mkinstalldirs = $(install_sh) -d
122 CONFIG_HEADER = zfs_config.h
123 CONFIG_CLEAN_FILES = module/Makefile module/avl/Makefile \
124 module/nvpair/Makefile module/unicode/Makefile \
125 module/zcommon/Makefile module/zfs/Makefile \
126 module/zpios/Makefile zfs.spec zfs-modules.spec PKGBUILD-zfs \
127 PKGBUILD-zfs-modules zfs-script-config.sh
128 CONFIG_CLEAN_VPATH_FILES =
129 AM_V_GEN = $(am__v_GEN_$(V))
130 am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
131 am__v_GEN_0 = @echo " GEN " $@;
132 AM_V_at = $(am__v_at_$(V))
133 am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
137 RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
138 html-recursive info-recursive install-data-recursive \
139 install-dvi-recursive install-exec-recursive \
140 install-html-recursive install-info-recursive \
141 install-pdf-recursive install-ps-recursive install-recursive \
142 installcheck-recursive installdirs-recursive pdf-recursive \
143 ps-recursive uninstall-recursive
144 HEADERS = $(noinst_HEADERS)
145 RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
146 distclean-recursive maintainer-clean-recursive
147 AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
148 $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
149 distdir dist dist-all distcheck
152 DIST_SUBDIRS = dracut udev etc man scripts lib cmd module include
153 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
154 distdir = $(PACKAGE)-$(VERSION)
155 top_distdir = $(distdir)
156 am__remove_distdir = \
157 { test ! -d "$(distdir)" \
158 || { find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
159 && rm -fr "$(distdir)"; }; }
162 sed_first='s,^\([^/]*\)/.*$$,\1,'; \
163 sed_rest='s,^[^/]*/*,,'; \
164 sed_last='s,^.*/\([^/]*\)$$,\1,'; \
165 sed_butlast='s,/*[^/]*$$,,'; \
166 while test -n "$$dir1"; do \
167 first=`echo "$$dir1" | sed -e "$$sed_first"`; \
168 if test "$$first" != "."; then \
169 if test "$$first" = ".."; then \
170 dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
171 dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
173 first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
174 if test "$$first2" = "$$first"; then \
175 dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
179 dir0="$$dir0"/"$$first"; \
182 dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
185 DIST_ARCHIVES = $(distdir).tar.gz
187 distuninstallcheck_listfiles = find . -type f -print
188 distcleancheck_listfiles = find . -type f -print
191 ALIEN_VERSION = @ALIEN_VERSION@
193 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
195 AUTOCONF = @AUTOCONF@
196 AUTOHEADER = @AUTOHEADER@
197 AUTOMAKE = @AUTOMAKE@
201 CCASDEPMODE = @CCASDEPMODE@
202 CCASFLAGS = @CCASFLAGS@
203 CCDEPMODE = @CCDEPMODE@
206 CPPFLAGS = @CPPFLAGS@
207 CYGPATH_W = @CYGPATH_W@
208 DEBUG_CFLAGS = @DEBUG_CFLAGS@
209 DEBUG_STACKFLAGS = @DEBUG_STACKFLAGS@
210 DEFAULT_INIT_DIR = @DEFAULT_INIT_DIR@
211 DEFAULT_INIT_SCRIPT = @DEFAULT_INIT_SCRIPT@
212 DEFAULT_PACKAGE = @DEFAULT_PACKAGE@
216 DPKGBUILD = @DPKGBUILD@
217 DPKGBUILD_VERSION = @DPKGBUILD_VERSION@
218 DPKG_VERSION = @DPKG_VERSION@
219 DSYMUTIL = @DSYMUTIL@
227 FRAME_LARGER_THAN = @FRAME_LARGER_THAN@
229 HAVE_ALIEN = @HAVE_ALIEN@
230 HAVE_DPKG = @HAVE_DPKG@
231 HAVE_DPKGBUILD = @HAVE_DPKGBUILD@
232 HAVE_MAKEPKG = @HAVE_MAKEPKG@
233 HAVE_PACMAN = @HAVE_PACMAN@
234 HAVE_RPM = @HAVE_RPM@
235 HAVE_RPMBUILD = @HAVE_RPMBUILD@
237 INSTALL_DATA = @INSTALL_DATA@
238 INSTALL_PROGRAM = @INSTALL_PROGRAM@
239 INSTALL_SCRIPT = @INSTALL_SCRIPT@
240 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
241 KERNELCPPFLAGS = @KERNELCPPFLAGS@
242 KERNELMAKE_PARAMS = @KERNELMAKE_PARAMS@
245 LIBBLKID = @LIBBLKID@
248 LIBSELINUX = @LIBSELINUX@
252 LINUX_OBJ = @LINUX_OBJ@
253 LINUX_SYMBOLS = @LINUX_SYMBOLS@
254 LINUX_VERSION = @LINUX_VERSION@
257 LTLIBOBJS = @LTLIBOBJS@
259 MAKEINFO = @MAKEINFO@
261 MAKEPKG_VERSION = @MAKEPKG_VERSION@
265 NO_UNUSED_BUT_SET_VARIABLE = @NO_UNUSED_BUT_SET_VARIABLE@
271 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
272 PACKAGE_NAME = @PACKAGE_NAME@
273 PACKAGE_STRING = @PACKAGE_STRING@
274 PACKAGE_TARNAME = @PACKAGE_TARNAME@
275 PACKAGE_VERSION = @PACKAGE_VERSION@
277 PACMAN_VERSION = @PACMAN_VERSION@
278 PATH_SEPARATOR = @PATH_SEPARATOR@
281 RPMBUILD = @RPMBUILD@
282 RPMBUILD_VERSION = @RPMBUILD_VERSION@
283 RPM_VERSION = @RPM_VERSION@
285 SET_MAKE = @SET_MAKE@
289 SPL_SYMBOLS = @SPL_SYMBOLS@
290 SPL_VERSION = @SPL_VERSION@
292 TARGET_ASM_DIR = @TARGET_ASM_DIR@
295 ZFS_CONFIG = @ZFS_CONFIG@
296 ZFS_META_ALIAS = @ZFS_META_ALIAS@
297 ZFS_META_AUTHOR = @ZFS_META_AUTHOR@
298 ZFS_META_DATA = @ZFS_META_DATA@
299 ZFS_META_LICENSE = @ZFS_META_LICENSE@
300 ZFS_META_LT_AGE = @ZFS_META_LT_AGE@
301 ZFS_META_LT_CURRENT = @ZFS_META_LT_CURRENT@
302 ZFS_META_LT_REVISION = @ZFS_META_LT_REVISION@
303 ZFS_META_NAME = @ZFS_META_NAME@
304 ZFS_META_RELEASE = @ZFS_META_RELEASE@
305 ZFS_META_VERSION = @ZFS_META_VERSION@
307 abs_builddir = @abs_builddir@
308 abs_srcdir = @abs_srcdir@
309 abs_top_builddir = @abs_top_builddir@
310 abs_top_srcdir = @abs_top_srcdir@
311 ac_ct_CC = @ac_ct_CC@
312 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
313 am__include = @am__include@
314 am__leading_dot = @am__leading_dot@
315 am__quote = @am__quote@
317 am__untar = @am__untar@
320 build_alias = @build_alias@
321 build_cpu = @build_cpu@
322 build_os = @build_os@
323 build_vendor = @build_vendor@
324 builddir = @builddir@
326 datarootdir = @datarootdir@
329 exec_prefix = @exec_prefix@
331 host_alias = @host_alias@
332 host_cpu = @host_cpu@
334 host_vendor = @host_vendor@
336 includedir = @includedir@
338 install_sh = @install_sh@
340 libexecdir = @libexecdir@
341 localedir = @localedir@
342 localstatedir = @localstatedir@
346 oldincludedir = @oldincludedir@
349 program_transform_name = @program_transform_name@
352 sharedstatedir = @sharedstatedir@
354 sysconfdir = @sysconfdir@
356 target_alias = @target_alias@
357 target_cpu = @target_cpu@
358 target_os = @target_os@
359 target_vendor = @target_vendor@
360 top_build_prefix = @top_build_prefix@
361 top_builddir = @top_builddir@
362 top_srcdir = @top_srcdir@
364 udevruledir = @udevruledir@
365 @CONFIG_USER_TRUE@USER_DIR = dracut udev etc man scripts lib cmd
366 @CONFIG_KERNEL_TRUE@KERNEL_DIR = module
367 SUBDIRS = $(USER_DIR) $(KERNEL_DIR) include
368 AUTOMAKE_OPTIONS = foreign
369 EXTRA_DIST = autogen.sh zfs.spec.in zfs-modules.spec.in \
370 config/config.awk config/rpm.am config/deb.am config/tgz.am \
371 META DISCLAIMER COPYRIGHT README.markdown OPENSOLARIS.LICENSE \
373 noinst_HEADERS = zfs_config.h
375 $(MAKE) $(AM_MAKEFLAGS) all-recursive
380 $(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)
382 case '$(am__configure_deps)' in \
384 echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \
385 $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \
390 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
391 $(am__cd) $(top_srcdir) && \
392 $(AUTOMAKE) --foreign Makefile
394 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
397 echo ' $(SHELL) ./config.status'; \
398 $(SHELL) ./config.status;; \
400 echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
401 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
404 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
405 $(SHELL) ./config.status --recheck
407 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
408 $(am__cd) $(srcdir) && $(AUTOCONF)
409 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
410 $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
411 $(am__aclocal_m4_deps):
413 zfs_config.h: stamp-h1
414 @if test ! -f $@; then \
416 $(MAKE) $(AM_MAKEFLAGS) stamp-h1; \
419 stamp-h1: $(srcdir)/zfs_config.h.in $(top_builddir)/config.status
421 cd $(top_builddir) && $(SHELL) ./config.status zfs_config.h
422 $(srcdir)/zfs_config.h.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
423 ($(am__cd) $(top_srcdir) && $(AUTOHEADER))
428 -rm -f zfs_config.h stamp-h1
429 module/Makefile: $(top_builddir)/config.status $(top_srcdir)/module/Makefile.in
430 cd $(top_builddir) && $(SHELL) ./config.status $@
431 module/avl/Makefile: $(top_builddir)/config.status $(top_srcdir)/module/avl/Makefile.in
432 cd $(top_builddir) && $(SHELL) ./config.status $@
433 module/nvpair/Makefile: $(top_builddir)/config.status $(top_srcdir)/module/nvpair/Makefile.in
434 cd $(top_builddir) && $(SHELL) ./config.status $@
435 module/unicode/Makefile: $(top_builddir)/config.status $(top_srcdir)/module/unicode/Makefile.in
436 cd $(top_builddir) && $(SHELL) ./config.status $@
437 module/zcommon/Makefile: $(top_builddir)/config.status $(top_srcdir)/module/zcommon/Makefile.in
438 cd $(top_builddir) && $(SHELL) ./config.status $@
439 module/zfs/Makefile: $(top_builddir)/config.status $(top_srcdir)/module/zfs/Makefile.in
440 cd $(top_builddir) && $(SHELL) ./config.status $@
441 module/zpios/Makefile: $(top_builddir)/config.status $(top_srcdir)/module/zpios/Makefile.in
442 cd $(top_builddir) && $(SHELL) ./config.status $@
443 zfs.spec: $(top_builddir)/config.status $(srcdir)/zfs.spec.in
444 cd $(top_builddir) && $(SHELL) ./config.status $@
445 zfs-modules.spec: $(top_builddir)/config.status $(srcdir)/zfs-modules.spec.in
446 cd $(top_builddir) && $(SHELL) ./config.status $@
447 PKGBUILD-zfs: $(top_builddir)/config.status $(srcdir)/PKGBUILD-zfs.in
448 cd $(top_builddir) && $(SHELL) ./config.status $@
449 PKGBUILD-zfs-modules: $(top_builddir)/config.status $(srcdir)/PKGBUILD-zfs-modules.in
450 cd $(top_builddir) && $(SHELL) ./config.status $@
451 zfs-script-config.sh: $(top_builddir)/config.status $(srcdir)/zfs-script-config.sh.in
452 cd $(top_builddir) && $(SHELL) ./config.status $@
461 -rm -f libtool config.lt
463 # This directory's subdirectories are mostly independent; you can cd
464 # into them and run `make' without going through this Makefile.
465 # To change the values of `make' variables: instead of editing Makefiles,
466 # (1) if the variable is set in `config.status', edit `config.status'
467 # (which will cause the Makefiles to be regenerated when you run `make');
468 # (2) otherwise, pass the desired values on the `make' command line.
469 $(RECURSIVE_TARGETS):
470 @fail= failcom='exit 1'; \
471 for f in x $$MAKEFLAGS; do \
474 *k*) failcom='fail=yes';; \
478 target=`echo $@ | sed s/-recursive//`; \
479 list='$(SUBDIRS)'; for subdir in $$list; do \
480 echo "Making $$target in $$subdir"; \
481 if test "$$subdir" = "."; then \
483 local_target="$$target-am"; \
485 local_target="$$target"; \
487 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
490 if test "$$dot_seen" = "no"; then \
491 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
494 $(RECURSIVE_CLEAN_TARGETS):
495 @fail= failcom='exit 1'; \
496 for f in x $$MAKEFLAGS; do \
499 *k*) failcom='fail=yes';; \
504 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
505 *) list='$(SUBDIRS)' ;; \
507 rev=''; for subdir in $$list; do \
508 if test "$$subdir" = "."; then :; else \
509 rev="$$subdir $$rev"; \
513 target=`echo $@ | sed s/-recursive//`; \
514 for subdir in $$rev; do \
515 echo "Making $$target in $$subdir"; \
516 if test "$$subdir" = "."; then \
517 local_target="$$target-am"; \
519 local_target="$$target"; \
521 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
523 done && test -z "$$fail"
525 list='$(SUBDIRS)'; for subdir in $$list; do \
526 test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
529 list='$(SUBDIRS)'; for subdir in $$list; do \
530 test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
533 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
534 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
535 unique=`for i in $$list; do \
536 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
538 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
539 END { if (nonempty) { for (i in files) print i; }; }'`; \
542 TAGS: tags-recursive $(HEADERS) $(SOURCES) zfs_config.h.in $(TAGS_DEPENDENCIES) \
543 $(TAGS_FILES) $(LISP)
546 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
547 include_option=--etags-include; \
550 include_option=--include; \
553 list='$(SUBDIRS)'; for subdir in $$list; do \
554 if test "$$subdir" = .; then :; else \
555 test ! -f $$subdir/TAGS || \
556 set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
559 list='$(SOURCES) $(HEADERS) zfs_config.h.in $(LISP) $(TAGS_FILES)'; \
560 unique=`for i in $$list; do \
561 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
563 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
564 END { if (nonempty) { for (i in files) print i; }; }'`; \
566 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
567 test -n "$$unique" || unique=$$empty_fix; \
568 if test $$# -gt 0; then \
569 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
572 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
576 CTAGS: ctags-recursive $(HEADERS) $(SOURCES) zfs_config.h.in $(TAGS_DEPENDENCIES) \
577 $(TAGS_FILES) $(LISP)
578 list='$(SOURCES) $(HEADERS) zfs_config.h.in $(LISP) $(TAGS_FILES)'; \
579 unique=`for i in $$list; do \
580 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
582 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
583 END { if (nonempty) { for (i in files) print i; }; }'`; \
584 test -z "$(CTAGS_ARGS)$$unique" \
585 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
589 here=`$(am__cd) $(top_builddir) && pwd` \
590 && $(am__cd) $(top_srcdir) \
591 && gtags -i $(GTAGS_ARGS) "$$here"
594 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
596 distdir: $(DISTFILES)
597 $(am__remove_distdir)
598 test -d "$(distdir)" || mkdir "$(distdir)"
599 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
600 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
601 list='$(DISTFILES)'; \
602 dist_files=`for file in $$list; do echo $$file; done | \
603 sed -e "s|^$$srcdirstrip/||;t" \
604 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
605 case $$dist_files in \
606 */*) $(MKDIR_P) `echo "$$dist_files" | \
607 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
610 for file in $$dist_files; do \
611 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
612 if test -d $$d/$$file; then \
613 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
614 if test -d "$(distdir)/$$file"; then \
615 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
617 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
618 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
619 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
621 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
623 test -f "$(distdir)/$$file" \
624 || cp -p $$d/$$file "$(distdir)/$$file" \
628 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
629 if test "$$subdir" = .; then :; else \
630 test -d "$(distdir)/$$subdir" \
631 || $(MKDIR_P) "$(distdir)/$$subdir" \
635 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
636 if test "$$subdir" = .; then :; else \
637 dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
639 new_distdir=$$reldir; \
640 dir1=$$subdir; dir2="$(top_distdir)"; \
642 new_top_distdir=$$reldir; \
643 echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
644 echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
645 ($(am__cd) $$subdir && \
646 $(MAKE) $(AM_MAKEFLAGS) \
647 top_distdir="$$new_top_distdir" \
648 distdir="$$new_distdir" \
649 am__remove_distdir=: \
650 am__skip_length_check=: \
651 am__skip_mode_fix=: \
656 -test -n "$(am__skip_mode_fix)" \
657 || find "$(distdir)" -type d ! -perm -755 \
658 -exec chmod u+rwx,go+rx {} \; -o \
659 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
660 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
661 ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
662 || chmod -R a+r "$(distdir)"
664 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
665 $(am__remove_distdir)
668 tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
669 $(am__remove_distdir)
672 tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
673 $(am__remove_distdir)
676 tardir=$(distdir) && $(am__tar) | xz -c >$(distdir).tar.xz
677 $(am__remove_distdir)
680 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
681 $(am__remove_distdir)
684 shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
685 $(am__remove_distdir)
688 -rm -f $(distdir).zip
689 zip -rq $(distdir).zip $(distdir)
690 $(am__remove_distdir)
692 dist dist-all: distdir
693 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
694 $(am__remove_distdir)
696 # This target untars the dist file and tries a VPATH configuration. Then
697 # it guarantees that the distribution is self-contained by making another
700 case '$(DIST_ARCHIVES)' in \
702 GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
704 bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
706 lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\
708 xz -dc $(distdir).tar.xz | $(am__untar) ;;\
710 uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
712 GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
714 unzip $(distdir).zip ;;\
716 chmod -R a-w $(distdir); chmod a+w $(distdir)
717 mkdir $(distdir)/_build
718 mkdir $(distdir)/_inst
720 test -d $(distdir)/_build || exit 0; \
721 dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
722 && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
724 && $(am__cd) $(distdir)/_build \
725 && ../configure --srcdir=.. --prefix="$$dc_install_base" \
726 $(DISTCHECK_CONFIGURE_FLAGS) \
727 && $(MAKE) $(AM_MAKEFLAGS) \
728 && $(MAKE) $(AM_MAKEFLAGS) dvi \
729 && $(MAKE) $(AM_MAKEFLAGS) check \
730 && $(MAKE) $(AM_MAKEFLAGS) install \
731 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
732 && $(MAKE) $(AM_MAKEFLAGS) uninstall \
733 && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
735 && chmod -R a-w "$$dc_install_base" \
737 (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
738 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
739 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
740 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
741 distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
742 } || { rm -rf "$$dc_destdir"; exit 1; }) \
743 && rm -rf "$$dc_destdir" \
744 && $(MAKE) $(AM_MAKEFLAGS) dist \
745 && rm -rf $(DIST_ARCHIVES) \
746 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
749 $(am__remove_distdir)
750 @(echo "$(distdir) archives ready for distribution: "; \
751 list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
752 sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
754 @$(am__cd) '$(distuninstallcheck_dir)' \
755 && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
756 || { echo "ERROR: files left after uninstall:" ; \
757 if test -n "$(DESTDIR)"; then \
758 echo " (check DESTDIR support)"; \
760 $(distuninstallcheck_listfiles) ; \
762 distcleancheck: distclean
763 @if test '$(srcdir)' = . ; then \
764 echo "ERROR: distcleancheck can only run from a VPATH build" ; \
767 @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
768 || { echo "ERROR: files left in build directory after distclean:" ; \
769 $(distcleancheck_listfiles) ; \
772 check: check-recursive
773 all-am: Makefile $(HEADERS) zfs_config.h
774 installdirs: installdirs-recursive
776 install: install-recursive
777 install-exec: install-exec-recursive
778 install-data: install-data-recursive
779 uninstall: uninstall-recursive
782 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
784 installcheck: installcheck-recursive
786 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
787 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
788 `test -z '$(STRIP)' || \
789 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
795 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
796 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
798 maintainer-clean-generic:
799 @echo "This command is intended for maintainers to use"
800 @echo "it deletes files that may require special tools to rebuild."
801 @CONFIG_KERNEL_FALSE@install-data-local:
802 clean: clean-recursive
804 clean-am: clean-generic clean-libtool mostlyclean-am
806 distclean: distclean-recursive
807 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
809 distclean-am: clean-am distclean-generic distclean-hdr \
810 distclean-libtool distclean-local distclean-tags
824 install-data-am: install-data-local
826 install-dvi: install-dvi-recursive
832 install-html: install-html-recursive
836 install-info: install-info-recursive
842 install-pdf: install-pdf-recursive
846 install-ps: install-ps-recursive
852 maintainer-clean: maintainer-clean-recursive
853 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
854 -rm -rf $(top_srcdir)/autom4te.cache
856 maintainer-clean-am: distclean-am maintainer-clean-generic
858 mostlyclean: mostlyclean-recursive
860 mostlyclean-am: mostlyclean-generic mostlyclean-libtool
872 .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all \
873 ctags-recursive install-am install-strip tags-recursive
875 .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
876 all all-am am--refresh check check-am clean clean-generic \
877 clean-libtool ctags ctags-recursive dist dist-all dist-bzip2 \
878 dist-gzip dist-lzma dist-shar dist-tarZ dist-xz dist-zip \
879 distcheck distclean distclean-generic distclean-hdr \
880 distclean-libtool distclean-local distclean-tags \
881 distcleancheck distdir distuninstallcheck dvi dvi-am html \
882 html-am info info-am install install-am install-data \
883 install-data-am install-data-local install-dvi install-dvi-am \
884 install-exec install-exec-am install-html install-html-am \
885 install-info install-info-am install-man install-pdf \
886 install-pdf-am install-ps install-ps-am install-strip \
887 installcheck installcheck-am installdirs installdirs-am \
888 maintainer-clean maintainer-clean-generic mostlyclean \
889 mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
890 tags tags-recursive uninstall uninstall-am
893 $(MAKE) $(AM_MAKEFLAGS) pkg="${PACKAGE}-modules" srpm-common
896 $(MAKE) $(AM_MAKEFLAGS) pkg="${PACKAGE}" srpm-common
898 srpm: srpm-modules srpm-utils
900 rpm-modules: srpm-modules
901 $(MAKE) $(AM_MAKEFLAGS) pkg="${PACKAGE}-modules" rpm-common
903 rpm-utils: srpm-utils
904 $(MAKE) $(AM_MAKEFLAGS) pkg="${PACKAGE}" rpm-common
906 rpm-modules: srpm-modules
908 rpm: rpm-modules rpm-utils
911 @(if test "${HAVE_RPMBUILD}" = "no"; then \
913 "*** Required util ${RPMBUILD} missing. Please install the\n" \
914 "*** package for your distribution which provides ${RPMBUILD},\n" \
915 "*** re-run configure, and try again.\n"; \
918 mkdir -p $(rpmbuild)/TMP && \
919 mkdir -p $(rpmbuild)/BUILD && \
920 mkdir -p $(rpmbuild)/RPMS && \
921 mkdir -p $(rpmbuild)/SRPMS && \
922 mkdir -p $(rpmbuild)/SPECS && \
923 cp $(rpmspec) $(rpmbuild)/SPECS && \
924 mkdir -p $(rpmbuild)/SOURCES && \
925 cp $(distdir).tar.gz $(rpmbuild)/SOURCES)
928 rpmpkg=$(pkg)-$(ZFS_META_VERSION)-$(ZFS_META_RELEASE).src.rpm; \
929 rpmspec=$(pkg).spec; \
930 rpmbuild=`mktemp -t -d $(PACKAGE)-build-$$USER-XXXXXXXX`; \
931 $(MAKE) $(AM_MAKEFLAGS) \
932 rpmbuild="$$rpmbuild" \
933 rpmspec="$$rpmspec" \
934 rpm-local || exit 1; \
936 --define "_tmppath $$rpmbuild/TMP" \
937 --define "_topdir $$rpmbuild" \
938 --define "build_src_rpm 1" \
939 --define "dist %{nil}" \
940 --nodeps -bs $$rpmbuild/SPECS/$$rpmspec || exit 1; \
941 cp $$rpmbuild/SRPMS/$$rpmpkg . || exit 1; \
945 rpmpkg=$(pkg)-$(ZFS_META_VERSION)-$(ZFS_META_RELEASE).src.rpm; \
946 rpmspec=$(pkg).spec; \
947 rpmbuild=`mktemp -t -d $(PACKAGE)-build-$$USER-XXXXXXXX`; \
948 $(MAKE) $(AM_MAKEFLAGS) \
949 rpmbuild="$$rpmbuild" \
950 rpmspec="$$rpmspec" \
951 rpm-local || exit 1; \
953 --define "_tmppath $$rpmbuild/TMP" \
954 --define "_topdir $$rpmbuild" \
955 --define "dist %{nil}" \
956 --define "require_kdir $(LINUX)" \
957 --define "require_kobj $(LINUX_OBJ)" \
958 --define "require_kver $(LINUX_VERSION)" \
959 --define "require_spldir $(SPL)" \
960 --define "require_splobj $(SPL_OBJ)" \
961 --define "require_splver $(SPL_VERSION)" \
962 --nodeps --rebuild $$rpmpkg || exit 1; \
963 cp $$rpmbuild/RPMS/*/* . || exit 1; \
966 @(if test "${HAVE_DPKGBUILD}" = "no"; then \
968 "*** Required util ${DPKGBUILD} missing. Please install the\n" \
969 "*** package for your distribution which provides ${DPKGBUILD},\n" \
970 "*** re-run configure, and try again.\n"; \
973 if test "${HAVE_ALIEN}" = "no"; then \
975 "*** Required util ${ALIEN} missing. Please install the\n" \
976 "*** package for your distribution which provides ${ALIEN},\n" \
977 "*** re-run configure, and try again.\n"; \
981 deb-modules: deb-local rpm-modules
982 name=${PACKAGE}-modules; \
983 version=${ZFS_META_VERSION}-${ZFS_META_RELEASE}; \
984 release=`echo ${LINUX_VERSION} | $(SED) -e "s/-/_/g"`; \
985 arch=`$(RPM) -qp $${name}-$${version}.src.rpm --qf %{arch} | tail -1`; \
986 pkg1=$${name}-$${version}_$${release}.$${arch}.rpm; \
987 pkg2=$${name}-devel-$${version}_$${release}.$${arch}.rpm; \
988 fakeroot $(ALIEN) --scripts --to-deb $$pkg1 $$pkg2; \
991 deb-utils: deb-local rpm-utils
993 version=${ZFS_META_VERSION}-${ZFS_META_RELEASE}; \
994 arch=`$(RPM) -qp $${name}-$${version}.src.rpm --qf %{arch} | tail -1`; \
995 pkg1=$${name}-$${version}.$${arch}.rpm; \
996 pkg2=$${name}-devel-$${version}.$${arch}.rpm; \
997 pkg3=$${name}-test-$${version}.$${arch}.rpm; \
998 pkg4=$${name}-dracut-$${version}.$${arch}.rpm; \
999 fakeroot $(ALIEN) --scripts --to-deb $$pkg1 $$pkg2 $$pkg3 $$pkg4; \
1000 $(RM) $$pkg1 $$pkg2 $$pkg3 $$pkg4
1002 deb: deb-modules deb-utils
1004 @(if test "${HAVE_ALIEN}" = "no"; then \
1006 "*** Required util ${ALIEN} missing. Please install the\n" \
1007 "*** package for your distribution which provides ${ALIEN},\n" \
1008 "*** re-run configure, and try again.\n"; \
1012 tgz-modules: tgz-local rpm-modules
1013 name=${PACKAGE}-modules; \
1014 version=${ZFS_META_VERSION}-${ZFS_META_RELEASE}; \
1015 release=`echo ${LINUX_VERSION} | $(SED) -e "s/-/_/g"`; \
1016 arch=`$(RPM) -qp $${name}-$${version}.src.rpm --qf %{arch} | tail -1`; \
1017 pkg1=$${name}-$${version}_$${release}.$${arch}.rpm; \
1018 pkg2=$${name}-devel-$${version}_$${release}.$${arch}.rpm; \
1019 fakeroot $(ALIEN) --scripts --to-tgz $$pkg1 $$pkg2; \
1022 tgz-utils: tgz-local rpm-utils
1024 version=${ZFS_META_VERSION}-${ZFS_META_RELEASE}; \
1025 arch=`$(RPM) -qp $${name}-$${version}.src.rpm --qf %{arch} | tail -1`; \
1026 pkg1=$${name}-$${version}.$${arch}.rpm; \
1027 pkg2=$${name}-devel-$${version}.$${arch}.rpm; \
1028 pkg3=$${name}-test-$${version}.$${arch}.rpm; \
1029 fakeroot $(ALIEN) --scripts --to-tgz $$pkg1 $$pkg2 $$pkg3; \
1030 $(RM) $$pkg1 $$pkg2 $$pkg3
1032 tgz: tgz-modules tgz-utils
1035 $(MAKE) $(AM_MAKEFLAGS) pkg="${PACKAGE}-modules" sarch-common
1038 $(MAKE) $(AM_MAKEFLAGS) pkg="${PACKAGE}" sarch-common
1040 sarch: sarch-modules sarch-utils
1043 $(MAKE) $(AM_MAKEFLAGS) pkg="${PACKAGE}-modules" arch-common
1046 $(MAKE) $(AM_MAKEFLAGS) pkg="${PACKAGE}" arch-common
1048 arch: arch-modules arch-utils
1051 @(if test "${HAVE_MAKEPKG}" = "no"; then \
1053 "*** Required util ${MAKEPKG} missing. Please install the\n" \
1054 "*** package for your distribution which provides ${MAKEPKG},\n" \
1055 "*** re-run configure, and try again.\n"; \
1060 pkgbuild=PKGBUILD-$(pkg); \
1061 $(MAKE) $(AM_MAKEFLAGS) arch-local || exit 1; \
1062 $(MAKEPKG) --allsource --skipinteg --nodeps -p $$pkgbuild || exit 1;
1065 pkgbuild=PKGBUILD-$(pkg); \
1066 $(MAKE) $(AM_MAKEFLAGS) arch-local || exit 1; \
1067 $(MAKEPKG) --skipinteg -p $$pkgbuild || exit 1;
1070 -$(RM) -R autom4te*.cache
1071 -find . \( -name SCCS -o -name BitKeeper -o -name .svn -o -name CVS \
1072 -o -name .pc -o -name .hg -o -name .git \) -prune -o \
1073 \( -name '*.orig' -o -name '*.rej' -o -name '*~' \
1074 -o -name '*.bak' -o -name '#*#' -o -name '.*.orig' \
1075 -o -name '.*.rej' -o -name '.script-config' -o -size 0 \
1076 -o -name '*%' -o -name '.*.cmd' -o -name 'core' \
1077 -o -name 'Makefile' -o -name 'Module.symvers' \
1078 -o -name '*.order' -o -name '*.markers' \) \
1079 -type f -print | xargs $(RM)
1081 @CONFIG_KERNEL_TRUE@install-data-local:
1082 @CONFIG_KERNEL_TRUE@ release=$(ZFS_META_VERSION)-$(ZFS_META_RELEASE); \
1083 @CONFIG_KERNEL_TRUE@ instdest=$(DESTDIR)/usr/src/zfs-$$release/$(LINUX_VERSION); \
1084 @CONFIG_KERNEL_TRUE@ echo "$$release" >$$instdest/zfs.release; \
1085 @CONFIG_KERNEL_TRUE@ for instfile in $(noinst_HEADERS) module/$(LINUX_SYMBOLS); do \
1086 @CONFIG_KERNEL_TRUE@ $(INSTALL) -D $$instfile $$instdest/$$instfile; \
1087 @CONFIG_KERNEL_TRUE@ done
1090 $(RM) $(top_srcdir)/tags
1091 find $(top_srcdir) -name .git -prune -o -name '*.[hc]' | xargs ctags
1094 $(RM) $(top_srcdir)/TAGS
1095 find $(top_srcdir) -name .pc -prune -o -name '*.[hc]' | xargs etags -a
1099 pkg: @DEFAULT_PACKAGE@
1100 pkg-modules: @DEFAULT_PACKAGE@-modules
1101 pkg-utils: @DEFAULT_PACKAGE@-utils
1103 # Tell versions [3.59,3.63) of GNU make to not export all variables.
1104 # Otherwise a system limit (for SysV at least) may be exceeded.