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