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