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