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