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