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