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