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-requeue-request.m4 \
77 $(top_srcdir)/config/kernel-blk-rq-bytes.m4 \
78 $(top_srcdir)/config/kernel-blk-rq-pos.m4 \
79 $(top_srcdir)/config/kernel-blk-rq-sectors.m4 \
80 $(top_srcdir)/config/kernel-blkdev-get-by-path.m4 \
81 $(top_srcdir)/config/kernel-check-disk-size-change.m4 \
82 $(top_srcdir)/config/kernel-d-obtain-alias.m4 \
83 $(top_srcdir)/config/kernel-evict-inode.m4 \
84 $(top_srcdir)/config/kernel-fmode-t.m4 \
85 $(top_srcdir)/config/kernel-fsync.m4 \
86 $(top_srcdir)/config/kernel-get-disk-ro.m4 \
87 $(top_srcdir)/config/kernel-insert-inode-locked.m4 \
88 $(top_srcdir)/config/kernel-invalidate-bdev-args.m4 \
89 $(top_srcdir)/config/kernel-kobj-name-len.m4 \
90 $(top_srcdir)/config/kernel-mount-nodev.m4 \
91 $(top_srcdir)/config/kernel-open-bdev-exclusive.m4 \
92 $(top_srcdir)/config/kernel-rq-for-each_segment.m4 \
93 $(top_srcdir)/config/kernel-rq-is_sync.m4 \
94 $(top_srcdir)/config/kernel-security-inode-init.m4 \
95 $(top_srcdir)/config/kernel-set-nlink.m4 \
96 $(top_srcdir)/config/kernel-show-options.m4 \
97 $(top_srcdir)/config/kernel-shrink.m4 \
98 $(top_srcdir)/config/kernel-truncate-setsize.m4 \
99 $(top_srcdir)/config/kernel-xattr-handler.m4 \
100 $(top_srcdir)/config/kernel.m4 \
101 $(top_srcdir)/config/user-arch.m4 \
102 $(top_srcdir)/config/user-frame-larger-than.m4 \
103 $(top_srcdir)/config/user-ioctl.m4 \
104 $(top_srcdir)/config/user-libblkid.m4 \
105 $(top_srcdir)/config/user-libuuid.m4 \
106 $(top_srcdir)/config/user-nptl_guard_within_stack.m4 \
107 $(top_srcdir)/config/user-selinux.m4 \
108 $(top_srcdir)/config/user-udev.m4 \
109 $(top_srcdir)/config/user-zlib.m4 $(top_srcdir)/config/user.m4 \
110 $(top_srcdir)/config/zfs-build.m4 \
111 $(top_srcdir)/config/zfs-meta.m4 $(top_srcdir)/configure.ac
112 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
114 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
115 configure.lineno config.status.lineno
116 mkinstalldirs = $(install_sh) -d
117 CONFIG_HEADER = zfs_config.h
118 CONFIG_CLEAN_FILES = module/Makefile module/avl/Makefile \
119 module/nvpair/Makefile module/unicode/Makefile \
120 module/zcommon/Makefile module/zfs/Makefile \
121 module/zpios/Makefile zfs.spec zfs-modules.spec PKGBUILD-zfs \
122 PKGBUILD-zfs-modules zfs-script-config.sh
123 CONFIG_CLEAN_VPATH_FILES =
124 AM_V_GEN = $(am__v_GEN_$(V))
125 am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
126 am__v_GEN_0 = @echo " GEN " $@;
127 AM_V_at = $(am__v_at_$(V))
128 am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
132 RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
133 html-recursive info-recursive install-data-recursive \
134 install-dvi-recursive install-exec-recursive \
135 install-html-recursive install-info-recursive \
136 install-pdf-recursive install-ps-recursive install-recursive \
137 installcheck-recursive installdirs-recursive pdf-recursive \
138 ps-recursive uninstall-recursive
139 HEADERS = $(noinst_HEADERS)
140 RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
141 distclean-recursive maintainer-clean-recursive
142 AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
143 $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
144 distdir dist dist-all distcheck
147 DIST_SUBDIRS = dracut udev etc man scripts lib cmd module include
148 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
149 distdir = $(PACKAGE)-$(VERSION)
150 top_distdir = $(distdir)
151 am__remove_distdir = \
152 { test ! -d "$(distdir)" \
153 || { find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
154 && rm -fr "$(distdir)"; }; }
157 sed_first='s,^\([^/]*\)/.*$$,\1,'; \
158 sed_rest='s,^[^/]*/*,,'; \
159 sed_last='s,^.*/\([^/]*\)$$,\1,'; \
160 sed_butlast='s,/*[^/]*$$,,'; \
161 while test -n "$$dir1"; do \
162 first=`echo "$$dir1" | sed -e "$$sed_first"`; \
163 if test "$$first" != "."; then \
164 if test "$$first" = ".."; then \
165 dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
166 dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
168 first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
169 if test "$$first2" = "$$first"; then \
170 dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
174 dir0="$$dir0"/"$$first"; \
177 dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
180 DIST_ARCHIVES = $(distdir).tar.gz
182 distuninstallcheck_listfiles = find . -type f -print
183 distcleancheck_listfiles = find . -type f -print
186 ALIEN_VERSION = @ALIEN_VERSION@
188 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
190 AUTOCONF = @AUTOCONF@
191 AUTOHEADER = @AUTOHEADER@
192 AUTOMAKE = @AUTOMAKE@
196 CCASDEPMODE = @CCASDEPMODE@
197 CCASFLAGS = @CCASFLAGS@
198 CCDEPMODE = @CCDEPMODE@
201 CPPFLAGS = @CPPFLAGS@
202 CYGPATH_W = @CYGPATH_W@
203 DEBUG_CFLAGS = @DEBUG_CFLAGS@
204 DEBUG_STACKFLAGS = @DEBUG_STACKFLAGS@
205 DEFAULT_INIT_DIR = @DEFAULT_INIT_DIR@
206 DEFAULT_INIT_SCRIPT = @DEFAULT_INIT_SCRIPT@
207 DEFAULT_PACKAGE = @DEFAULT_PACKAGE@
211 DPKGBUILD = @DPKGBUILD@
212 DPKGBUILD_VERSION = @DPKGBUILD_VERSION@
213 DPKG_VERSION = @DPKG_VERSION@
214 DSYMUTIL = @DSYMUTIL@
222 FRAME_LARGER_THAN = @FRAME_LARGER_THAN@
224 HAVE_ALIEN = @HAVE_ALIEN@
225 HAVE_DPKG = @HAVE_DPKG@
226 HAVE_DPKGBUILD = @HAVE_DPKGBUILD@
227 HAVE_MAKEPKG = @HAVE_MAKEPKG@
228 HAVE_PACMAN = @HAVE_PACMAN@
229 HAVE_RPM = @HAVE_RPM@
230 HAVE_RPMBUILD = @HAVE_RPMBUILD@
232 INSTALL_DATA = @INSTALL_DATA@
233 INSTALL_PROGRAM = @INSTALL_PROGRAM@
234 INSTALL_SCRIPT = @INSTALL_SCRIPT@
235 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
236 KERNELCPPFLAGS = @KERNELCPPFLAGS@
237 KERNELMAKE_PARAMS = @KERNELMAKE_PARAMS@
240 LIBBLKID = @LIBBLKID@
243 LIBSELINUX = @LIBSELINUX@
247 LINUX_OBJ = @LINUX_OBJ@
248 LINUX_SYMBOLS = @LINUX_SYMBOLS@
249 LINUX_VERSION = @LINUX_VERSION@
252 LTLIBOBJS = @LTLIBOBJS@
254 MAKEINFO = @MAKEINFO@
256 MAKEPKG_VERSION = @MAKEPKG_VERSION@
260 NO_UNUSED_BUT_SET_VARIABLE = @NO_UNUSED_BUT_SET_VARIABLE@
266 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
267 PACKAGE_NAME = @PACKAGE_NAME@
268 PACKAGE_STRING = @PACKAGE_STRING@
269 PACKAGE_TARNAME = @PACKAGE_TARNAME@
270 PACKAGE_VERSION = @PACKAGE_VERSION@
272 PACMAN_VERSION = @PACMAN_VERSION@
273 PATH_SEPARATOR = @PATH_SEPARATOR@
276 RPMBUILD = @RPMBUILD@
277 RPMBUILD_VERSION = @RPMBUILD_VERSION@
278 RPM_VERSION = @RPM_VERSION@
280 SET_MAKE = @SET_MAKE@
284 SPL_SYMBOLS = @SPL_SYMBOLS@
285 SPL_VERSION = @SPL_VERSION@
287 TARGET_ASM_DIR = @TARGET_ASM_DIR@
290 ZFS_CONFIG = @ZFS_CONFIG@
291 ZFS_META_ALIAS = @ZFS_META_ALIAS@
292 ZFS_META_AUTHOR = @ZFS_META_AUTHOR@
293 ZFS_META_DATA = @ZFS_META_DATA@
294 ZFS_META_LICENSE = @ZFS_META_LICENSE@
295 ZFS_META_LT_AGE = @ZFS_META_LT_AGE@
296 ZFS_META_LT_CURRENT = @ZFS_META_LT_CURRENT@
297 ZFS_META_LT_REVISION = @ZFS_META_LT_REVISION@
298 ZFS_META_NAME = @ZFS_META_NAME@
299 ZFS_META_RELEASE = @ZFS_META_RELEASE@
300 ZFS_META_VERSION = @ZFS_META_VERSION@
302 abs_builddir = @abs_builddir@
303 abs_srcdir = @abs_srcdir@
304 abs_top_builddir = @abs_top_builddir@
305 abs_top_srcdir = @abs_top_srcdir@
306 ac_ct_CC = @ac_ct_CC@
307 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
308 am__include = @am__include@
309 am__leading_dot = @am__leading_dot@
310 am__quote = @am__quote@
312 am__untar = @am__untar@
315 build_alias = @build_alias@
316 build_cpu = @build_cpu@
317 build_os = @build_os@
318 build_vendor = @build_vendor@
319 builddir = @builddir@
321 datarootdir = @datarootdir@
324 exec_prefix = @exec_prefix@
326 host_alias = @host_alias@
327 host_cpu = @host_cpu@
329 host_vendor = @host_vendor@
331 includedir = @includedir@
333 install_sh = @install_sh@
335 libexecdir = @libexecdir@
336 localedir = @localedir@
337 localstatedir = @localstatedir@
341 oldincludedir = @oldincludedir@
344 program_transform_name = @program_transform_name@
347 sharedstatedir = @sharedstatedir@
349 sysconfdir = @sysconfdir@
351 target_alias = @target_alias@
352 target_cpu = @target_cpu@
353 target_os = @target_os@
354 target_vendor = @target_vendor@
355 top_build_prefix = @top_build_prefix@
356 top_builddir = @top_builddir@
357 top_srcdir = @top_srcdir@
359 udevruledir = @udevruledir@
360 @CONFIG_USER_TRUE@USER_DIR = dracut udev etc man scripts lib cmd
361 @CONFIG_KERNEL_TRUE@KERNEL_DIR = module
362 SUBDIRS = $(USER_DIR) $(KERNEL_DIR) include
363 AUTOMAKE_OPTIONS = foreign
364 EXTRA_DIST = autogen.sh zfs.spec.in zfs-modules.spec.in \
365 config/config.awk config/rpm.am config/deb.am config/tgz.am \
366 META DISCLAIMER COPYRIGHT README.markdown OPENSOLARIS.LICENSE \
368 noinst_HEADERS = zfs_config.h
370 $(MAKE) $(AM_MAKEFLAGS) all-recursive
375 $(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)
377 case '$(am__configure_deps)' in \
379 echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \
380 $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \
385 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
386 $(am__cd) $(top_srcdir) && \
387 $(AUTOMAKE) --foreign Makefile
389 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
392 echo ' $(SHELL) ./config.status'; \
393 $(SHELL) ./config.status;; \
395 echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
396 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
399 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
400 $(SHELL) ./config.status --recheck
402 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
403 $(am__cd) $(srcdir) && $(AUTOCONF)
404 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
405 $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
406 $(am__aclocal_m4_deps):
408 zfs_config.h: stamp-h1
409 @if test ! -f $@; then \
411 $(MAKE) $(AM_MAKEFLAGS) stamp-h1; \
414 stamp-h1: $(srcdir)/zfs_config.h.in $(top_builddir)/config.status
416 cd $(top_builddir) && $(SHELL) ./config.status zfs_config.h
417 $(srcdir)/zfs_config.h.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
418 ($(am__cd) $(top_srcdir) && $(AUTOHEADER))
423 -rm -f zfs_config.h stamp-h1
424 module/Makefile: $(top_builddir)/config.status $(top_srcdir)/module/Makefile.in
425 cd $(top_builddir) && $(SHELL) ./config.status $@
426 module/avl/Makefile: $(top_builddir)/config.status $(top_srcdir)/module/avl/Makefile.in
427 cd $(top_builddir) && $(SHELL) ./config.status $@
428 module/nvpair/Makefile: $(top_builddir)/config.status $(top_srcdir)/module/nvpair/Makefile.in
429 cd $(top_builddir) && $(SHELL) ./config.status $@
430 module/unicode/Makefile: $(top_builddir)/config.status $(top_srcdir)/module/unicode/Makefile.in
431 cd $(top_builddir) && $(SHELL) ./config.status $@
432 module/zcommon/Makefile: $(top_builddir)/config.status $(top_srcdir)/module/zcommon/Makefile.in
433 cd $(top_builddir) && $(SHELL) ./config.status $@
434 module/zfs/Makefile: $(top_builddir)/config.status $(top_srcdir)/module/zfs/Makefile.in
435 cd $(top_builddir) && $(SHELL) ./config.status $@
436 module/zpios/Makefile: $(top_builddir)/config.status $(top_srcdir)/module/zpios/Makefile.in
437 cd $(top_builddir) && $(SHELL) ./config.status $@
438 zfs.spec: $(top_builddir)/config.status $(srcdir)/zfs.spec.in
439 cd $(top_builddir) && $(SHELL) ./config.status $@
440 zfs-modules.spec: $(top_builddir)/config.status $(srcdir)/zfs-modules.spec.in
441 cd $(top_builddir) && $(SHELL) ./config.status $@
442 PKGBUILD-zfs: $(top_builddir)/config.status $(srcdir)/PKGBUILD-zfs.in
443 cd $(top_builddir) && $(SHELL) ./config.status $@
444 PKGBUILD-zfs-modules: $(top_builddir)/config.status $(srcdir)/PKGBUILD-zfs-modules.in
445 cd $(top_builddir) && $(SHELL) ./config.status $@
446 zfs-script-config.sh: $(top_builddir)/config.status $(srcdir)/zfs-script-config.sh.in
447 cd $(top_builddir) && $(SHELL) ./config.status $@
456 -rm -f libtool config.lt
458 # This directory's subdirectories are mostly independent; you can cd
459 # into them and run `make' without going through this Makefile.
460 # To change the values of `make' variables: instead of editing Makefiles,
461 # (1) if the variable is set in `config.status', edit `config.status'
462 # (which will cause the Makefiles to be regenerated when you run `make');
463 # (2) otherwise, pass the desired values on the `make' command line.
464 $(RECURSIVE_TARGETS):
465 @fail= failcom='exit 1'; \
466 for f in x $$MAKEFLAGS; do \
469 *k*) failcom='fail=yes';; \
473 target=`echo $@ | sed s/-recursive//`; \
474 list='$(SUBDIRS)'; for subdir in $$list; do \
475 echo "Making $$target in $$subdir"; \
476 if test "$$subdir" = "."; then \
478 local_target="$$target-am"; \
480 local_target="$$target"; \
482 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
485 if test "$$dot_seen" = "no"; then \
486 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
489 $(RECURSIVE_CLEAN_TARGETS):
490 @fail= failcom='exit 1'; \
491 for f in x $$MAKEFLAGS; do \
494 *k*) failcom='fail=yes';; \
499 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
500 *) list='$(SUBDIRS)' ;; \
502 rev=''; for subdir in $$list; do \
503 if test "$$subdir" = "."; then :; else \
504 rev="$$subdir $$rev"; \
508 target=`echo $@ | sed s/-recursive//`; \
509 for subdir in $$rev; do \
510 echo "Making $$target in $$subdir"; \
511 if test "$$subdir" = "."; then \
512 local_target="$$target-am"; \
514 local_target="$$target"; \
516 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
518 done && test -z "$$fail"
520 list='$(SUBDIRS)'; for subdir in $$list; do \
521 test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
524 list='$(SUBDIRS)'; for subdir in $$list; do \
525 test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
528 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
529 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
530 unique=`for i in $$list; do \
531 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
533 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
534 END { if (nonempty) { for (i in files) print i; }; }'`; \
537 TAGS: tags-recursive $(HEADERS) $(SOURCES) zfs_config.h.in $(TAGS_DEPENDENCIES) \
538 $(TAGS_FILES) $(LISP)
541 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
542 include_option=--etags-include; \
545 include_option=--include; \
548 list='$(SUBDIRS)'; for subdir in $$list; do \
549 if test "$$subdir" = .; then :; else \
550 test ! -f $$subdir/TAGS || \
551 set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
554 list='$(SOURCES) $(HEADERS) zfs_config.h.in $(LISP) $(TAGS_FILES)'; \
555 unique=`for i in $$list; do \
556 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
558 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
559 END { if (nonempty) { for (i in files) print i; }; }'`; \
561 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
562 test -n "$$unique" || unique=$$empty_fix; \
563 if test $$# -gt 0; then \
564 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
567 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
571 CTAGS: ctags-recursive $(HEADERS) $(SOURCES) zfs_config.h.in $(TAGS_DEPENDENCIES) \
572 $(TAGS_FILES) $(LISP)
573 list='$(SOURCES) $(HEADERS) zfs_config.h.in $(LISP) $(TAGS_FILES)'; \
574 unique=`for i in $$list; do \
575 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
577 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
578 END { if (nonempty) { for (i in files) print i; }; }'`; \
579 test -z "$(CTAGS_ARGS)$$unique" \
580 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
584 here=`$(am__cd) $(top_builddir) && pwd` \
585 && $(am__cd) $(top_srcdir) \
586 && gtags -i $(GTAGS_ARGS) "$$here"
589 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
591 distdir: $(DISTFILES)
592 $(am__remove_distdir)
593 test -d "$(distdir)" || mkdir "$(distdir)"
594 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
595 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
596 list='$(DISTFILES)'; \
597 dist_files=`for file in $$list; do echo $$file; done | \
598 sed -e "s|^$$srcdirstrip/||;t" \
599 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
600 case $$dist_files in \
601 */*) $(MKDIR_P) `echo "$$dist_files" | \
602 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
605 for file in $$dist_files; do \
606 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
607 if test -d $$d/$$file; then \
608 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
609 if test -d "$(distdir)/$$file"; then \
610 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
612 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
613 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
614 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
616 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
618 test -f "$(distdir)/$$file" \
619 || cp -p $$d/$$file "$(distdir)/$$file" \
623 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
624 if test "$$subdir" = .; then :; else \
625 test -d "$(distdir)/$$subdir" \
626 || $(MKDIR_P) "$(distdir)/$$subdir" \
630 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
631 if test "$$subdir" = .; then :; else \
632 dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
634 new_distdir=$$reldir; \
635 dir1=$$subdir; dir2="$(top_distdir)"; \
637 new_top_distdir=$$reldir; \
638 echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
639 echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
640 ($(am__cd) $$subdir && \
641 $(MAKE) $(AM_MAKEFLAGS) \
642 top_distdir="$$new_top_distdir" \
643 distdir="$$new_distdir" \
644 am__remove_distdir=: \
645 am__skip_length_check=: \
646 am__skip_mode_fix=: \
651 -test -n "$(am__skip_mode_fix)" \
652 || find "$(distdir)" -type d ! -perm -755 \
653 -exec chmod u+rwx,go+rx {} \; -o \
654 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
655 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
656 ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
657 || chmod -R a+r "$(distdir)"
659 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
660 $(am__remove_distdir)
663 tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
664 $(am__remove_distdir)
667 tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
668 $(am__remove_distdir)
671 tardir=$(distdir) && $(am__tar) | xz -c >$(distdir).tar.xz
672 $(am__remove_distdir)
675 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
676 $(am__remove_distdir)
679 shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
680 $(am__remove_distdir)
683 -rm -f $(distdir).zip
684 zip -rq $(distdir).zip $(distdir)
685 $(am__remove_distdir)
687 dist dist-all: distdir
688 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
689 $(am__remove_distdir)
691 # This target untars the dist file and tries a VPATH configuration. Then
692 # it guarantees that the distribution is self-contained by making another
695 case '$(DIST_ARCHIVES)' in \
697 GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
699 bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
701 lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\
703 xz -dc $(distdir).tar.xz | $(am__untar) ;;\
705 uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
707 GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
709 unzip $(distdir).zip ;;\
711 chmod -R a-w $(distdir); chmod a+w $(distdir)
712 mkdir $(distdir)/_build
713 mkdir $(distdir)/_inst
715 test -d $(distdir)/_build || exit 0; \
716 dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
717 && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
719 && $(am__cd) $(distdir)/_build \
720 && ../configure --srcdir=.. --prefix="$$dc_install_base" \
721 $(DISTCHECK_CONFIGURE_FLAGS) \
722 && $(MAKE) $(AM_MAKEFLAGS) \
723 && $(MAKE) $(AM_MAKEFLAGS) dvi \
724 && $(MAKE) $(AM_MAKEFLAGS) check \
725 && $(MAKE) $(AM_MAKEFLAGS) install \
726 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
727 && $(MAKE) $(AM_MAKEFLAGS) uninstall \
728 && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
730 && chmod -R a-w "$$dc_install_base" \
732 (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
733 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
734 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
735 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
736 distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
737 } || { rm -rf "$$dc_destdir"; exit 1; }) \
738 && rm -rf "$$dc_destdir" \
739 && $(MAKE) $(AM_MAKEFLAGS) dist \
740 && rm -rf $(DIST_ARCHIVES) \
741 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
744 $(am__remove_distdir)
745 @(echo "$(distdir) archives ready for distribution: "; \
746 list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
747 sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
749 @$(am__cd) '$(distuninstallcheck_dir)' \
750 && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
751 || { echo "ERROR: files left after uninstall:" ; \
752 if test -n "$(DESTDIR)"; then \
753 echo " (check DESTDIR support)"; \
755 $(distuninstallcheck_listfiles) ; \
757 distcleancheck: distclean
758 @if test '$(srcdir)' = . ; then \
759 echo "ERROR: distcleancheck can only run from a VPATH build" ; \
762 @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
763 || { echo "ERROR: files left in build directory after distclean:" ; \
764 $(distcleancheck_listfiles) ; \
767 check: check-recursive
768 all-am: Makefile $(HEADERS) zfs_config.h
769 installdirs: installdirs-recursive
771 install: install-recursive
772 install-exec: install-exec-recursive
773 install-data: install-data-recursive
774 uninstall: uninstall-recursive
777 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
779 installcheck: installcheck-recursive
781 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
782 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
783 `test -z '$(STRIP)' || \
784 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
790 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
791 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
793 maintainer-clean-generic:
794 @echo "This command is intended for maintainers to use"
795 @echo "it deletes files that may require special tools to rebuild."
796 @CONFIG_KERNEL_FALSE@install-data-local:
797 clean: clean-recursive
799 clean-am: clean-generic clean-libtool mostlyclean-am
801 distclean: distclean-recursive
802 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
804 distclean-am: clean-am distclean-generic distclean-hdr \
805 distclean-libtool distclean-local distclean-tags
819 install-data-am: install-data-local
821 install-dvi: install-dvi-recursive
827 install-html: install-html-recursive
831 install-info: install-info-recursive
837 install-pdf: install-pdf-recursive
841 install-ps: install-ps-recursive
847 maintainer-clean: maintainer-clean-recursive
848 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
849 -rm -rf $(top_srcdir)/autom4te.cache
851 maintainer-clean-am: distclean-am maintainer-clean-generic
853 mostlyclean: mostlyclean-recursive
855 mostlyclean-am: mostlyclean-generic mostlyclean-libtool
867 .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all \
868 ctags-recursive install-am install-strip tags-recursive
870 .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
871 all all-am am--refresh check check-am clean clean-generic \
872 clean-libtool ctags ctags-recursive dist dist-all dist-bzip2 \
873 dist-gzip dist-lzma dist-shar dist-tarZ dist-xz dist-zip \
874 distcheck distclean distclean-generic distclean-hdr \
875 distclean-libtool distclean-local distclean-tags \
876 distcleancheck distdir distuninstallcheck dvi dvi-am html \
877 html-am info info-am install install-am install-data \
878 install-data-am install-data-local install-dvi install-dvi-am \
879 install-exec install-exec-am install-html install-html-am \
880 install-info install-info-am install-man install-pdf \
881 install-pdf-am install-ps install-ps-am install-strip \
882 installcheck installcheck-am installdirs installdirs-am \
883 maintainer-clean maintainer-clean-generic mostlyclean \
884 mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
885 tags tags-recursive uninstall uninstall-am
888 $(MAKE) $(AM_MAKEFLAGS) pkg="${PACKAGE}-modules" srpm-common
891 $(MAKE) $(AM_MAKEFLAGS) pkg="${PACKAGE}" srpm-common
893 srpm: srpm-modules srpm-utils
895 rpm-modules: srpm-modules
896 $(MAKE) $(AM_MAKEFLAGS) pkg="${PACKAGE}-modules" rpm-common
898 rpm-utils: srpm-utils
899 $(MAKE) $(AM_MAKEFLAGS) pkg="${PACKAGE}" rpm-common
901 rpm-modules: srpm-modules
903 rpm: rpm-modules rpm-utils
906 @(if test "${HAVE_RPMBUILD}" = "no"; then \
908 "*** Required util ${RPMBUILD} missing. Please install the\n" \
909 "*** package for your distribution which provides ${RPMBUILD},\n" \
910 "*** re-run configure, and try again.\n"; \
913 mkdir -p $(rpmbuild)/TMP && \
914 mkdir -p $(rpmbuild)/BUILD && \
915 mkdir -p $(rpmbuild)/RPMS && \
916 mkdir -p $(rpmbuild)/SRPMS && \
917 mkdir -p $(rpmbuild)/SPECS && \
918 cp $(rpmspec) $(rpmbuild)/SPECS && \
919 mkdir -p $(rpmbuild)/SOURCES && \
920 cp $(distdir).tar.gz $(rpmbuild)/SOURCES)
923 rpmpkg=$(pkg)-$(ZFS_META_VERSION)-$(ZFS_META_RELEASE).src.rpm; \
924 rpmspec=$(pkg).spec; \
925 rpmbuild=`mktemp -t -d $(PACKAGE)-build-$$USER-XXXXXXXX`; \
926 $(MAKE) $(AM_MAKEFLAGS) \
927 rpmbuild="$$rpmbuild" \
928 rpmspec="$$rpmspec" \
929 rpm-local || exit 1; \
931 --define "_tmppath $$rpmbuild/TMP" \
932 --define "_topdir $$rpmbuild" \
933 --define "build_src_rpm 1" \
934 --define "dist %{nil}" \
935 --nodeps -bs $$rpmbuild/SPECS/$$rpmspec || exit 1; \
936 cp $$rpmbuild/SRPMS/$$rpmpkg . || exit 1; \
940 rpmpkg=$(pkg)-$(ZFS_META_VERSION)-$(ZFS_META_RELEASE).src.rpm; \
941 rpmspec=$(pkg).spec; \
942 rpmbuild=`mktemp -t -d $(PACKAGE)-build-$$USER-XXXXXXXX`; \
943 $(MAKE) $(AM_MAKEFLAGS) \
944 rpmbuild="$$rpmbuild" \
945 rpmspec="$$rpmspec" \
946 rpm-local || exit 1; \
948 --define "_tmppath $$rpmbuild/TMP" \
949 --define "_topdir $$rpmbuild" \
950 --define "dist %{nil}" \
951 --define "require_kdir $(LINUX)" \
952 --define "require_kobj $(LINUX_OBJ)" \
953 --define "require_kver $(LINUX_VERSION)" \
954 --define "require_spldir $(SPL)" \
955 --define "require_splobj $(SPL_OBJ)" \
956 --define "require_splver $(SPL_VERSION)" \
957 --nodeps --rebuild $$rpmpkg || exit 1; \
958 cp $$rpmbuild/RPMS/*/* . || exit 1; \
961 @(if test "${HAVE_DPKGBUILD}" = "no"; then \
963 "*** Required util ${DPKGBUILD} missing. Please install the\n" \
964 "*** package for your distribution which provides ${DPKGBUILD},\n" \
965 "*** re-run configure, and try again.\n"; \
968 if test "${HAVE_ALIEN}" = "no"; then \
970 "*** Required util ${ALIEN} missing. Please install the\n" \
971 "*** package for your distribution which provides ${ALIEN},\n" \
972 "*** re-run configure, and try again.\n"; \
976 deb-modules: deb-local rpm-modules
977 name=${PACKAGE}-modules; \
978 version=${ZFS_META_VERSION}-${ZFS_META_RELEASE}; \
979 release=`echo ${LINUX_VERSION} | $(SED) -e "s/-/_/g"`; \
980 arch=`$(RPM) -qp $${name}-$${version}.src.rpm --qf %{arch} | tail -1`; \
981 pkg1=$${name}-$${version}_$${release}.$${arch}.rpm; \
982 pkg2=$${name}-devel-$${version}_$${release}.$${arch}.rpm; \
983 fakeroot $(ALIEN) --scripts --to-deb $$pkg1 $$pkg2; \
986 deb-utils: deb-local rpm-utils
988 version=${ZFS_META_VERSION}-${ZFS_META_RELEASE}; \
989 arch=`$(RPM) -qp $${name}-$${version}.src.rpm --qf %{arch} | tail -1`; \
990 pkg1=$${name}-$${version}.$${arch}.rpm; \
991 pkg2=$${name}-devel-$${version}.$${arch}.rpm; \
992 pkg3=$${name}-test-$${version}.$${arch}.rpm; \
993 pkg4=$${name}-dracut-$${version}.$${arch}.rpm; \
994 fakeroot $(ALIEN) --scripts --to-deb $$pkg1 $$pkg2 $$pkg3 $$pkg4; \
995 $(RM) $$pkg1 $$pkg2 $$pkg3 $$pkg4
997 deb: deb-modules deb-utils
999 @(if test "${HAVE_ALIEN}" = "no"; then \
1001 "*** Required util ${ALIEN} missing. Please install the\n" \
1002 "*** package for your distribution which provides ${ALIEN},\n" \
1003 "*** re-run configure, and try again.\n"; \
1007 tgz-modules: tgz-local rpm-modules
1008 name=${PACKAGE}-modules; \
1009 version=${ZFS_META_VERSION}-${ZFS_META_RELEASE}; \
1010 release=`echo ${LINUX_VERSION} | $(SED) -e "s/-/_/g"`; \
1011 arch=`$(RPM) -qp $${name}-$${version}.src.rpm --qf %{arch} | tail -1`; \
1012 pkg1=$${name}-$${version}_$${release}.$${arch}.rpm; \
1013 pkg2=$${name}-devel-$${version}_$${release}.$${arch}.rpm; \
1014 fakeroot $(ALIEN) --scripts --to-tgz $$pkg1 $$pkg2; \
1017 tgz-utils: tgz-local rpm-utils
1019 version=${ZFS_META_VERSION}-${ZFS_META_RELEASE}; \
1020 arch=`$(RPM) -qp $${name}-$${version}.src.rpm --qf %{arch} | tail -1`; \
1021 pkg1=$${name}-$${version}.$${arch}.rpm; \
1022 pkg2=$${name}-devel-$${version}.$${arch}.rpm; \
1023 pkg3=$${name}-test-$${version}.$${arch}.rpm; \
1024 fakeroot $(ALIEN) --scripts --to-tgz $$pkg1 $$pkg2 $$pkg3; \
1025 $(RM) $$pkg1 $$pkg2 $$pkg3
1027 tgz: tgz-modules tgz-utils
1030 $(MAKE) $(AM_MAKEFLAGS) pkg="${PACKAGE}-modules" sarch-common
1033 $(MAKE) $(AM_MAKEFLAGS) pkg="${PACKAGE}" sarch-common
1035 sarch: sarch-modules sarch-utils
1038 $(MAKE) $(AM_MAKEFLAGS) pkg="${PACKAGE}-modules" arch-common
1041 $(MAKE) $(AM_MAKEFLAGS) pkg="${PACKAGE}" arch-common
1043 arch: arch-modules arch-utils
1046 @(if test "${HAVE_MAKEPKG}" = "no"; then \
1048 "*** Required util ${MAKEPKG} missing. Please install the\n" \
1049 "*** package for your distribution which provides ${MAKEPKG},\n" \
1050 "*** re-run configure, and try again.\n"; \
1055 pkgbuild=PKGBUILD-$(pkg); \
1056 $(MAKE) $(AM_MAKEFLAGS) arch-local || exit 1; \
1057 $(MAKEPKG) --allsource --skipinteg --nodeps -p $$pkgbuild || exit 1;
1060 pkgbuild=PKGBUILD-$(pkg); \
1061 $(MAKE) $(AM_MAKEFLAGS) arch-local || exit 1; \
1062 $(MAKEPKG) --skipinteg -p $$pkgbuild || exit 1;
1065 -$(RM) -R autom4te*.cache
1066 -find . \( -name SCCS -o -name BitKeeper -o -name .svn -o -name CVS \
1067 -o -name .pc -o -name .hg -o -name .git \) -prune -o \
1068 \( -name '*.orig' -o -name '*.rej' -o -name '*~' \
1069 -o -name '*.bak' -o -name '#*#' -o -name '.*.orig' \
1070 -o -name '.*.rej' -o -name '.script-config' -o -size 0 \
1071 -o -name '*%' -o -name '.*.cmd' -o -name 'core' \
1072 -o -name 'Makefile' -o -name 'Module.symvers' \
1073 -o -name '*.order' -o -name '*.markers' \) \
1074 -type f -print | xargs $(RM)
1076 @CONFIG_KERNEL_TRUE@install-data-local:
1077 @CONFIG_KERNEL_TRUE@ release=$(ZFS_META_VERSION)-$(ZFS_META_RELEASE); \
1078 @CONFIG_KERNEL_TRUE@ instdest=$(DESTDIR)/usr/src/zfs-$$release/$(LINUX_VERSION); \
1079 @CONFIG_KERNEL_TRUE@ echo "$$release" >$$instdest/zfs.release; \
1080 @CONFIG_KERNEL_TRUE@ for instfile in $(noinst_HEADERS) module/$(LINUX_SYMBOLS); do \
1081 @CONFIG_KERNEL_TRUE@ $(INSTALL) -D $$instfile $$instdest/$$instfile; \
1082 @CONFIG_KERNEL_TRUE@ done
1085 $(RM) $(top_srcdir)/tags
1086 find $(top_srcdir) -name .git -prune -o -name '*.[hc]' | xargs ctags
1089 $(RM) $(top_srcdir)/TAGS
1090 find $(top_srcdir) -name .pc -prune -o -name '*.[hc]' | xargs etags -a
1094 pkg: @DEFAULT_PACKAGE@
1095 pkg-modules: @DEFAULT_PACKAGE@-modules
1096 pkg-utils: @DEFAULT_PACKAGE@-utils
1098 # Tell versions [3.59,3.63) of GNU make to not export all variables.
1099 # Otherwise a system limit (for SysV at least) may be exceeded.