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