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