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