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