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