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