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