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