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