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