Set zvol discard_granularity to the volblocksize.
[zfs.git] / Makefile.in
1 # Makefile.in generated by automake 1.11.1 from Makefile.am.
2 # @configure_input@
3
4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5 # 2003, 2004, 2005, 2006, 2007, 2008, 2009  Free Software Foundation,
6 # Inc.
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.
10
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
14 # PARTICULAR PURPOSE.
15
16 @SET_MAKE@
17
18 ###############################################################################
19 # Written by Prakash Surya <surya1@llnl.gov>
20 ###############################################################################
21 # Build targets for RPM packages.
22 ###############################################################################
23
24 VPATH = @srcdir@
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)
35 NORMAL_INSTALL = :
36 PRE_INSTALL = :
37 POST_INSTALL = :
38 NORMAL_UNINSTALL = :
39 PRE_UNINSTALL = :
40 POST_UNINSTALL = :
41 build_triplet = @build@
42 host_triplet = @host@
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.release.in \
49         $(srcdir)/zfs.spec.in $(srcdir)/zfs_config.h.in \
50         $(top_srcdir)/config/arch.am $(top_srcdir)/config/deb.am \
51         $(top_srcdir)/config/rpm.am $(top_srcdir)/config/tgz.am \
52         $(top_srcdir)/configure $(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
61 subdir = .
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-automount.m4 \
66         $(top_srcdir)/config/kernel-bdev-block-device-operations.m4 \
67         $(top_srcdir)/config/kernel-bdev-logical-size.m4 \
68         $(top_srcdir)/config/kernel-bdi-setup-and-register.m4 \
69         $(top_srcdir)/config/kernel-bdi.m4 \
70         $(top_srcdir)/config/kernel-bio-empty-barrier.m4 \
71         $(top_srcdir)/config/kernel-bio-end-io-t-args.m4 \
72         $(top_srcdir)/config/kernel-bio-failfast.m4 \
73         $(top_srcdir)/config/kernel-bio-rw-syncio.m4 \
74         $(top_srcdir)/config/kernel-blk-end-request.m4 \
75         $(top_srcdir)/config/kernel-blk-fetch-request.m4 \
76         $(top_srcdir)/config/kernel-blk-queue-discard.m4 \
77         $(top_srcdir)/config/kernel-blk-queue-flush.m4 \
78         $(top_srcdir)/config/kernel-blk-queue-io-opt.m4 \
79         $(top_srcdir)/config/kernel-blk-queue-max-hw-sectors.m4 \
80         $(top_srcdir)/config/kernel-blk-queue-max-segments.m4 \
81         $(top_srcdir)/config/kernel-blk-queue-nonrot.m4 \
82         $(top_srcdir)/config/kernel-blk-queue-physical-block-size.m4 \
83         $(top_srcdir)/config/kernel-blk-requeue-request.m4 \
84         $(top_srcdir)/config/kernel-blk-rq-bytes.m4 \
85         $(top_srcdir)/config/kernel-blk-rq-pos.m4 \
86         $(top_srcdir)/config/kernel-blk-rq-sectors.m4 \
87         $(top_srcdir)/config/kernel-blkdev-get-by-path.m4 \
88         $(top_srcdir)/config/kernel-blkdev-get.m4 \
89         $(top_srcdir)/config/kernel-check-disk-size-change.m4 \
90         $(top_srcdir)/config/kernel-clear-inode.m4 \
91         $(top_srcdir)/config/kernel-create-umode-t.m4 \
92         $(top_srcdir)/config/kernel-d-make-root.m4 \
93         $(top_srcdir)/config/kernel-d-obtain-alias.m4 \
94         $(top_srcdir)/config/kernel-discard-granularity.m4 \
95         $(top_srcdir)/config/kernel-encode-fh-inode.m4 \
96         $(top_srcdir)/config/kernel-evict-inode.m4 \
97         $(top_srcdir)/config/kernel-fallocate.m4 \
98         $(top_srcdir)/config/kernel-fmode-t.m4 \
99         $(top_srcdir)/config/kernel-fsync.m4 \
100         $(top_srcdir)/config/kernel-get-disk-ro.m4 \
101         $(top_srcdir)/config/kernel-get-gendisk.m4 \
102         $(top_srcdir)/config/kernel-insert-inode-locked.m4 \
103         $(top_srcdir)/config/kernel-invalidate-bdev-args.m4 \
104         $(top_srcdir)/config/kernel-kobj-name-len.m4 \
105         $(top_srcdir)/config/kernel-mount-nodev.m4 \
106         $(top_srcdir)/config/kernel-open-bdev-exclusive.m4 \
107         $(top_srcdir)/config/kernel-rq-for-each_segment.m4 \
108         $(top_srcdir)/config/kernel-rq-is_sync.m4 \
109         $(top_srcdir)/config/kernel-security-inode-init.m4 \
110         $(top_srcdir)/config/kernel-set-nlink.m4 \
111         $(top_srcdir)/config/kernel-show-options.m4 \
112         $(top_srcdir)/config/kernel-shrink.m4 \
113         $(top_srcdir)/config/kernel-truncate-range.m4 \
114         $(top_srcdir)/config/kernel-truncate-setsize.m4 \
115         $(top_srcdir)/config/kernel-xattr-handler.m4 \
116         $(top_srcdir)/config/kernel.m4 \
117         $(top_srcdir)/config/user-arch.m4 \
118         $(top_srcdir)/config/user-frame-larger-than.m4 \
119         $(top_srcdir)/config/user-ioctl.m4 \
120         $(top_srcdir)/config/user-libblkid.m4 \
121         $(top_srcdir)/config/user-libuuid.m4 \
122         $(top_srcdir)/config/user-nptl_guard_within_stack.m4 \
123         $(top_srcdir)/config/user-selinux.m4 \
124         $(top_srcdir)/config/user-udev.m4 \
125         $(top_srcdir)/config/user-zlib.m4 $(top_srcdir)/config/user.m4 \
126         $(top_srcdir)/config/zfs-build.m4 \
127         $(top_srcdir)/config/zfs-meta.m4 $(top_srcdir)/configure.ac
128 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
129         $(ACLOCAL_M4)
130 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
131  configure.lineno config.status.lineno
132 mkinstalldirs = $(install_sh) -d
133 CONFIG_HEADER = zfs_config.h
134 CONFIG_CLEAN_FILES = module/Makefile module/avl/Makefile \
135         module/nvpair/Makefile module/unicode/Makefile \
136         module/zcommon/Makefile module/zfs/Makefile \
137         module/zpios/Makefile zfs.spec zfs-modules.spec PKGBUILD-zfs \
138         PKGBUILD-zfs-modules zfs-script-config.sh zfs.release
139 CONFIG_CLEAN_VPATH_FILES =
140 AM_V_GEN = $(am__v_GEN_$(V))
141 am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
142 am__v_GEN_0 = @echo "  GEN   " $@;
143 AM_V_at = $(am__v_at_$(V))
144 am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
145 am__v_at_0 = @
146 SOURCES =
147 DIST_SOURCES =
148 RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
149         html-recursive info-recursive install-data-recursive \
150         install-dvi-recursive install-exec-recursive \
151         install-html-recursive install-info-recursive \
152         install-pdf-recursive install-ps-recursive install-recursive \
153         installcheck-recursive installdirs-recursive pdf-recursive \
154         ps-recursive uninstall-recursive
155 HEADERS = $(noinst_HEADERS)
156 RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
157   distclean-recursive maintainer-clean-recursive
158 AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
159         $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
160         distdir dist dist-all distcheck
161 ETAGS = etags
162 CTAGS = ctags
163 DIST_SUBDIRS = dracut udev etc man scripts lib cmd module include
164 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
165 distdir = $(PACKAGE)-$(VERSION)
166 top_distdir = $(distdir)
167 am__remove_distdir = \
168   { test ! -d "$(distdir)" \
169     || { find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
170          && rm -fr "$(distdir)"; }; }
171 am__relativize = \
172   dir0=`pwd`; \
173   sed_first='s,^\([^/]*\)/.*$$,\1,'; \
174   sed_rest='s,^[^/]*/*,,'; \
175   sed_last='s,^.*/\([^/]*\)$$,\1,'; \
176   sed_butlast='s,/*[^/]*$$,,'; \
177   while test -n "$$dir1"; do \
178     first=`echo "$$dir1" | sed -e "$$sed_first"`; \
179     if test "$$first" != "."; then \
180       if test "$$first" = ".."; then \
181         dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
182         dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
183       else \
184         first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
185         if test "$$first2" = "$$first"; then \
186           dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
187         else \
188           dir2="../$$dir2"; \
189         fi; \
190         dir0="$$dir0"/"$$first"; \
191       fi; \
192     fi; \
193     dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
194   done; \
195   reldir="$$dir2"
196 DIST_ARCHIVES = $(distdir).tar.gz
197 GZIP_ENV = --best
198 distuninstallcheck_listfiles = find . -type f -print
199 distcleancheck_listfiles = find . -type f -print
200 ACLOCAL = @ACLOCAL@
201 ALIEN = @ALIEN@
202 ALIEN_VERSION = @ALIEN_VERSION@
203 AMTAR = @AMTAR@
204 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
205 AR = @AR@
206 AUTOCONF = @AUTOCONF@
207 AUTOHEADER = @AUTOHEADER@
208 AUTOMAKE = @AUTOMAKE@
209 AWK = @AWK@
210 CC = @CC@
211 CCAS = @CCAS@
212 CCASDEPMODE = @CCASDEPMODE@
213 CCASFLAGS = @CCASFLAGS@
214 CCDEPMODE = @CCDEPMODE@
215 CFLAGS = @CFLAGS@
216 CPP = @CPP@
217 CPPFLAGS = @CPPFLAGS@
218 CYGPATH_W = @CYGPATH_W@
219 DEBUG_CFLAGS = @DEBUG_CFLAGS@
220 DEBUG_DMU_TX = @DEBUG_DMU_TX@
221 DEBUG_STACKFLAGS = @DEBUG_STACKFLAGS@
222 DEBUG_ZFS = @DEBUG_ZFS@
223 DEFAULT_INIT_DIR = @DEFAULT_INIT_DIR@
224 DEFAULT_INIT_SCRIPT = @DEFAULT_INIT_SCRIPT@
225 DEFAULT_PACKAGE = @DEFAULT_PACKAGE@
226 DEFS = @DEFS@
227 DEPDIR = @DEPDIR@
228 DPKG = @DPKG@
229 DPKGBUILD = @DPKGBUILD@
230 DPKGBUILD_VERSION = @DPKGBUILD_VERSION@
231 DPKG_VERSION = @DPKG_VERSION@
232 DSYMUTIL = @DSYMUTIL@
233 DUMPBIN = @DUMPBIN@
234 ECHO_C = @ECHO_C@
235 ECHO_N = @ECHO_N@
236 ECHO_T = @ECHO_T@
237 EGREP = @EGREP@
238 EXEEXT = @EXEEXT@
239 FGREP = @FGREP@
240 FRAME_LARGER_THAN = @FRAME_LARGER_THAN@
241 GREP = @GREP@
242 HAVE_ALIEN = @HAVE_ALIEN@
243 HAVE_DPKG = @HAVE_DPKG@
244 HAVE_DPKGBUILD = @HAVE_DPKGBUILD@
245 HAVE_MAKEPKG = @HAVE_MAKEPKG@
246 HAVE_PACMAN = @HAVE_PACMAN@
247 HAVE_RPM = @HAVE_RPM@
248 HAVE_RPMBUILD = @HAVE_RPMBUILD@
249 INSTALL = @INSTALL@
250 INSTALL_DATA = @INSTALL_DATA@
251 INSTALL_PROGRAM = @INSTALL_PROGRAM@
252 INSTALL_SCRIPT = @INSTALL_SCRIPT@
253 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
254 KERNELCPPFLAGS = @KERNELCPPFLAGS@
255 KERNELMAKE_PARAMS = @KERNELMAKE_PARAMS@
256 LD = @LD@
257 LDFLAGS = @LDFLAGS@
258 LIBBLKID = @LIBBLKID@
259 LIBOBJS = @LIBOBJS@
260 LIBS = @LIBS@
261 LIBSELINUX = @LIBSELINUX@
262 LIBTOOL = @LIBTOOL@
263 LIBUUID = @LIBUUID@
264 LINUX = @LINUX@
265 LINUX_OBJ = @LINUX_OBJ@
266 LINUX_SYMBOLS = @LINUX_SYMBOLS@
267 LINUX_VERSION = @LINUX_VERSION@
268 LIPO = @LIPO@
269 LN_S = @LN_S@
270 LTLIBOBJS = @LTLIBOBJS@
271 MAINT = @MAINT@
272 MAKEINFO = @MAKEINFO@
273 MAKEPKG = @MAKEPKG@
274 MAKEPKG_VERSION = @MAKEPKG_VERSION@
275 MKDIR_P = @MKDIR_P@
276 NM = @NM@
277 NMEDIT = @NMEDIT@
278 NO_UNUSED_BUT_SET_VARIABLE = @NO_UNUSED_BUT_SET_VARIABLE@
279 OBJDUMP = @OBJDUMP@
280 OBJEXT = @OBJEXT@
281 OTOOL = @OTOOL@
282 OTOOL64 = @OTOOL64@
283 PACKAGE = @PACKAGE@
284 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
285 PACKAGE_NAME = @PACKAGE_NAME@
286 PACKAGE_STRING = @PACKAGE_STRING@
287 PACKAGE_TARNAME = @PACKAGE_TARNAME@
288 PACKAGE_VERSION = @PACKAGE_VERSION@
289 PACMAN = @PACMAN@
290 PACMAN_VERSION = @PACMAN_VERSION@
291 PATH_SEPARATOR = @PATH_SEPARATOR@
292 RANLIB = @RANLIB@
293 RPM = @RPM@
294 RPMBUILD = @RPMBUILD@
295 RPMBUILD_VERSION = @RPMBUILD_VERSION@
296 RPM_VERSION = @RPM_VERSION@
297 SED = @SED@
298 SET_MAKE = @SET_MAKE@
299 SHELL = @SHELL@
300 SPL = @SPL@
301 SPL_OBJ = @SPL_OBJ@
302 SPL_SYMBOLS = @SPL_SYMBOLS@
303 SPL_VERSION = @SPL_VERSION@
304 STRIP = @STRIP@
305 TARGET_ASM_DIR = @TARGET_ASM_DIR@
306 VENDOR = @VENDOR@
307 VERSION = @VERSION@
308 ZFS_CONFIG = @ZFS_CONFIG@
309 ZFS_META_ALIAS = @ZFS_META_ALIAS@
310 ZFS_META_AUTHOR = @ZFS_META_AUTHOR@
311 ZFS_META_DATA = @ZFS_META_DATA@
312 ZFS_META_LICENSE = @ZFS_META_LICENSE@
313 ZFS_META_LT_AGE = @ZFS_META_LT_AGE@
314 ZFS_META_LT_CURRENT = @ZFS_META_LT_CURRENT@
315 ZFS_META_LT_REVISION = @ZFS_META_LT_REVISION@
316 ZFS_META_NAME = @ZFS_META_NAME@
317 ZFS_META_RELEASE = @ZFS_META_RELEASE@
318 ZFS_META_VERSION = @ZFS_META_VERSION@
319 ZLIB = @ZLIB@
320 abs_builddir = @abs_builddir@
321 abs_srcdir = @abs_srcdir@
322 abs_top_builddir = @abs_top_builddir@
323 abs_top_srcdir = @abs_top_srcdir@
324 ac_ct_CC = @ac_ct_CC@
325 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
326 am__include = @am__include@
327 am__leading_dot = @am__leading_dot@
328 am__quote = @am__quote@
329 am__tar = @am__tar@
330 am__untar = @am__untar@
331 bindir = @bindir@
332 build = @build@
333 build_alias = @build_alias@
334 build_cpu = @build_cpu@
335 build_os = @build_os@
336 build_vendor = @build_vendor@
337 builddir = @builddir@
338 datadir = @datadir@
339 datarootdir = @datarootdir@
340 docdir = @docdir@
341 dvidir = @dvidir@
342 exec_prefix = @exec_prefix@
343 host = @host@
344 host_alias = @host_alias@
345 host_cpu = @host_cpu@
346 host_os = @host_os@
347 host_vendor = @host_vendor@
348 htmldir = @htmldir@
349 includedir = @includedir@
350 infodir = @infodir@
351 install_sh = @install_sh@
352 libdir = @libdir@
353 libexecdir = @libexecdir@
354 localedir = @localedir@
355 localstatedir = @localstatedir@
356 lt_ECHO = @lt_ECHO@
357 mandir = @mandir@
358 mkdir_p = @mkdir_p@
359 oldincludedir = @oldincludedir@
360 pdfdir = @pdfdir@
361 prefix = @prefix@
362 program_transform_name = @program_transform_name@
363 psdir = @psdir@
364 sbindir = @sbindir@
365 sharedstatedir = @sharedstatedir@
366 srcdir = @srcdir@
367 sysconfdir = @sysconfdir@
368 target = @target@
369 target_alias = @target_alias@
370 target_cpu = @target_cpu@
371 target_os = @target_os@
372 target_vendor = @target_vendor@
373 top_build_prefix = @top_build_prefix@
374 top_builddir = @top_builddir@
375 top_srcdir = @top_srcdir@
376 udevdir = @udevdir@
377 udevruledir = @udevruledir@
378 @CONFIG_USER_TRUE@USER_DIR = dracut udev etc man scripts lib cmd
379 @CONFIG_KERNEL_TRUE@KERNEL_DIR = module
380 SUBDIRS = $(USER_DIR) $(KERNEL_DIR) include
381 AUTOMAKE_OPTIONS = foreign
382 EXTRA_DIST = autogen.sh zfs.spec.in zfs-modules.spec.in \
383         config/config.awk config/rpm.am config/deb.am config/tgz.am \
384         META DISCLAIMER COPYRIGHT README.markdown OPENSOLARIS.LICENSE \
385         ZFS.RELEASE
386 noinst_HEADERS = zfs_config.h zfs.release
387 all: zfs_config.h
388         $(MAKE) $(AM_MAKEFLAGS) all-recursive
389
390 .SUFFIXES:
391 am--refresh:
392         @:
393 $(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)
394         @for dep in $?; do \
395           case '$(am__configure_deps)' in \
396             *$$dep*) \
397               echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \
398               $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \
399                 && exit 0; \
400               exit 1;; \
401           esac; \
402         done; \
403         echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
404         $(am__cd) $(top_srcdir) && \
405           $(AUTOMAKE) --foreign Makefile
406 .PRECIOUS: Makefile
407 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
408         @case '$?' in \
409           *config.status*) \
410             echo ' $(SHELL) ./config.status'; \
411             $(SHELL) ./config.status;; \
412           *) \
413             echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
414             cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
415         esac;
416
417 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
418         $(SHELL) ./config.status --recheck
419
420 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
421         $(am__cd) $(srcdir) && $(AUTOCONF)
422 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
423         $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
424 $(am__aclocal_m4_deps):
425
426 zfs_config.h: stamp-h1
427         @if test ! -f $@; then \
428           rm -f stamp-h1; \
429           $(MAKE) $(AM_MAKEFLAGS) stamp-h1; \
430         else :; fi
431
432 stamp-h1: $(srcdir)/zfs_config.h.in $(top_builddir)/config.status
433         @rm -f stamp-h1
434         cd $(top_builddir) && $(SHELL) ./config.status zfs_config.h
435 $(srcdir)/zfs_config.h.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) 
436         ($(am__cd) $(top_srcdir) && $(AUTOHEADER))
437         rm -f stamp-h1
438         touch $@
439
440 distclean-hdr:
441         -rm -f zfs_config.h stamp-h1
442 module/Makefile: $(top_builddir)/config.status $(top_srcdir)/module/Makefile.in
443         cd $(top_builddir) && $(SHELL) ./config.status $@
444 module/avl/Makefile: $(top_builddir)/config.status $(top_srcdir)/module/avl/Makefile.in
445         cd $(top_builddir) && $(SHELL) ./config.status $@
446 module/nvpair/Makefile: $(top_builddir)/config.status $(top_srcdir)/module/nvpair/Makefile.in
447         cd $(top_builddir) && $(SHELL) ./config.status $@
448 module/unicode/Makefile: $(top_builddir)/config.status $(top_srcdir)/module/unicode/Makefile.in
449         cd $(top_builddir) && $(SHELL) ./config.status $@
450 module/zcommon/Makefile: $(top_builddir)/config.status $(top_srcdir)/module/zcommon/Makefile.in
451         cd $(top_builddir) && $(SHELL) ./config.status $@
452 module/zfs/Makefile: $(top_builddir)/config.status $(top_srcdir)/module/zfs/Makefile.in
453         cd $(top_builddir) && $(SHELL) ./config.status $@
454 module/zpios/Makefile: $(top_builddir)/config.status $(top_srcdir)/module/zpios/Makefile.in
455         cd $(top_builddir) && $(SHELL) ./config.status $@
456 zfs.spec: $(top_builddir)/config.status $(srcdir)/zfs.spec.in
457         cd $(top_builddir) && $(SHELL) ./config.status $@
458 zfs-modules.spec: $(top_builddir)/config.status $(srcdir)/zfs-modules.spec.in
459         cd $(top_builddir) && $(SHELL) ./config.status $@
460 PKGBUILD-zfs: $(top_builddir)/config.status $(srcdir)/PKGBUILD-zfs.in
461         cd $(top_builddir) && $(SHELL) ./config.status $@
462 PKGBUILD-zfs-modules: $(top_builddir)/config.status $(srcdir)/PKGBUILD-zfs-modules.in
463         cd $(top_builddir) && $(SHELL) ./config.status $@
464 zfs-script-config.sh: $(top_builddir)/config.status $(srcdir)/zfs-script-config.sh.in
465         cd $(top_builddir) && $(SHELL) ./config.status $@
466 zfs.release: $(top_builddir)/config.status $(srcdir)/zfs.release.in
467         cd $(top_builddir) && $(SHELL) ./config.status $@
468
469 mostlyclean-libtool:
470         -rm -f *.lo
471
472 clean-libtool:
473         -rm -rf .libs _libs
474
475 distclean-libtool:
476         -rm -f libtool config.lt
477
478 # This directory's subdirectories are mostly independent; you can cd
479 # into them and run `make' without going through this Makefile.
480 # To change the values of `make' variables: instead of editing Makefiles,
481 # (1) if the variable is set in `config.status', edit `config.status'
482 #     (which will cause the Makefiles to be regenerated when you run `make');
483 # (2) otherwise, pass the desired values on the `make' command line.
484 $(RECURSIVE_TARGETS):
485         @fail= failcom='exit 1'; \
486         for f in x $$MAKEFLAGS; do \
487           case $$f in \
488             *=* | --[!k]*);; \
489             *k*) failcom='fail=yes';; \
490           esac; \
491         done; \
492         dot_seen=no; \
493         target=`echo $@ | sed s/-recursive//`; \
494         list='$(SUBDIRS)'; for subdir in $$list; do \
495           echo "Making $$target in $$subdir"; \
496           if test "$$subdir" = "."; then \
497             dot_seen=yes; \
498             local_target="$$target-am"; \
499           else \
500             local_target="$$target"; \
501           fi; \
502           ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
503           || eval $$failcom; \
504         done; \
505         if test "$$dot_seen" = "no"; then \
506           $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
507         fi; test -z "$$fail"
508
509 $(RECURSIVE_CLEAN_TARGETS):
510         @fail= failcom='exit 1'; \
511         for f in x $$MAKEFLAGS; do \
512           case $$f in \
513             *=* | --[!k]*);; \
514             *k*) failcom='fail=yes';; \
515           esac; \
516         done; \
517         dot_seen=no; \
518         case "$@" in \
519           distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
520           *) list='$(SUBDIRS)' ;; \
521         esac; \
522         rev=''; for subdir in $$list; do \
523           if test "$$subdir" = "."; then :; else \
524             rev="$$subdir $$rev"; \
525           fi; \
526         done; \
527         rev="$$rev ."; \
528         target=`echo $@ | sed s/-recursive//`; \
529         for subdir in $$rev; do \
530           echo "Making $$target in $$subdir"; \
531           if test "$$subdir" = "."; then \
532             local_target="$$target-am"; \
533           else \
534             local_target="$$target"; \
535           fi; \
536           ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
537           || eval $$failcom; \
538         done && test -z "$$fail"
539 tags-recursive:
540         list='$(SUBDIRS)'; for subdir in $$list; do \
541           test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
542         done
543 ctags-recursive:
544         list='$(SUBDIRS)'; for subdir in $$list; do \
545           test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
546         done
547
548 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
549         list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
550         unique=`for i in $$list; do \
551             if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
552           done | \
553           $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
554               END { if (nonempty) { for (i in files) print i; }; }'`; \
555         mkid -fID $$unique
556
557 TAGS: tags-recursive $(HEADERS) $(SOURCES) zfs_config.h.in $(TAGS_DEPENDENCIES) \
558                 $(TAGS_FILES) $(LISP)
559         set x; \
560         here=`pwd`; \
561         if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
562           include_option=--etags-include; \
563           empty_fix=.; \
564         else \
565           include_option=--include; \
566           empty_fix=; \
567         fi; \
568         list='$(SUBDIRS)'; for subdir in $$list; do \
569           if test "$$subdir" = .; then :; else \
570             test ! -f $$subdir/TAGS || \
571               set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
572           fi; \
573         done; \
574         list='$(SOURCES) $(HEADERS) zfs_config.h.in $(LISP) $(TAGS_FILES)'; \
575         unique=`for i in $$list; do \
576             if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
577           done | \
578           $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
579               END { if (nonempty) { for (i in files) print i; }; }'`; \
580         shift; \
581         if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
582           test -n "$$unique" || unique=$$empty_fix; \
583           if test $$# -gt 0; then \
584             $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
585               "$$@" $$unique; \
586           else \
587             $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
588               $$unique; \
589           fi; \
590         fi
591 CTAGS: ctags-recursive $(HEADERS) $(SOURCES) zfs_config.h.in $(TAGS_DEPENDENCIES) \
592                 $(TAGS_FILES) $(LISP)
593         list='$(SOURCES) $(HEADERS) zfs_config.h.in $(LISP) $(TAGS_FILES)'; \
594         unique=`for i in $$list; do \
595             if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
596           done | \
597           $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
598               END { if (nonempty) { for (i in files) print i; }; }'`; \
599         test -z "$(CTAGS_ARGS)$$unique" \
600           || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
601              $$unique
602
603 GTAGS:
604         here=`$(am__cd) $(top_builddir) && pwd` \
605           && $(am__cd) $(top_srcdir) \
606           && gtags -i $(GTAGS_ARGS) "$$here"
607
608 distclean-tags:
609         -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
610
611 distdir: $(DISTFILES)
612         $(am__remove_distdir)
613         test -d "$(distdir)" || mkdir "$(distdir)"
614         @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
615         topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
616         list='$(DISTFILES)'; \
617           dist_files=`for file in $$list; do echo $$file; done | \
618           sed -e "s|^$$srcdirstrip/||;t" \
619               -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
620         case $$dist_files in \
621           */*) $(MKDIR_P) `echo "$$dist_files" | \
622                            sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
623                            sort -u` ;; \
624         esac; \
625         for file in $$dist_files; do \
626           if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
627           if test -d $$d/$$file; then \
628             dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
629             if test -d "$(distdir)/$$file"; then \
630               find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
631             fi; \
632             if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
633               cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
634               find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
635             fi; \
636             cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
637           else \
638             test -f "$(distdir)/$$file" \
639             || cp -p $$d/$$file "$(distdir)/$$file" \
640             || exit 1; \
641           fi; \
642         done
643         @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
644           if test "$$subdir" = .; then :; else \
645             test -d "$(distdir)/$$subdir" \
646             || $(MKDIR_P) "$(distdir)/$$subdir" \
647             || exit 1; \
648           fi; \
649         done
650         @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
651           if test "$$subdir" = .; then :; else \
652             dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
653             $(am__relativize); \
654             new_distdir=$$reldir; \
655             dir1=$$subdir; dir2="$(top_distdir)"; \
656             $(am__relativize); \
657             new_top_distdir=$$reldir; \
658             echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
659             echo "     am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
660             ($(am__cd) $$subdir && \
661               $(MAKE) $(AM_MAKEFLAGS) \
662                 top_distdir="$$new_top_distdir" \
663                 distdir="$$new_distdir" \
664                 am__remove_distdir=: \
665                 am__skip_length_check=: \
666                 am__skip_mode_fix=: \
667                 distdir) \
668               || exit 1; \
669           fi; \
670         done
671         -test -n "$(am__skip_mode_fix)" \
672         || find "$(distdir)" -type d ! -perm -755 \
673                 -exec chmod u+rwx,go+rx {} \; -o \
674           ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
675           ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
676           ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
677         || chmod -R a+r "$(distdir)"
678 dist-gzip: distdir
679         tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
680         $(am__remove_distdir)
681
682 dist-bzip2: distdir
683         tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
684         $(am__remove_distdir)
685
686 dist-lzma: distdir
687         tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
688         $(am__remove_distdir)
689
690 dist-xz: distdir
691         tardir=$(distdir) && $(am__tar) | xz -c >$(distdir).tar.xz
692         $(am__remove_distdir)
693
694 dist-tarZ: distdir
695         tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
696         $(am__remove_distdir)
697
698 dist-shar: distdir
699         shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
700         $(am__remove_distdir)
701
702 dist-zip: distdir
703         -rm -f $(distdir).zip
704         zip -rq $(distdir).zip $(distdir)
705         $(am__remove_distdir)
706
707 dist dist-all: distdir
708         tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
709         $(am__remove_distdir)
710
711 # This target untars the dist file and tries a VPATH configuration.  Then
712 # it guarantees that the distribution is self-contained by making another
713 # tarfile.
714 distcheck: dist
715         case '$(DIST_ARCHIVES)' in \
716         *.tar.gz*) \
717           GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
718         *.tar.bz2*) \
719           bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
720         *.tar.lzma*) \
721           lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\
722         *.tar.xz*) \
723           xz -dc $(distdir).tar.xz | $(am__untar) ;;\
724         *.tar.Z*) \
725           uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
726         *.shar.gz*) \
727           GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
728         *.zip*) \
729           unzip $(distdir).zip ;;\
730         esac
731         chmod -R a-w $(distdir); chmod a+w $(distdir)
732         mkdir $(distdir)/_build
733         mkdir $(distdir)/_inst
734         chmod a-w $(distdir)
735         test -d $(distdir)/_build || exit 0; \
736         dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
737           && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
738           && am__cwd=`pwd` \
739           && $(am__cd) $(distdir)/_build \
740           && ../configure --srcdir=.. --prefix="$$dc_install_base" \
741             $(DISTCHECK_CONFIGURE_FLAGS) \
742           && $(MAKE) $(AM_MAKEFLAGS) \
743           && $(MAKE) $(AM_MAKEFLAGS) dvi \
744           && $(MAKE) $(AM_MAKEFLAGS) check \
745           && $(MAKE) $(AM_MAKEFLAGS) install \
746           && $(MAKE) $(AM_MAKEFLAGS) installcheck \
747           && $(MAKE) $(AM_MAKEFLAGS) uninstall \
748           && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
749                 distuninstallcheck \
750           && chmod -R a-w "$$dc_install_base" \
751           && ({ \
752                (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
753                && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
754                && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
755                && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
756                     distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
757               } || { rm -rf "$$dc_destdir"; exit 1; }) \
758           && rm -rf "$$dc_destdir" \
759           && $(MAKE) $(AM_MAKEFLAGS) dist \
760           && rm -rf $(DIST_ARCHIVES) \
761           && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
762           && cd "$$am__cwd" \
763           || exit 1
764         $(am__remove_distdir)
765         @(echo "$(distdir) archives ready for distribution: "; \
766           list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
767           sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
768 distuninstallcheck:
769         @$(am__cd) '$(distuninstallcheck_dir)' \
770         && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
771            || { echo "ERROR: files left after uninstall:" ; \
772                 if test -n "$(DESTDIR)"; then \
773                   echo "  (check DESTDIR support)"; \
774                 fi ; \
775                 $(distuninstallcheck_listfiles) ; \
776                 exit 1; } >&2
777 distcleancheck: distclean
778         @if test '$(srcdir)' = . ; then \
779           echo "ERROR: distcleancheck can only run from a VPATH build" ; \
780           exit 1 ; \
781         fi
782         @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
783           || { echo "ERROR: files left in build directory after distclean:" ; \
784                $(distcleancheck_listfiles) ; \
785                exit 1; } >&2
786 check-am: all-am
787 check: check-recursive
788 all-am: Makefile $(HEADERS) zfs_config.h
789 installdirs: installdirs-recursive
790 installdirs-am:
791 install: install-recursive
792 install-exec: install-exec-recursive
793 install-data: install-data-recursive
794 uninstall: uninstall-recursive
795
796 install-am: all-am
797         @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
798
799 installcheck: installcheck-recursive
800 install-strip:
801         $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
802           install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
803           `test -z '$(STRIP)' || \
804             echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
805 mostlyclean-generic:
806
807 clean-generic:
808
809 distclean-generic:
810         -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
811         -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
812
813 maintainer-clean-generic:
814         @echo "This command is intended for maintainers to use"
815         @echo "it deletes files that may require special tools to rebuild."
816 @CONFIG_KERNEL_FALSE@install-data-local:
817 clean: clean-recursive
818
819 clean-am: clean-generic clean-libtool mostlyclean-am
820
821 distclean: distclean-recursive
822         -rm -f $(am__CONFIG_DISTCLEAN_FILES)
823         -rm -f Makefile
824 distclean-am: clean-am distclean-generic distclean-hdr \
825         distclean-libtool distclean-local distclean-tags
826
827 dvi: dvi-recursive
828
829 dvi-am:
830
831 html: html-recursive
832
833 html-am:
834
835 info: info-recursive
836
837 info-am:
838
839 install-data-am: install-data-local
840
841 install-dvi: install-dvi-recursive
842
843 install-dvi-am:
844
845 install-exec-am:
846
847 install-html: install-html-recursive
848
849 install-html-am:
850
851 install-info: install-info-recursive
852
853 install-info-am:
854
855 install-man:
856
857 install-pdf: install-pdf-recursive
858
859 install-pdf-am:
860
861 install-ps: install-ps-recursive
862
863 install-ps-am:
864
865 installcheck-am:
866
867 maintainer-clean: maintainer-clean-recursive
868         -rm -f $(am__CONFIG_DISTCLEAN_FILES)
869         -rm -rf $(top_srcdir)/autom4te.cache
870         -rm -f Makefile
871 maintainer-clean-am: distclean-am maintainer-clean-generic
872
873 mostlyclean: mostlyclean-recursive
874
875 mostlyclean-am: mostlyclean-generic mostlyclean-libtool
876
877 pdf: pdf-recursive
878
879 pdf-am:
880
881 ps: ps-recursive
882
883 ps-am:
884
885 uninstall-am:
886
887 .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all \
888         ctags-recursive install-am install-strip tags-recursive
889
890 .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
891         all all-am am--refresh check check-am clean clean-generic \
892         clean-libtool ctags ctags-recursive dist dist-all dist-bzip2 \
893         dist-gzip dist-lzma dist-shar dist-tarZ dist-xz dist-zip \
894         distcheck distclean distclean-generic distclean-hdr \
895         distclean-libtool distclean-local distclean-tags \
896         distcleancheck distdir distuninstallcheck dvi dvi-am html \
897         html-am info info-am install install-am install-data \
898         install-data-am install-data-local install-dvi install-dvi-am \
899         install-exec install-exec-am install-html install-html-am \
900         install-info install-info-am install-man install-pdf \
901         install-pdf-am install-ps install-ps-am install-strip \
902         installcheck installcheck-am installdirs installdirs-am \
903         maintainer-clean maintainer-clean-generic mostlyclean \
904         mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
905         tags tags-recursive uninstall uninstall-am
906
907 srpm-modules:
908 @CONFIG_KERNEL_TRUE@    $(MAKE) $(AM_MAKEFLAGS) pkg="${PACKAGE}-modules" srpm-common
909
910 srpm-utils:
911 @CONFIG_USER_TRUE@      $(MAKE) $(AM_MAKEFLAGS) pkg="${PACKAGE}" srpm-common
912
913 srpm: srpm-modules srpm-utils
914
915 rpm-modules: srpm-modules
916 @CONFIG_KERNEL_TRUE@    $(MAKE) $(AM_MAKEFLAGS) pkg="${PACKAGE}-modules" rpm-common
917
918 rpm-utils: srpm-utils
919 @CONFIG_USER_TRUE@      $(MAKE) $(AM_MAKEFLAGS) pkg="${PACKAGE}" rpm-common
920
921 rpm: rpm-modules rpm-utils
922
923 rpm-local:
924         @(if test "${HAVE_RPMBUILD}" = "no"; then \
925                 echo -e "\n" \
926         "*** Required util ${RPMBUILD} missing.  Please install the\n" \
927         "*** package for your distribution which provides ${RPMBUILD},\n" \
928         "*** re-run configure, and try again.\n"; \
929                 exit 1; \
930         fi; \
931         mkdir -p $(rpmbuild)/TMP && \
932         mkdir -p $(rpmbuild)/BUILD && \
933         mkdir -p $(rpmbuild)/RPMS && \
934         mkdir -p $(rpmbuild)/SRPMS && \
935         mkdir -p $(rpmbuild)/SPECS && \
936         cp $(rpmspec) $(rpmbuild)/SPECS && \
937         mkdir -p $(rpmbuild)/SOURCES && \
938         cp $(distdir).tar.gz $(rpmbuild)/SOURCES)
939
940 srpm-common: dist
941         rpmpkg=$(pkg)-$(ZFS_META_VERSION)-$(ZFS_META_RELEASE).src.rpm; \
942         rpmspec=$(pkg).spec; \
943         rpmbuild=`mktemp -t -d $(PACKAGE)-build-$$USER-XXXXXXXX`; \
944         $(MAKE) $(AM_MAKEFLAGS) \
945                 rpmbuild="$$rpmbuild" \
946                 rpmspec="$$rpmspec" \
947                 rpm-local || exit 1; \
948         $(RPMBUILD) \
949                 --define "_tmppath $$rpmbuild/TMP" \
950                 --define "_topdir $$rpmbuild" \
951                 --define "build_src_rpm 1" \
952                 --define "dist %{nil}" \
953                 --nodeps -bs $$rpmbuild/SPECS/$$rpmspec || exit 1; \
954         cp $$rpmbuild/SRPMS/$$rpmpkg . || exit 1; \
955         $(RM) -R $$rpmbuild
956
957 rpm-common: 
958         rpmpkg=$(pkg)-$(ZFS_META_VERSION)-$(ZFS_META_RELEASE).src.rpm; \
959         rpmspec=$(pkg).spec; \
960         rpmbuild=`mktemp -t -d $(PACKAGE)-build-$$USER-XXXXXXXX`; \
961         $(MAKE) $(AM_MAKEFLAGS) \
962                 rpmbuild="$$rpmbuild" \
963                 rpmspec="$$rpmspec" \
964                 rpm-local || exit 1; \
965         $(RPMBUILD) \
966                 --define "_tmppath $$rpmbuild/TMP" \
967                 --define "_topdir $$rpmbuild" \
968                 --define "dist %{nil}" \
969                 --define "require_kdir $(LINUX)" \
970                 --define "require_kobj $(LINUX_OBJ)" \
971                 --define "require_kver $(LINUX_VERSION)" \
972                 --define "require_spldir $(SPL)" \
973                 --define "require_splobj $(SPL_OBJ)" \
974                 --define "require_splver $(SPL_VERSION)" \
975                 --define "$(DEBUG_ZFS) 1" \
976                 --define "$(DEBUG_DMU_TX) 1" \
977                 --nodeps --rebuild $$rpmpkg || exit 1; \
978         cp $$rpmbuild/RPMS/*/* . || exit 1; \
979         $(RM) -R $$rpmbuild
980 deb-local:
981         @(if test "${HAVE_DPKGBUILD}" = "no"; then \
982                 echo -e "\n" \
983         "*** Required util ${DPKGBUILD} missing.  Please install the\n" \
984         "*** package for your distribution which provides ${DPKGBUILD},\n" \
985         "*** re-run configure, and try again.\n"; \
986                 exit 1; \
987         fi; \
988         if test "${HAVE_ALIEN}" = "no"; then \
989                 echo -e "\n" \
990         "*** Required util ${ALIEN} missing.  Please install the\n" \
991         "*** package for your distribution which provides ${ALIEN},\n" \
992         "*** re-run configure, and try again.\n"; \
993                 exit 1; \
994         fi)
995
996 deb-modules: deb-local rpm-modules
997 @CONFIG_KERNEL_TRUE@    name=${PACKAGE}-modules; \
998 @CONFIG_KERNEL_TRUE@    version=${ZFS_META_VERSION}-${ZFS_META_RELEASE}; \
999 @CONFIG_KERNEL_TRUE@    release=`echo ${LINUX_VERSION} | $(SED) -e "s/-/_/g"`; \
1000 @CONFIG_KERNEL_TRUE@    arch=`$(RPM) -qp $${name}-$${version}.src.rpm --qf %{arch} | tail -1`; \
1001 @CONFIG_KERNEL_TRUE@    pkg1=$${name}-$${version}_$${release}.$${arch}.rpm; \
1002 @CONFIG_KERNEL_TRUE@    pkg2=$${name}-devel-$${version}_$${release}.$${arch}.rpm; \
1003 @CONFIG_KERNEL_TRUE@    fakeroot $(ALIEN) --scripts --to-deb $$pkg1 $$pkg2; \
1004 @CONFIG_KERNEL_TRUE@    $(RM) $$pkg1 $$pkg2
1005
1006 deb-utils: deb-local rpm-utils
1007 @CONFIG_USER_TRUE@      name=${PACKAGE}; \
1008 @CONFIG_USER_TRUE@      version=${ZFS_META_VERSION}-${ZFS_META_RELEASE}; \
1009 @CONFIG_USER_TRUE@      arch=`$(RPM) -qp $${name}-$${version}.src.rpm --qf %{arch} | tail -1`; \
1010 @CONFIG_USER_TRUE@      pkg1=$${name}-$${version}.$${arch}.rpm; \
1011 @CONFIG_USER_TRUE@      pkg2=$${name}-devel-$${version}.$${arch}.rpm; \
1012 @CONFIG_USER_TRUE@      pkg3=$${name}-test-$${version}.$${arch}.rpm; \
1013 @CONFIG_USER_TRUE@      pkg4=$${name}-dracut-$${version}.$${arch}.rpm; \
1014 @CONFIG_USER_TRUE@      fakeroot $(ALIEN) --scripts --to-deb $$pkg1 $$pkg2 $$pkg3 $$pkg4; \
1015 @CONFIG_USER_TRUE@      $(RM) $$pkg1 $$pkg2 $$pkg3 $$pkg4
1016
1017 deb: deb-modules deb-utils
1018 tgz-local:
1019         @(if test "${HAVE_ALIEN}" = "no"; then \
1020                 echo -e "\n" \
1021         "*** Required util ${ALIEN} missing.  Please install the\n" \
1022         "*** package for your distribution which provides ${ALIEN},\n" \
1023         "*** re-run configure, and try again.\n"; \
1024                 exit 1; \
1025         fi)
1026
1027 tgz-modules: tgz-local rpm-modules
1028 @CONFIG_KERNEL_TRUE@    name=${PACKAGE}-modules; \
1029 @CONFIG_KERNEL_TRUE@    version=${ZFS_META_VERSION}-${ZFS_META_RELEASE}; \
1030 @CONFIG_KERNEL_TRUE@    release=`echo ${LINUX_VERSION} | $(SED) -e "s/-/_/g"`; \
1031 @CONFIG_KERNEL_TRUE@    arch=`$(RPM) -qp $${name}-$${version}.src.rpm --qf %{arch} | tail -1`; \
1032 @CONFIG_KERNEL_TRUE@    pkg1=$${name}-$${version}_$${release}.$${arch}.rpm; \
1033 @CONFIG_KERNEL_TRUE@    pkg2=$${name}-devel-$${version}_$${release}.$${arch}.rpm; \
1034 @CONFIG_KERNEL_TRUE@    fakeroot $(ALIEN) --scripts --to-tgz $$pkg1 $$pkg2; \
1035 @CONFIG_KERNEL_TRUE@    $(RM) $$pkg1 $$pkg2
1036
1037 tgz-utils: tgz-local rpm-utils
1038 @CONFIG_USER_TRUE@      name=${PACKAGE}; \
1039 @CONFIG_USER_TRUE@      version=${ZFS_META_VERSION}-${ZFS_META_RELEASE}; \
1040 @CONFIG_USER_TRUE@      arch=`$(RPM) -qp $${name}-$${version}.src.rpm --qf %{arch} | tail -1`; \
1041 @CONFIG_USER_TRUE@      pkg1=$${name}-$${version}.$${arch}.rpm; \
1042 @CONFIG_USER_TRUE@      pkg2=$${name}-devel-$${version}.$${arch}.rpm; \
1043 @CONFIG_USER_TRUE@      pkg3=$${name}-test-$${version}.$${arch}.rpm; \
1044 @CONFIG_USER_TRUE@      fakeroot $(ALIEN) --scripts --to-tgz $$pkg1 $$pkg2 $$pkg3; \
1045 @CONFIG_USER_TRUE@      $(RM) $$pkg1 $$pkg2 $$pkg3
1046
1047 tgz: tgz-modules tgz-utils
1048
1049 sarch-modules:
1050         $(MAKE) $(AM_MAKEFLAGS) pkg="${PACKAGE}-modules" sarch-common
1051
1052 sarch-utils:
1053         $(MAKE) $(AM_MAKEFLAGS) pkg="${PACKAGE}" sarch-common
1054
1055 sarch: sarch-modules sarch-utils
1056
1057 arch-modules:
1058 @CONFIG_KERNEL_TRUE@    $(MAKE) $(AM_MAKEFLAGS) pkg="${PACKAGE}-modules" arch-common
1059
1060 arch-utils:
1061 @CONFIG_USER_TRUE@      $(MAKE) $(AM_MAKEFLAGS) pkg="${PACKAGE}" arch-common
1062
1063 arch: arch-modules arch-utils
1064
1065 arch-local:
1066         @(if test "${HAVE_MAKEPKG}" = "no"; then \
1067                 echo -e "\n" \
1068         "*** Required util ${MAKEPKG} missing.  Please install the\n" \
1069         "*** package for your distribution which provides ${MAKEPKG},\n" \
1070         "*** re-run configure, and try again.\n"; \
1071                 exit 1; \
1072         fi;)
1073
1074 sarch-common: dist
1075         pkgbuild=PKGBUILD-$(pkg); \
1076         $(MAKE) $(AM_MAKEFLAGS) arch-local || exit 1; \
1077         $(MAKEPKG) --allsource --skipinteg --nodeps -p $$pkgbuild || exit 1;
1078
1079 arch-common: dist
1080         pkgbuild=PKGBUILD-$(pkg); \
1081         $(MAKE) $(AM_MAKEFLAGS) arch-local || exit 1; \
1082         $(MAKEPKG) --skipinteg -p $$pkgbuild || exit 1;
1083
1084 distclean-local::
1085         -$(RM) -R autom4te*.cache
1086         -find . \( -name SCCS -o -name BitKeeper -o -name .svn -o -name CVS \
1087                 -o -name .pc -o -name .hg -o -name .git \) -prune -o \
1088                 \( -name '*.orig' -o -name '*.rej' -o -name '*~' \
1089                 -o -name '*.bak' -o -name '#*#' -o -name '.*.orig' \
1090                 -o -name '.*.rej' -o -name '.script-config' -o -size 0 \
1091                 -o -name '*%' -o -name '.*.cmd' -o -name 'core' \
1092                 -o -name 'Makefile' -o -name 'Module.symvers' \
1093                 -o -name '*.order' -o -name '*.markers' \) \
1094                 -type f -print | xargs $(RM)
1095
1096 @CONFIG_KERNEL_TRUE@install-data-local:
1097 @CONFIG_KERNEL_TRUE@    release=$(ZFS_META_VERSION)-$(ZFS_META_RELEASE); \
1098 @CONFIG_KERNEL_TRUE@    instdest=$(DESTDIR)/usr/src/zfs-$$release/$(LINUX_VERSION); \
1099 @CONFIG_KERNEL_TRUE@    for instfile in $(noinst_HEADERS) module/$(LINUX_SYMBOLS); do \
1100 @CONFIG_KERNEL_TRUE@            $(INSTALL) -D $$instfile $$instdest/$$instfile; \
1101 @CONFIG_KERNEL_TRUE@    done
1102
1103 ctags:
1104         $(RM) $(top_srcdir)/tags
1105         find $(top_srcdir) -name .git -prune -o -name '*.[hc]' | xargs ctags
1106
1107 etags:
1108         $(RM) $(top_srcdir)/TAGS
1109         find $(top_srcdir) -name .pc -prune -o -name '*.[hc]' | xargs etags -a
1110
1111 tags: ctags etags
1112
1113 pkg: @DEFAULT_PACKAGE@
1114 pkg-modules: @DEFAULT_PACKAGE@-modules
1115 pkg-utils: @DEFAULT_PACKAGE@-utils
1116
1117 # Tell versions [3.59,3.63) of GNU make to not export all variables.
1118 # Otherwise a system limit (for SysV at least) may be exceeded.
1119 .NOEXPORT: