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