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