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