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