Move zfs.release generation to configure step
[zfs.git] / Makefile.in
1 # Makefile.in generated by automake 1.11.1 from Makefile.am.
2 # @configure_input@
3
4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5 # 2003, 2004, 2005, 2006, 2007, 2008, 2009  Free Software Foundation,
6 # Inc.
7 # This Makefile.in is free software; the Free Software Foundation
8 # gives unlimited permission to copy and/or distribute it,
9 # with or without modifications, as long as this notice is preserved.
10
11 # This program is distributed in the hope that it will be useful,
12 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
13 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
14 # PARTICULAR PURPOSE.
15
16 @SET_MAKE@
17
18 ###############################################################################
19 # Written by Prakash Surya <surya1@llnl.gov>
20 ###############################################################################
21 # Build targets for RPM packages.
22 ###############################################################################
23
24 VPATH = @srcdir@
25 pkgdatadir = $(datadir)/@PACKAGE@
26 pkgincludedir = $(includedir)/@PACKAGE@
27 pkglibdir = $(libdir)/@PACKAGE@
28 pkglibexecdir = $(libexecdir)/@PACKAGE@
29 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
30 install_sh_DATA = $(install_sh) -c -m 644
31 install_sh_PROGRAM = $(install_sh) -c
32 install_sh_SCRIPT = $(install_sh) -c
33 INSTALL_HEADER = $(INSTALL_DATA)
34 transform = $(program_transform_name)
35 NORMAL_INSTALL = :
36 PRE_INSTALL = :
37 POST_INSTALL = :
38 NORMAL_UNINSTALL = :
39 PRE_UNINSTALL = :
40 POST_UNINSTALL = :
41 build_triplet = @build@
42 host_triplet = @host@
43 target_triplet = @target@
44 DIST_COMMON = $(am__configure_deps) $(noinst_HEADERS) \
45         $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
46         $(srcdir)/PKGBUILD-zfs-modules.in $(srcdir)/PKGBUILD-zfs.in \
47         $(srcdir)/zfs-modules.spec.in \
48         $(srcdir)/zfs-script-config.sh.in $(srcdir)/zfs.release.in \
49         $(srcdir)/zfs.spec.in $(srcdir)/zfs_config.h.in \
50         $(top_srcdir)/config/arch.am $(top_srcdir)/config/deb.am \
51         $(top_srcdir)/config/rpm.am $(top_srcdir)/config/tgz.am \
52         $(top_srcdir)/configure $(top_srcdir)/module/Makefile.in \
53         $(top_srcdir)/module/avl/Makefile.in \
54         $(top_srcdir)/module/nvpair/Makefile.in \
55         $(top_srcdir)/module/unicode/Makefile.in \
56         $(top_srcdir)/module/zcommon/Makefile.in \
57         $(top_srcdir)/module/zfs/Makefile.in \
58         $(top_srcdir)/module/zpios/Makefile.in AUTHORS COPYING \
59         ChangeLog config/config.guess config/config.sub config/depcomp \
60         config/install-sh config/ltmain.sh config/missing
61 subdir = .
62 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
63 am__aclocal_m4_deps =  \
64         $(top_srcdir)/config/always-no-unused-but-set-variable.m4 \
65         $(top_srcdir)/config/kernel-automount.m4 \
66         $(top_srcdir)/config/kernel-bdev-block-device-operations.m4 \
67         $(top_srcdir)/config/kernel-bdev-logical-size.m4 \
68         $(top_srcdir)/config/kernel-bdi-setup-and-register.m4 \
69         $(top_srcdir)/config/kernel-bdi.m4 \
70         $(top_srcdir)/config/kernel-bio-empty-barrier.m4 \
71         $(top_srcdir)/config/kernel-bio-end-io-t-args.m4 \
72         $(top_srcdir)/config/kernel-bio-failfast.m4 \
73         $(top_srcdir)/config/kernel-bio-rw-syncio.m4 \
74         $(top_srcdir)/config/kernel-blk-end-request.m4 \
75         $(top_srcdir)/config/kernel-blk-fetch-request.m4 \
76         $(top_srcdir)/config/kernel-blk-queue-discard.m4 \
77         $(top_srcdir)/config/kernel-blk-queue-flush.m4 \
78         $(top_srcdir)/config/kernel-blk-queue-io-opt.m4 \
79         $(top_srcdir)/config/kernel-blk-queue-max-hw-sectors.m4 \
80         $(top_srcdir)/config/kernel-blk-queue-max-segments.m4 \
81         $(top_srcdir)/config/kernel-blk-queue-nonrot.m4 \
82         $(top_srcdir)/config/kernel-blk-queue-physical-block-size.m4 \
83         $(top_srcdir)/config/kernel-blk-requeue-request.m4 \
84         $(top_srcdir)/config/kernel-blk-rq-bytes.m4 \
85         $(top_srcdir)/config/kernel-blk-rq-pos.m4 \
86         $(top_srcdir)/config/kernel-blk-rq-sectors.m4 \
87         $(top_srcdir)/config/kernel-blkdev-get-by-path.m4 \
88         $(top_srcdir)/config/kernel-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 zfs.release
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 zfs.release
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 zfs.release: $(top_builddir)/config.status $(srcdir)/zfs.release.in
461         cd $(top_builddir) && $(SHELL) ./config.status $@
462
463 mostlyclean-libtool:
464         -rm -f *.lo
465
466 clean-libtool:
467         -rm -rf .libs _libs
468
469 distclean-libtool:
470         -rm -f libtool config.lt
471
472 # This directory's subdirectories are mostly independent; you can cd
473 # into them and run `make' without going through this Makefile.
474 # To change the values of `make' variables: instead of editing Makefiles,
475 # (1) if the variable is set in `config.status', edit `config.status'
476 #     (which will cause the Makefiles to be regenerated when you run `make');
477 # (2) otherwise, pass the desired values on the `make' command line.
478 $(RECURSIVE_TARGETS):
479         @fail= failcom='exit 1'; \
480         for f in x $$MAKEFLAGS; do \
481           case $$f in \
482             *=* | --[!k]*);; \
483             *k*) failcom='fail=yes';; \
484           esac; \
485         done; \
486         dot_seen=no; \
487         target=`echo $@ | sed s/-recursive//`; \
488         list='$(SUBDIRS)'; for subdir in $$list; do \
489           echo "Making $$target in $$subdir"; \
490           if test "$$subdir" = "."; then \
491             dot_seen=yes; \
492             local_target="$$target-am"; \
493           else \
494             local_target="$$target"; \
495           fi; \
496           ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
497           || eval $$failcom; \
498         done; \
499         if test "$$dot_seen" = "no"; then \
500           $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
501         fi; test -z "$$fail"
502
503 $(RECURSIVE_CLEAN_TARGETS):
504         @fail= failcom='exit 1'; \
505         for f in x $$MAKEFLAGS; do \
506           case $$f in \
507             *=* | --[!k]*);; \
508             *k*) failcom='fail=yes';; \
509           esac; \
510         done; \
511         dot_seen=no; \
512         case "$@" in \
513           distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
514           *) list='$(SUBDIRS)' ;; \
515         esac; \
516         rev=''; for subdir in $$list; do \
517           if test "$$subdir" = "."; then :; else \
518             rev="$$subdir $$rev"; \
519           fi; \
520         done; \
521         rev="$$rev ."; \
522         target=`echo $@ | sed s/-recursive//`; \
523         for subdir in $$rev; do \
524           echo "Making $$target in $$subdir"; \
525           if test "$$subdir" = "."; then \
526             local_target="$$target-am"; \
527           else \
528             local_target="$$target"; \
529           fi; \
530           ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
531           || eval $$failcom; \
532         done && test -z "$$fail"
533 tags-recursive:
534         list='$(SUBDIRS)'; for subdir in $$list; do \
535           test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
536         done
537 ctags-recursive:
538         list='$(SUBDIRS)'; for subdir in $$list; do \
539           test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
540         done
541
542 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
543         list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
544         unique=`for i in $$list; do \
545             if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
546           done | \
547           $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
548               END { if (nonempty) { for (i in files) print i; }; }'`; \
549         mkid -fID $$unique
550
551 TAGS: tags-recursive $(HEADERS) $(SOURCES) zfs_config.h.in $(TAGS_DEPENDENCIES) \
552                 $(TAGS_FILES) $(LISP)
553         set x; \
554         here=`pwd`; \
555         if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
556           include_option=--etags-include; \
557           empty_fix=.; \
558         else \
559           include_option=--include; \
560           empty_fix=; \
561         fi; \
562         list='$(SUBDIRS)'; for subdir in $$list; do \
563           if test "$$subdir" = .; then :; else \
564             test ! -f $$subdir/TAGS || \
565               set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
566           fi; \
567         done; \
568         list='$(SOURCES) $(HEADERS) zfs_config.h.in $(LISP) $(TAGS_FILES)'; \
569         unique=`for i in $$list; do \
570             if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
571           done | \
572           $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
573               END { if (nonempty) { for (i in files) print i; }; }'`; \
574         shift; \
575         if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
576           test -n "$$unique" || unique=$$empty_fix; \
577           if test $$# -gt 0; then \
578             $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
579               "$$@" $$unique; \
580           else \
581             $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
582               $$unique; \
583           fi; \
584         fi
585 CTAGS: ctags-recursive $(HEADERS) $(SOURCES) zfs_config.h.in $(TAGS_DEPENDENCIES) \
586                 $(TAGS_FILES) $(LISP)
587         list='$(SOURCES) $(HEADERS) zfs_config.h.in $(LISP) $(TAGS_FILES)'; \
588         unique=`for i in $$list; do \
589             if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
590           done | \
591           $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
592               END { if (nonempty) { for (i in files) print i; }; }'`; \
593         test -z "$(CTAGS_ARGS)$$unique" \
594           || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
595              $$unique
596
597 GTAGS:
598         here=`$(am__cd) $(top_builddir) && pwd` \
599           && $(am__cd) $(top_srcdir) \
600           && gtags -i $(GTAGS_ARGS) "$$here"
601
602 distclean-tags:
603         -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
604
605 distdir: $(DISTFILES)
606         $(am__remove_distdir)
607         test -d "$(distdir)" || mkdir "$(distdir)"
608         @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
609         topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
610         list='$(DISTFILES)'; \
611           dist_files=`for file in $$list; do echo $$file; done | \
612           sed -e "s|^$$srcdirstrip/||;t" \
613               -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
614         case $$dist_files in \
615           */*) $(MKDIR_P) `echo "$$dist_files" | \
616                            sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
617                            sort -u` ;; \
618         esac; \
619         for file in $$dist_files; do \
620           if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
621           if test -d $$d/$$file; then \
622             dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
623             if test -d "$(distdir)/$$file"; then \
624               find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
625             fi; \
626             if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
627               cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
628               find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
629             fi; \
630             cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
631           else \
632             test -f "$(distdir)/$$file" \
633             || cp -p $$d/$$file "$(distdir)/$$file" \
634             || exit 1; \
635           fi; \
636         done
637         @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
638           if test "$$subdir" = .; then :; else \
639             test -d "$(distdir)/$$subdir" \
640             || $(MKDIR_P) "$(distdir)/$$subdir" \
641             || exit 1; \
642           fi; \
643         done
644         @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
645           if test "$$subdir" = .; then :; else \
646             dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
647             $(am__relativize); \
648             new_distdir=$$reldir; \
649             dir1=$$subdir; dir2="$(top_distdir)"; \
650             $(am__relativize); \
651             new_top_distdir=$$reldir; \
652             echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
653             echo "     am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
654             ($(am__cd) $$subdir && \
655               $(MAKE) $(AM_MAKEFLAGS) \
656                 top_distdir="$$new_top_distdir" \
657                 distdir="$$new_distdir" \
658                 am__remove_distdir=: \
659                 am__skip_length_check=: \
660                 am__skip_mode_fix=: \
661                 distdir) \
662               || exit 1; \
663           fi; \
664         done
665         -test -n "$(am__skip_mode_fix)" \
666         || find "$(distdir)" -type d ! -perm -755 \
667                 -exec chmod u+rwx,go+rx {} \; -o \
668           ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
669           ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
670           ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
671         || chmod -R a+r "$(distdir)"
672 dist-gzip: distdir
673         tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
674         $(am__remove_distdir)
675
676 dist-bzip2: distdir
677         tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
678         $(am__remove_distdir)
679
680 dist-lzma: distdir
681         tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
682         $(am__remove_distdir)
683
684 dist-xz: distdir
685         tardir=$(distdir) && $(am__tar) | xz -c >$(distdir).tar.xz
686         $(am__remove_distdir)
687
688 dist-tarZ: distdir
689         tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
690         $(am__remove_distdir)
691
692 dist-shar: distdir
693         shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
694         $(am__remove_distdir)
695
696 dist-zip: distdir
697         -rm -f $(distdir).zip
698         zip -rq $(distdir).zip $(distdir)
699         $(am__remove_distdir)
700
701 dist dist-all: distdir
702         tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
703         $(am__remove_distdir)
704
705 # This target untars the dist file and tries a VPATH configuration.  Then
706 # it guarantees that the distribution is self-contained by making another
707 # tarfile.
708 distcheck: dist
709         case '$(DIST_ARCHIVES)' in \
710         *.tar.gz*) \
711           GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
712         *.tar.bz2*) \
713           bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
714         *.tar.lzma*) \
715           lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\
716         *.tar.xz*) \
717           xz -dc $(distdir).tar.xz | $(am__untar) ;;\
718         *.tar.Z*) \
719           uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
720         *.shar.gz*) \
721           GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
722         *.zip*) \
723           unzip $(distdir).zip ;;\
724         esac
725         chmod -R a-w $(distdir); chmod a+w $(distdir)
726         mkdir $(distdir)/_build
727         mkdir $(distdir)/_inst
728         chmod a-w $(distdir)
729         test -d $(distdir)/_build || exit 0; \
730         dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
731           && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
732           && am__cwd=`pwd` \
733           && $(am__cd) $(distdir)/_build \
734           && ../configure --srcdir=.. --prefix="$$dc_install_base" \
735             $(DISTCHECK_CONFIGURE_FLAGS) \
736           && $(MAKE) $(AM_MAKEFLAGS) \
737           && $(MAKE) $(AM_MAKEFLAGS) dvi \
738           && $(MAKE) $(AM_MAKEFLAGS) check \
739           && $(MAKE) $(AM_MAKEFLAGS) install \
740           && $(MAKE) $(AM_MAKEFLAGS) installcheck \
741           && $(MAKE) $(AM_MAKEFLAGS) uninstall \
742           && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
743                 distuninstallcheck \
744           && chmod -R a-w "$$dc_install_base" \
745           && ({ \
746                (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
747                && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
748                && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
749                && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
750                     distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
751               } || { rm -rf "$$dc_destdir"; exit 1; }) \
752           && rm -rf "$$dc_destdir" \
753           && $(MAKE) $(AM_MAKEFLAGS) dist \
754           && rm -rf $(DIST_ARCHIVES) \
755           && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
756           && cd "$$am__cwd" \
757           || exit 1
758         $(am__remove_distdir)
759         @(echo "$(distdir) archives ready for distribution: "; \
760           list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
761           sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
762 distuninstallcheck:
763         @$(am__cd) '$(distuninstallcheck_dir)' \
764         && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
765            || { echo "ERROR: files left after uninstall:" ; \
766                 if test -n "$(DESTDIR)"; then \
767                   echo "  (check DESTDIR support)"; \
768                 fi ; \
769                 $(distuninstallcheck_listfiles) ; \
770                 exit 1; } >&2
771 distcleancheck: distclean
772         @if test '$(srcdir)' = . ; then \
773           echo "ERROR: distcleancheck can only run from a VPATH build" ; \
774           exit 1 ; \
775         fi
776         @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
777           || { echo "ERROR: files left in build directory after distclean:" ; \
778                $(distcleancheck_listfiles) ; \
779                exit 1; } >&2
780 check-am: all-am
781 check: check-recursive
782 all-am: Makefile $(HEADERS) zfs_config.h
783 installdirs: installdirs-recursive
784 installdirs-am:
785 install: install-recursive
786 install-exec: install-exec-recursive
787 install-data: install-data-recursive
788 uninstall: uninstall-recursive
789
790 install-am: all-am
791         @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
792
793 installcheck: installcheck-recursive
794 install-strip:
795         $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
796           install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
797           `test -z '$(STRIP)' || \
798             echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
799 mostlyclean-generic:
800
801 clean-generic:
802
803 distclean-generic:
804         -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
805         -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
806
807 maintainer-clean-generic:
808         @echo "This command is intended for maintainers to use"
809         @echo "it deletes files that may require special tools to rebuild."
810 @CONFIG_KERNEL_FALSE@install-data-local:
811 clean: clean-recursive
812
813 clean-am: clean-generic clean-libtool mostlyclean-am
814
815 distclean: distclean-recursive
816         -rm -f $(am__CONFIG_DISTCLEAN_FILES)
817         -rm -f Makefile
818 distclean-am: clean-am distclean-generic distclean-hdr \
819         distclean-libtool distclean-local distclean-tags
820
821 dvi: dvi-recursive
822
823 dvi-am:
824
825 html: html-recursive
826
827 html-am:
828
829 info: info-recursive
830
831 info-am:
832
833 install-data-am: install-data-local
834
835 install-dvi: install-dvi-recursive
836
837 install-dvi-am:
838
839 install-exec-am:
840
841 install-html: install-html-recursive
842
843 install-html-am:
844
845 install-info: install-info-recursive
846
847 install-info-am:
848
849 install-man:
850
851 install-pdf: install-pdf-recursive
852
853 install-pdf-am:
854
855 install-ps: install-ps-recursive
856
857 install-ps-am:
858
859 installcheck-am:
860
861 maintainer-clean: maintainer-clean-recursive
862         -rm -f $(am__CONFIG_DISTCLEAN_FILES)
863         -rm -rf $(top_srcdir)/autom4te.cache
864         -rm -f Makefile
865 maintainer-clean-am: distclean-am maintainer-clean-generic
866
867 mostlyclean: mostlyclean-recursive
868
869 mostlyclean-am: mostlyclean-generic mostlyclean-libtool
870
871 pdf: pdf-recursive
872
873 pdf-am:
874
875 ps: ps-recursive
876
877 ps-am:
878
879 uninstall-am:
880
881 .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all \
882         ctags-recursive install-am install-strip tags-recursive
883
884 .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
885         all all-am am--refresh check check-am clean clean-generic \
886         clean-libtool ctags ctags-recursive dist dist-all dist-bzip2 \
887         dist-gzip dist-lzma dist-shar dist-tarZ dist-xz dist-zip \
888         distcheck distclean distclean-generic distclean-hdr \
889         distclean-libtool distclean-local distclean-tags \
890         distcleancheck distdir distuninstallcheck dvi dvi-am html \
891         html-am info info-am install install-am install-data \
892         install-data-am install-data-local install-dvi install-dvi-am \
893         install-exec install-exec-am install-html install-html-am \
894         install-info install-info-am install-man install-pdf \
895         install-pdf-am install-ps install-ps-am install-strip \
896         installcheck installcheck-am installdirs installdirs-am \
897         maintainer-clean maintainer-clean-generic mostlyclean \
898         mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
899         tags tags-recursive uninstall uninstall-am
900
901 srpm-modules:
902         $(MAKE) $(AM_MAKEFLAGS) pkg="${PACKAGE}-modules" srpm-common
903
904 srpm-utils:
905         $(MAKE) $(AM_MAKEFLAGS) pkg="${PACKAGE}" srpm-common
906
907 srpm: srpm-modules srpm-utils
908
909 rpm-modules: srpm-modules
910         $(MAKE) $(AM_MAKEFLAGS) pkg="${PACKAGE}-modules" rpm-common
911
912 rpm-utils: srpm-utils
913         $(MAKE) $(AM_MAKEFLAGS) pkg="${PACKAGE}" rpm-common
914
915 rpm-modules: srpm-modules
916
917 rpm: rpm-modules rpm-utils
918
919 rpm-local:
920         @(if test "${HAVE_RPMBUILD}" = "no"; then \
921                 echo -e "\n" \
922         "*** Required util ${RPMBUILD} missing.  Please install the\n" \
923         "*** package for your distribution which provides ${RPMBUILD},\n" \
924         "*** re-run configure, and try again.\n"; \
925                 exit 1; \
926         fi; \
927         mkdir -p $(rpmbuild)/TMP && \
928         mkdir -p $(rpmbuild)/BUILD && \
929         mkdir -p $(rpmbuild)/RPMS && \
930         mkdir -p $(rpmbuild)/SRPMS && \
931         mkdir -p $(rpmbuild)/SPECS && \
932         cp $(rpmspec) $(rpmbuild)/SPECS && \
933         mkdir -p $(rpmbuild)/SOURCES && \
934         cp $(distdir).tar.gz $(rpmbuild)/SOURCES)
935
936 srpm-common: dist
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 "build_src_rpm 1" \
948                 --define "dist %{nil}" \
949                 --nodeps -bs $$rpmbuild/SPECS/$$rpmspec || exit 1; \
950         cp $$rpmbuild/SRPMS/$$rpmpkg . || exit 1; \
951         $(RM) -R $$rpmbuild
952
953 rpm-common: 
954         rpmpkg=$(pkg)-$(ZFS_META_VERSION)-$(ZFS_META_RELEASE).src.rpm; \
955         rpmspec=$(pkg).spec; \
956         rpmbuild=`mktemp -t -d $(PACKAGE)-build-$$USER-XXXXXXXX`; \
957         $(MAKE) $(AM_MAKEFLAGS) \
958                 rpmbuild="$$rpmbuild" \
959                 rpmspec="$$rpmspec" \
960                 rpm-local || exit 1; \
961         $(RPMBUILD) \
962                 --define "_tmppath $$rpmbuild/TMP" \
963                 --define "_topdir $$rpmbuild" \
964                 --define "dist %{nil}" \
965                 --define "require_kdir $(LINUX)" \
966                 --define "require_kobj $(LINUX_OBJ)" \
967                 --define "require_kver $(LINUX_VERSION)" \
968                 --define "require_spldir $(SPL)" \
969                 --define "require_splobj $(SPL_OBJ)" \
970                 --define "require_splver $(SPL_VERSION)" \
971                 --define "$(DEBUG_ZFS) 1" \
972                 --define "$(DEBUG_DMU_TX) 1" \
973                 --nodeps --rebuild $$rpmpkg || exit 1; \
974         cp $$rpmbuild/RPMS/*/* . || exit 1; \
975         $(RM) -R $$rpmbuild
976 deb-local:
977         @(if test "${HAVE_DPKGBUILD}" = "no"; then \
978                 echo -e "\n" \
979         "*** Required util ${DPKGBUILD} missing.  Please install the\n" \
980         "*** package for your distribution which provides ${DPKGBUILD},\n" \
981         "*** re-run configure, and try again.\n"; \
982                 exit 1; \
983         fi; \
984         if test "${HAVE_ALIEN}" = "no"; then \
985                 echo -e "\n" \
986         "*** Required util ${ALIEN} missing.  Please install the\n" \
987         "*** package for your distribution which provides ${ALIEN},\n" \
988         "*** re-run configure, and try again.\n"; \
989                 exit 1; \
990         fi)
991
992 deb-modules: deb-local rpm-modules
993         name=${PACKAGE}-modules; \
994         version=${ZFS_META_VERSION}-${ZFS_META_RELEASE}; \
995         release=`echo ${LINUX_VERSION} | $(SED) -e "s/-/_/g"`; \
996         arch=`$(RPM) -qp $${name}-$${version}.src.rpm --qf %{arch} | tail -1`; \
997         pkg1=$${name}-$${version}_$${release}.$${arch}.rpm; \
998         pkg2=$${name}-devel-$${version}_$${release}.$${arch}.rpm; \
999         fakeroot $(ALIEN) --scripts --to-deb $$pkg1 $$pkg2; \
1000         $(RM) $$pkg1 $$pkg2
1001
1002 deb-utils: deb-local rpm-utils
1003         name=${PACKAGE}; \
1004         version=${ZFS_META_VERSION}-${ZFS_META_RELEASE}; \
1005         arch=`$(RPM) -qp $${name}-$${version}.src.rpm --qf %{arch} | tail -1`; \
1006         pkg1=$${name}-$${version}.$${arch}.rpm; \
1007         pkg2=$${name}-devel-$${version}.$${arch}.rpm; \
1008         pkg3=$${name}-test-$${version}.$${arch}.rpm; \
1009         pkg4=$${name}-dracut-$${version}.$${arch}.rpm; \
1010         fakeroot $(ALIEN) --scripts --to-deb $$pkg1 $$pkg2 $$pkg3 $$pkg4; \
1011         $(RM) $$pkg1 $$pkg2 $$pkg3 $$pkg4
1012
1013 deb: deb-modules deb-utils
1014 tgz-local:
1015         @(if test "${HAVE_ALIEN}" = "no"; then \
1016                 echo -e "\n" \
1017         "*** Required util ${ALIEN} missing.  Please install the\n" \
1018         "*** package for your distribution which provides ${ALIEN},\n" \
1019         "*** re-run configure, and try again.\n"; \
1020                 exit 1; \
1021         fi)
1022
1023 tgz-modules: tgz-local rpm-modules
1024         name=${PACKAGE}-modules; \
1025         version=${ZFS_META_VERSION}-${ZFS_META_RELEASE}; \
1026         release=`echo ${LINUX_VERSION} | $(SED) -e "s/-/_/g"`; \
1027         arch=`$(RPM) -qp $${name}-$${version}.src.rpm --qf %{arch} | tail -1`; \
1028         pkg1=$${name}-$${version}_$${release}.$${arch}.rpm; \
1029         pkg2=$${name}-devel-$${version}_$${release}.$${arch}.rpm; \
1030         fakeroot $(ALIEN) --scripts --to-tgz $$pkg1 $$pkg2; \
1031         $(RM) $$pkg1 $$pkg2
1032
1033 tgz-utils: tgz-local rpm-utils
1034         name=${PACKAGE}; \
1035         version=${ZFS_META_VERSION}-${ZFS_META_RELEASE}; \
1036         arch=`$(RPM) -qp $${name}-$${version}.src.rpm --qf %{arch} | tail -1`; \
1037         pkg1=$${name}-$${version}.$${arch}.rpm; \
1038         pkg2=$${name}-devel-$${version}.$${arch}.rpm; \
1039         pkg3=$${name}-test-$${version}.$${arch}.rpm; \
1040         fakeroot $(ALIEN) --scripts --to-tgz $$pkg1 $$pkg2 $$pkg3; \
1041         $(RM) $$pkg1 $$pkg2 $$pkg3
1042
1043 tgz: tgz-modules tgz-utils
1044
1045 sarch-modules:
1046         $(MAKE) $(AM_MAKEFLAGS) pkg="${PACKAGE}-modules" sarch-common
1047
1048 sarch-utils:
1049         $(MAKE) $(AM_MAKEFLAGS) pkg="${PACKAGE}" sarch-common
1050
1051 sarch: sarch-modules sarch-utils
1052
1053 arch-modules:
1054         $(MAKE) $(AM_MAKEFLAGS) pkg="${PACKAGE}-modules" arch-common
1055
1056 arch-utils:
1057         $(MAKE) $(AM_MAKEFLAGS) pkg="${PACKAGE}" arch-common
1058
1059 arch: arch-modules arch-utils
1060
1061 arch-local:
1062         @(if test "${HAVE_MAKEPKG}" = "no"; then \
1063                 echo -e "\n" \
1064         "*** Required util ${MAKEPKG} missing.  Please install the\n" \
1065         "*** package for your distribution which provides ${MAKEPKG},\n" \
1066         "*** re-run configure, and try again.\n"; \
1067                 exit 1; \
1068         fi;)
1069
1070 sarch-common: dist
1071         pkgbuild=PKGBUILD-$(pkg); \
1072         $(MAKE) $(AM_MAKEFLAGS) arch-local || exit 1; \
1073         $(MAKEPKG) --allsource --skipinteg --nodeps -p $$pkgbuild || exit 1;
1074
1075 arch-common: dist
1076         pkgbuild=PKGBUILD-$(pkg); \
1077         $(MAKE) $(AM_MAKEFLAGS) arch-local || exit 1; \
1078         $(MAKEPKG) --skipinteg -p $$pkgbuild || exit 1;
1079
1080 distclean-local::
1081         -$(RM) -R autom4te*.cache
1082         -find . \( -name SCCS -o -name BitKeeper -o -name .svn -o -name CVS \
1083                 -o -name .pc -o -name .hg -o -name .git \) -prune -o \
1084                 \( -name '*.orig' -o -name '*.rej' -o -name '*~' \
1085                 -o -name '*.bak' -o -name '#*#' -o -name '.*.orig' \
1086                 -o -name '.*.rej' -o -name '.script-config' -o -size 0 \
1087                 -o -name '*%' -o -name '.*.cmd' -o -name 'core' \
1088                 -o -name 'Makefile' -o -name 'Module.symvers' \
1089                 -o -name '*.order' -o -name '*.markers' \) \
1090                 -type f -print | xargs $(RM)
1091
1092 @CONFIG_KERNEL_TRUE@install-data-local:
1093 @CONFIG_KERNEL_TRUE@    release=$(ZFS_META_VERSION)-$(ZFS_META_RELEASE); \
1094 @CONFIG_KERNEL_TRUE@    instdest=$(DESTDIR)/usr/src/zfs-$$release/$(LINUX_VERSION); \
1095 @CONFIG_KERNEL_TRUE@    for instfile in $(noinst_HEADERS) module/$(LINUX_SYMBOLS); do \
1096 @CONFIG_KERNEL_TRUE@            $(INSTALL) -D $$instfile $$instdest/$$instfile; \
1097 @CONFIG_KERNEL_TRUE@    done
1098
1099 ctags:
1100         $(RM) $(top_srcdir)/tags
1101         find $(top_srcdir) -name .git -prune -o -name '*.[hc]' | xargs ctags
1102
1103 etags:
1104         $(RM) $(top_srcdir)/TAGS
1105         find $(top_srcdir) -name .pc -prune -o -name '*.[hc]' | xargs etags -a
1106
1107 tags: ctags etags
1108
1109 pkg: @DEFAULT_PACKAGE@
1110 pkg-modules: @DEFAULT_PACKAGE@-modules
1111 pkg-utils: @DEFAULT_PACKAGE@-utils
1112
1113 # Tell versions [3.59,3.63) of GNU make to not export all variables.
1114 # Otherwise a system limit (for SysV at least) may be exceeded.
1115 .NOEXPORT: