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