]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blob - zfs/Makefile.in
UBUNTU: SAUCE: (noup) Update spl to 0.6.5.9-1ubuntu2, zfs to 0.6.5.9-5ubuntu7
[mirror_ubuntu-artful-kernel.git] / zfs / Makefile.in
1 # Makefile.in generated by automake 1.15 from Makefile.am.
2 # @configure_input@
3
4 # Copyright (C) 1994-2014 Free Software Foundation, Inc.
5
6 # This Makefile.in is free software; the Free Software Foundation
7 # gives unlimited permission to copy and/or distribute it,
8 # with or without modifications, as long as this notice is preserved.
9
10 # This program is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
12 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13 # PARTICULAR PURPOSE.
14
15 @SET_MAKE@
16
17 ###############################################################################
18 # Copyright (C) 2007-2013 Lawrence Livermore National Security, LLC.
19 # Copyright (C) 2007 The Regents of the University of California.
20 # Written by Brian Behlendorf <behlendorf1@llnl.gov>.
21 ###############################################################################
22 # Build targets for RPM packages.
23 ###############################################################################
24
25 VPATH = @srcdir@
26 am__is_gnu_make = { \
27 if test -z '$(MAKELEVEL)'; then \
28 false; \
29 elif test -n '$(MAKE_HOST)'; then \
30 true; \
31 elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
32 true; \
33 else \
34 false; \
35 fi; \
36 }
37 am__make_running_with_option = \
38 case $${target_option-} in \
39 ?) ;; \
40 *) echo "am__make_running_with_option: internal error: invalid" \
41 "target option '$${target_option-}' specified" >&2; \
42 exit 1;; \
43 esac; \
44 has_opt=no; \
45 sane_makeflags=$$MAKEFLAGS; \
46 if $(am__is_gnu_make); then \
47 sane_makeflags=$$MFLAGS; \
48 else \
49 case $$MAKEFLAGS in \
50 *\\[\ \ ]*) \
51 bs=\\; \
52 sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
53 | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
54 esac; \
55 fi; \
56 skip_next=no; \
57 strip_trailopt () \
58 { \
59 flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
60 }; \
61 for flg in $$sane_makeflags; do \
62 test $$skip_next = yes && { skip_next=no; continue; }; \
63 case $$flg in \
64 *=*|--*) continue;; \
65 -*I) strip_trailopt 'I'; skip_next=yes;; \
66 -*I?*) strip_trailopt 'I';; \
67 -*O) strip_trailopt 'O'; skip_next=yes;; \
68 -*O?*) strip_trailopt 'O';; \
69 -*l) strip_trailopt 'l'; skip_next=yes;; \
70 -*l?*) strip_trailopt 'l';; \
71 -[dEDm]) skip_next=yes;; \
72 -[JT]) skip_next=yes;; \
73 esac; \
74 case $$flg in \
75 *$$target_option*) has_opt=yes; break;; \
76 esac; \
77 done; \
78 test $$has_opt = yes
79 am__make_dryrun = (target_option=n; $(am__make_running_with_option))
80 am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
81 pkgdatadir = $(datadir)/@PACKAGE@
82 pkgincludedir = $(includedir)/@PACKAGE@
83 pkglibdir = $(libdir)/@PACKAGE@
84 pkglibexecdir = $(libexecdir)/@PACKAGE@
85 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
86 install_sh_DATA = $(install_sh) -c -m 644
87 install_sh_PROGRAM = $(install_sh) -c
88 install_sh_SCRIPT = $(install_sh) -c
89 INSTALL_HEADER = $(INSTALL_DATA)
90 transform = $(program_transform_name)
91 NORMAL_INSTALL = :
92 PRE_INSTALL = :
93 POST_INSTALL = :
94 NORMAL_UNINSTALL = :
95 PRE_UNINSTALL = :
96 POST_UNINSTALL = :
97 build_triplet = @build@
98 host_triplet = @host@
99 target_triplet = @target@
100 subdir = .
101 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
102 am__aclocal_m4_deps = $(top_srcdir)/config/always-no-bool-compare.m4 \
103 $(top_srcdir)/config/always-no-unused-but-set-variable.m4 \
104 $(top_srcdir)/config/dkms.m4 \
105 $(top_srcdir)/config/kernel-acl.m4 \
106 $(top_srcdir)/config/kernel-aio-fsync.m4 \
107 $(top_srcdir)/config/kernel-automount.m4 \
108 $(top_srcdir)/config/kernel-bdev-block-device-operations.m4 \
109 $(top_srcdir)/config/kernel-bdev-logical-size.m4 \
110 $(top_srcdir)/config/kernel-bdev-physical-size.m4 \
111 $(top_srcdir)/config/kernel-bdi.m4 \
112 $(top_srcdir)/config/kernel-bio-bvec-iter.m4 \
113 $(top_srcdir)/config/kernel-bio-end-io-t-args.m4 \
114 $(top_srcdir)/config/kernel-bio-failfast.m4 \
115 $(top_srcdir)/config/kernel-bio-op.m4 \
116 $(top_srcdir)/config/kernel-bio-rw-barrier.m4 \
117 $(top_srcdir)/config/kernel-bio-rw-discard.m4 \
118 $(top_srcdir)/config/kernel-blk-queue-flush.m4 \
119 $(top_srcdir)/config/kernel-blk-queue-max-hw-sectors.m4 \
120 $(top_srcdir)/config/kernel-blk-queue-max-segments.m4 \
121 $(top_srcdir)/config/kernel-blk-queue-unplug.m4 \
122 $(top_srcdir)/config/kernel-blkdev-get-by-path.m4 \
123 $(top_srcdir)/config/kernel-blkdev-get.m4 \
124 $(top_srcdir)/config/kernel-block-device-operations-release-void.m4 \
125 $(top_srcdir)/config/kernel-check-disk-size-change.m4 \
126 $(top_srcdir)/config/kernel-clear-inode.m4 \
127 $(top_srcdir)/config/kernel-commit-metadata.m4 \
128 $(top_srcdir)/config/kernel-create-nameidata.m4 \
129 $(top_srcdir)/config/kernel-current-time.m4 \
130 $(top_srcdir)/config/kernel-current_bio_tail.m4 \
131 $(top_srcdir)/config/kernel-d-make-root.m4 \
132 $(top_srcdir)/config/kernel-d-obtain-alias.m4 \
133 $(top_srcdir)/config/kernel-d-prune-aliases.m4 \
134 $(top_srcdir)/config/kernel-declare-event-class.m4 \
135 $(top_srcdir)/config/kernel-dentry-operations.m4 \
136 $(top_srcdir)/config/kernel-dirty-inode.m4 \
137 $(top_srcdir)/config/kernel-discard-granularity.m4 \
138 $(top_srcdir)/config/kernel-elevator-change.m4 \
139 $(top_srcdir)/config/kernel-encode-fh-inode.m4 \
140 $(top_srcdir)/config/kernel-evict-inode.m4 \
141 $(top_srcdir)/config/kernel-fallocate.m4 \
142 $(top_srcdir)/config/kernel-file-inode.m4 \
143 $(top_srcdir)/config/kernel-fmode-t.m4 \
144 $(top_srcdir)/config/kernel-follow-down-one.m4 \
145 $(top_srcdir)/config/kernel-fsync.m4 \
146 $(top_srcdir)/config/kernel-generic_io_acct.m4 \
147 $(top_srcdir)/config/kernel-generic_readlink.m4 \
148 $(top_srcdir)/config/kernel-get-disk-ro.m4 \
149 $(top_srcdir)/config/kernel-get-gendisk.m4 \
150 $(top_srcdir)/config/kernel-get-link.m4 \
151 $(top_srcdir)/config/kernel-inode-getattr.m4 \
152 $(top_srcdir)/config/kernel-insert-inode-locked.m4 \
153 $(top_srcdir)/config/kernel-invalidate-bdev-args.m4 \
154 $(top_srcdir)/config/kernel-is_owner_or_cap.m4 \
155 $(top_srcdir)/config/kernel-kmap-atomic-args.m4 \
156 $(top_srcdir)/config/kernel-kobj-name-len.m4 \
157 $(top_srcdir)/config/kernel-lookup-bdev.m4 \
158 $(top_srcdir)/config/kernel-lookup-nameidata.m4 \
159 $(top_srcdir)/config/kernel-lseek-execute.m4 \
160 $(top_srcdir)/config/kernel-mk-request-fn.m4 \
161 $(top_srcdir)/config/kernel-mkdir-umode-t.m4 \
162 $(top_srcdir)/config/kernel-mount-nodev.m4 \
163 $(top_srcdir)/config/kernel-open-bdev-exclusive.m4 \
164 $(top_srcdir)/config/kernel-put-link.m4 \
165 $(top_srcdir)/config/kernel-rename.m4 \
166 $(top_srcdir)/config/kernel-security-inode-init.m4 \
167 $(top_srcdir)/config/kernel-set-nlink.m4 \
168 $(top_srcdir)/config/kernel-setattr-prepare.m4 \
169 $(top_srcdir)/config/kernel-sget-args.m4 \
170 $(top_srcdir)/config/kernel-show-options.m4 \
171 $(top_srcdir)/config/kernel-shrink.m4 \
172 $(top_srcdir)/config/kernel-submit_bio.m4 \
173 $(top_srcdir)/config/kernel-truncate-range.m4 \
174 $(top_srcdir)/config/kernel-truncate-setsize.m4 \
175 $(top_srcdir)/config/kernel-vfs-iterate.m4 \
176 $(top_srcdir)/config/kernel-vfs-rw-iterate.m4 \
177 $(top_srcdir)/config/kernel-xattr-handler.m4 \
178 $(top_srcdir)/config/kernel.m4 $(top_srcdir)/config/libtool.m4 \
179 $(top_srcdir)/config/ltoptions.m4 \
180 $(top_srcdir)/config/ltsugar.m4 \
181 $(top_srcdir)/config/ltversion.m4 \
182 $(top_srcdir)/config/lt~obsolete.m4 \
183 $(top_srcdir)/config/mount-helper.m4 \
184 $(top_srcdir)/config/user-arch.m4 \
185 $(top_srcdir)/config/user-dracut.m4 \
186 $(top_srcdir)/config/user-frame-larger-than.m4 \
187 $(top_srcdir)/config/user-libblkid.m4 \
188 $(top_srcdir)/config/user-libuuid.m4 \
189 $(top_srcdir)/config/user-runstatedir.m4 \
190 $(top_srcdir)/config/user-systemd.m4 \
191 $(top_srcdir)/config/user-sysvinit.m4 \
192 $(top_srcdir)/config/user-udev.m4 \
193 $(top_srcdir)/config/user-zlib.m4 $(top_srcdir)/config/user.m4 \
194 $(top_srcdir)/config/zfs-build.m4 \
195 $(top_srcdir)/config/zfs-meta.m4 $(top_srcdir)/configure.ac
196 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
197 $(ACLOCAL_M4)
198 DIST_COMMON = $(srcdir)/Makefile.am $(top_srcdir)/configure \
199 $(am__configure_deps) $(am__extra_HEADERS_DIST) \
200 $(am__DIST_COMMON)
201 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
202 configure.lineno config.status.lineno
203 mkinstalldirs = $(install_sh) -d
204 CONFIG_HEADER = zfs_config.h
205 CONFIG_CLEAN_FILES = module/Makefile module/avl/Makefile \
206 module/nvpair/Makefile module/unicode/Makefile \
207 module/zcommon/Makefile module/zfs/Makefile \
208 module/zpios/Makefile zfs.release
209 CONFIG_CLEAN_VPATH_FILES =
210 AM_V_P = $(am__v_P_@AM_V@)
211 am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
212 am__v_P_0 = false
213 am__v_P_1 = :
214 AM_V_GEN = $(am__v_GEN_@AM_V@)
215 am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
216 am__v_GEN_0 = @echo " GEN " $@;
217 am__v_GEN_1 =
218 AM_V_at = $(am__v_at_@AM_V@)
219 am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
220 am__v_at_0 = @
221 am__v_at_1 =
222 SOURCES =
223 DIST_SOURCES =
224 RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \
225 ctags-recursive dvi-recursive html-recursive info-recursive \
226 install-data-recursive install-dvi-recursive \
227 install-exec-recursive install-html-recursive \
228 install-info-recursive install-pdf-recursive \
229 install-ps-recursive install-recursive installcheck-recursive \
230 installdirs-recursive pdf-recursive ps-recursive \
231 tags-recursive uninstall-recursive
232 am__can_run_installinfo = \
233 case $$AM_UPDATE_INFO_DIR in \
234 n|no|NO) false;; \
235 *) (install-info --version) >/dev/null 2>&1;; \
236 esac
237 am__extra_HEADERS_DIST = zfs.release.in zfs_config.h.in
238 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
239 am__vpath_adj = case $$p in \
240 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
241 *) f=$$p;; \
242 esac;
243 am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
244 am__install_max = 40
245 am__nobase_strip_setup = \
246 srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
247 am__nobase_strip = \
248 for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
249 am__nobase_list = $(am__nobase_strip_setup); \
250 for p in $$list; do echo "$$p $$p"; done | \
251 sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
252 $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
253 if (++n[$$2] == $(am__install_max)) \
254 { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
255 END { for (dir in files) print dir, files[dir] }'
256 am__base_list = \
257 sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
258 sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
259 am__uninstall_files_from_dir = { \
260 test -z "$$files" \
261 || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
262 || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
263 $(am__cd) "$$dir" && rm -f $$files; }; \
264 }
265 am__installdirs = "$(DESTDIR)$(extradir)" "$(DESTDIR)$(kerneldir)"
266 HEADERS = $(extra_HEADERS) $(nodist_kernel_HEADERS)
267 RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
268 distclean-recursive maintainer-clean-recursive
269 am__recursive_targets = \
270 $(RECURSIVE_TARGETS) \
271 $(RECURSIVE_CLEAN_TARGETS) \
272 $(am__extra_recursive_targets)
273 AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
274 cscope distdir dist dist-all distcheck
275 am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) \
276 $(LISP)zfs_config.h.in
277 # Read a list of newline-separated strings from the standard input,
278 # and print each of them once, without duplicates. Input order is
279 # *not* preserved.
280 am__uniquify_input = $(AWK) '\
281 BEGIN { nonempty = 0; } \
282 { items[$$0] = 1; nonempty = 1; } \
283 END { if (nonempty) { for (i in items) print i; }; } \
284 '
285 # Make sure the list of sources is unique. This is necessary because,
286 # e.g., the same source file might be shared among _SOURCES variables
287 # for different programs/libraries.
288 am__define_uniq_tagged_files = \
289 list='$(am__tagged_files)'; \
290 unique=`for i in $$list; do \
291 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
292 done | $(am__uniquify_input)`
293 ETAGS = etags
294 CTAGS = ctags
295 CSCOPE = cscope
296 DIST_SUBDIRS = module include
297 am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/config/deb.am \
298 $(srcdir)/config/rpm.am $(srcdir)/config/tgz.am \
299 $(srcdir)/zfs.release.in $(srcdir)/zfs_config.h.in \
300 $(top_srcdir)/config/compile $(top_srcdir)/config/config.guess \
301 $(top_srcdir)/config/config.sub \
302 $(top_srcdir)/config/install-sh $(top_srcdir)/config/ltmain.sh \
303 $(top_srcdir)/config/missing $(top_srcdir)/module/Makefile.in \
304 $(top_srcdir)/module/avl/Makefile.in \
305 $(top_srcdir)/module/nvpair/Makefile.in \
306 $(top_srcdir)/module/unicode/Makefile.in \
307 $(top_srcdir)/module/zcommon/Makefile.in \
308 $(top_srcdir)/module/zfs/Makefile.in \
309 $(top_srcdir)/module/zpios/Makefile.in AUTHORS config/compile \
310 config/config.guess config/config.sub config/install-sh \
311 config/ltmain.sh config/missing
312 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
313 distdir = $(PACKAGE)-$(VERSION)
314 top_distdir = $(distdir)
315 am__remove_distdir = \
316 if test -d "$(distdir)"; then \
317 find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
318 && rm -rf "$(distdir)" \
319 || { sleep 5 && rm -rf "$(distdir)"; }; \
320 else :; fi
321 am__post_remove_distdir = $(am__remove_distdir)
322 am__relativize = \
323 dir0=`pwd`; \
324 sed_first='s,^\([^/]*\)/.*$$,\1,'; \
325 sed_rest='s,^[^/]*/*,,'; \
326 sed_last='s,^.*/\([^/]*\)$$,\1,'; \
327 sed_butlast='s,/*[^/]*$$,,'; \
328 while test -n "$$dir1"; do \
329 first=`echo "$$dir1" | sed -e "$$sed_first"`; \
330 if test "$$first" != "."; then \
331 if test "$$first" = ".."; then \
332 dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
333 dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
334 else \
335 first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
336 if test "$$first2" = "$$first"; then \
337 dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
338 else \
339 dir2="../$$dir2"; \
340 fi; \
341 dir0="$$dir0"/"$$first"; \
342 fi; \
343 fi; \
344 dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
345 done; \
346 reldir="$$dir2"
347 DIST_ARCHIVES = $(distdir).tar.gz
348 GZIP_ENV = --best
349 DIST_TARGETS = dist-gzip
350 distuninstallcheck_listfiles = find . -type f -print
351 am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
352 | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
353 distcleancheck_listfiles = find . -type f -print
354 ACLOCAL = @ACLOCAL@
355 ALIEN = @ALIEN@
356 ALIEN_VERSION = @ALIEN_VERSION@
357 AMTAR = @AMTAR@
358 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
359 AR = @AR@
360 AUTOCONF = @AUTOCONF@
361 AUTOHEADER = @AUTOHEADER@
362 AUTOMAKE = @AUTOMAKE@
363 AWK = @AWK@
364 CC = @CC@
365 CCAS = @CCAS@
366 CCASDEPMODE = @CCASDEPMODE@
367 CCASFLAGS = @CCASFLAGS@
368 CCDEPMODE = @CCDEPMODE@
369 CFLAGS = @CFLAGS@
370 CPP = @CPP@
371 CPPFLAGS = @CPPFLAGS@
372 CYGPATH_W = @CYGPATH_W@
373 DEBUG_CFLAGS = @DEBUG_CFLAGS@
374 DEBUG_DMU_TX = @DEBUG_DMU_TX@
375 DEBUG_STACKFLAGS = @DEBUG_STACKFLAGS@
376 DEBUG_ZFS = @DEBUG_ZFS@
377 DEFAULT_INITCONF_DIR = @DEFAULT_INITCONF_DIR@
378 DEFAULT_INIT_DIR = @DEFAULT_INIT_DIR@
379 DEFAULT_INIT_SCRIPT = @DEFAULT_INIT_SCRIPT@
380 DEFAULT_PACKAGE = @DEFAULT_PACKAGE@
381 DEFINE_INITRAMFS = @DEFINE_INITRAMFS@
382 DEFS = @DEFS@
383 DEPDIR = @DEPDIR@
384 DLLTOOL = @DLLTOOL@
385 DPKG = @DPKG@
386 DPKGBUILD = @DPKGBUILD@
387 DPKGBUILD_VERSION = @DPKGBUILD_VERSION@
388 DPKG_VERSION = @DPKG_VERSION@
389 DSYMUTIL = @DSYMUTIL@
390 DUMPBIN = @DUMPBIN@
391 ECHO_C = @ECHO_C@
392 ECHO_N = @ECHO_N@
393 ECHO_T = @ECHO_T@
394 EGREP = @EGREP@
395 EXEEXT = @EXEEXT@
396 FGREP = @FGREP@
397 FRAME_LARGER_THAN = @FRAME_LARGER_THAN@
398 GREP = @GREP@
399 HAVE_ALIEN = @HAVE_ALIEN@
400 HAVE_DPKG = @HAVE_DPKG@
401 HAVE_DPKGBUILD = @HAVE_DPKGBUILD@
402 HAVE_RPM = @HAVE_RPM@
403 HAVE_RPMBUILD = @HAVE_RPMBUILD@
404 INSTALL = @INSTALL@
405 INSTALL_DATA = @INSTALL_DATA@
406 INSTALL_PROGRAM = @INSTALL_PROGRAM@
407 INSTALL_SCRIPT = @INSTALL_SCRIPT@
408 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
409 KERNELCPPFLAGS = @KERNELCPPFLAGS@
410 KERNELMAKE_PARAMS = @KERNELMAKE_PARAMS@
411 LD = @LD@
412 LDFLAGS = @LDFLAGS@
413 LIBBLKID = @LIBBLKID@
414 LIBOBJS = @LIBOBJS@
415 LIBS = @LIBS@
416 LIBTOOL = @LIBTOOL@
417 LIBUUID = @LIBUUID@
418 LINUX = @LINUX@
419 LINUX_OBJ = @LINUX_OBJ@
420 LINUX_SYMBOLS = @LINUX_SYMBOLS@
421 LINUX_VERSION = @LINUX_VERSION@
422 LIPO = @LIPO@
423 LN_S = @LN_S@
424 LTLIBOBJS = @LTLIBOBJS@
425 LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
426 MAINT = @MAINT@
427 MAKEINFO = @MAKEINFO@
428 MANIFEST_TOOL = @MANIFEST_TOOL@
429 MKDIR_P = @MKDIR_P@
430 NM = @NM@
431 NMEDIT = @NMEDIT@
432 NO_BOOL_COMPARE = @NO_BOOL_COMPARE@
433 NO_UNUSED_BUT_SET_VARIABLE = @NO_UNUSED_BUT_SET_VARIABLE@
434 OBJDUMP = @OBJDUMP@
435 OBJEXT = @OBJEXT@
436 OTOOL = @OTOOL@
437 OTOOL64 = @OTOOL64@
438 PACKAGE = @PACKAGE@
439 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
440 PACKAGE_NAME = @PACKAGE_NAME@
441 PACKAGE_STRING = @PACKAGE_STRING@
442 PACKAGE_TARNAME = @PACKAGE_TARNAME@
443 PACKAGE_URL = @PACKAGE_URL@
444 PACKAGE_VERSION = @PACKAGE_VERSION@
445 PATH_SEPARATOR = @PATH_SEPARATOR@
446 RANLIB = @RANLIB@
447 RELEASE = @RELEASE@
448 RPM = @RPM@
449 RPMBUILD = @RPMBUILD@
450 RPMBUILD_VERSION = @RPMBUILD_VERSION@
451 RPM_DEFINE_COMMON = @RPM_DEFINE_COMMON@
452 RPM_DEFINE_DKMS = @RPM_DEFINE_DKMS@
453 RPM_DEFINE_KMOD = @RPM_DEFINE_KMOD@
454 RPM_DEFINE_UTIL = @RPM_DEFINE_UTIL@
455 RPM_SPEC_DIR = @RPM_SPEC_DIR@
456 RPM_VERSION = @RPM_VERSION@
457 SED = @SED@
458 SET_MAKE = @SET_MAKE@
459 SHELL = @SHELL@
460 SPL = @SPL@
461 SPL_OBJ = @SPL_OBJ@
462 SPL_SYMBOLS = @SPL_SYMBOLS@
463 SPL_VERSION = @SPL_VERSION@
464 SRPM_DEFINE_COMMON = @SRPM_DEFINE_COMMON@
465 SRPM_DEFINE_DKMS = @SRPM_DEFINE_DKMS@
466 SRPM_DEFINE_KMOD = @SRPM_DEFINE_KMOD@
467 SRPM_DEFINE_UTIL = @SRPM_DEFINE_UTIL@
468 STRIP = @STRIP@
469 TARGET_ASM_DIR = @TARGET_ASM_DIR@
470 VENDOR = @VENDOR@
471 VERSION = @VERSION@
472 ZFS_CONFIG = @ZFS_CONFIG@
473 ZFS_INIT_SYSTEMD = @ZFS_INIT_SYSTEMD@
474 ZFS_INIT_SYSV = @ZFS_INIT_SYSV@
475 ZFS_META_ALIAS = @ZFS_META_ALIAS@
476 ZFS_META_AUTHOR = @ZFS_META_AUTHOR@
477 ZFS_META_DATA = @ZFS_META_DATA@
478 ZFS_META_LICENSE = @ZFS_META_LICENSE@
479 ZFS_META_LT_AGE = @ZFS_META_LT_AGE@
480 ZFS_META_LT_CURRENT = @ZFS_META_LT_CURRENT@
481 ZFS_META_LT_REVISION = @ZFS_META_LT_REVISION@
482 ZFS_META_NAME = @ZFS_META_NAME@
483 ZFS_META_RELEASE = @ZFS_META_RELEASE@
484 ZFS_META_VERSION = @ZFS_META_VERSION@
485 ZFS_MODULE_LOAD = @ZFS_MODULE_LOAD@
486 ZLIB = @ZLIB@
487 abs_builddir = @abs_builddir@
488 abs_srcdir = @abs_srcdir@
489 abs_top_builddir = @abs_top_builddir@
490 abs_top_srcdir = @abs_top_srcdir@
491 ac_ct_AR = @ac_ct_AR@
492 ac_ct_CC = @ac_ct_CC@
493 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
494 am__include = @am__include@
495 am__leading_dot = @am__leading_dot@
496 am__quote = @am__quote@
497 am__tar = @am__tar@
498 am__untar = @am__untar@
499 bindir = @bindir@
500 build = @build@
501 build_alias = @build_alias@
502 build_cpu = @build_cpu@
503 build_os = @build_os@
504 build_vendor = @build_vendor@
505 builddir = @builddir@
506 datadir = @datadir@
507 datarootdir = @datarootdir@
508 docdir = @docdir@
509 dracutdir = @dracutdir@
510 dvidir = @dvidir@
511 exec_prefix = @exec_prefix@
512 host = @host@
513 host_alias = @host_alias@
514 host_cpu = @host_cpu@
515 host_os = @host_os@
516 host_vendor = @host_vendor@
517 htmldir = @htmldir@
518 includedir = @includedir@
519 infodir = @infodir@
520 install_sh = @install_sh@
521 libdir = @libdir@
522 libexecdir = @libexecdir@
523 localedir = @localedir@
524 localstatedir = @localstatedir@
525 mandir = @mandir@
526 mkdir_p = @mkdir_p@
527 modulesloaddir = @modulesloaddir@
528 mounthelperdir = @mounthelperdir@
529 oldincludedir = @oldincludedir@
530 pdfdir = @pdfdir@
531 prefix = @prefix@
532 program_transform_name = @program_transform_name@
533 psdir = @psdir@
534 runstatedir = @runstatedir@
535 sbindir = @sbindir@
536 sharedstatedir = @sharedstatedir@
537 srcdir = @srcdir@
538 sysconfdir = @sysconfdir@
539 systemdpresetdir = @systemdpresetdir@
540 systemdunitdir = @systemdunitdir@
541 target = @target@
542 target_alias = @target_alias@
543 target_cpu = @target_cpu@
544 target_os = @target_os@
545 target_vendor = @target_vendor@
546 top_build_prefix = @top_build_prefix@
547 top_builddir = @top_builddir@
548 top_srcdir = @top_srcdir@
549 udevdir = @udevdir@
550 udevruledir = @udevruledir@
551 ACLOCAL_AMFLAGS = -I config
552 @CONFIG_KERNEL_TRUE@SUBDIRS = module include
553 @CONFIG_KERNEL_TRUE@extradir = @prefix@/src/zfs-$(VERSION)
554 @CONFIG_KERNEL_TRUE@extra_HEADERS = zfs.release.in zfs_config.h.in
555 @CONFIG_KERNEL_TRUE@kerneldir = @prefix@/src/zfs-$(VERSION)/$(LINUX_VERSION)
556 @CONFIG_KERNEL_TRUE@nodist_kernel_HEADERS = zfs.release zfs_config.h module/$(LINUX_SYMBOLS)
557 AUTOMAKE_OPTIONS = foreign
558 EXTRA_DIST = autogen.sh copy-builtin config/config.awk config/rpm.am \
559 config/deb.am config/tgz.am META DISCLAIMER COPYRIGHT \
560 README.markdown OPENSOLARIS.LICENSE
561 all: zfs_config.h
562 $(MAKE) $(AM_MAKEFLAGS) all-recursive
563
564 .SUFFIXES:
565 am--refresh: Makefile
566 @:
567 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(srcdir)/config/rpm.am $(srcdir)/config/deb.am $(srcdir)/config/tgz.am $(am__configure_deps)
568 @for dep in $?; do \
569 case '$(am__configure_deps)' in \
570 *$$dep*) \
571 echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \
572 $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \
573 && exit 0; \
574 exit 1;; \
575 esac; \
576 done; \
577 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
578 $(am__cd) $(top_srcdir) && \
579 $(AUTOMAKE) --foreign Makefile
580 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
581 @case '$?' in \
582 *config.status*) \
583 echo ' $(SHELL) ./config.status'; \
584 $(SHELL) ./config.status;; \
585 *) \
586 echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
587 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
588 esac;
589 $(srcdir)/config/rpm.am $(srcdir)/config/deb.am $(srcdir)/config/tgz.am $(am__empty):
590
591 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
592 $(SHELL) ./config.status --recheck
593
594 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
595 $(am__cd) $(srcdir) && $(AUTOCONF)
596 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
597 $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
598 $(am__aclocal_m4_deps):
599
600 zfs_config.h: stamp-h1
601 @test -f $@ || rm -f stamp-h1
602 @test -f $@ || $(MAKE) $(AM_MAKEFLAGS) stamp-h1
603
604 stamp-h1: $(srcdir)/zfs_config.h.in $(top_builddir)/config.status
605 @rm -f stamp-h1
606 cd $(top_builddir) && $(SHELL) ./config.status zfs_config.h
607 $(srcdir)/zfs_config.h.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
608 ($(am__cd) $(top_srcdir) && $(AUTOHEADER))
609 rm -f stamp-h1
610 touch $@
611
612 distclean-hdr:
613 -rm -f zfs_config.h stamp-h1
614 module/Makefile: $(top_builddir)/config.status $(top_srcdir)/module/Makefile.in
615 cd $(top_builddir) && $(SHELL) ./config.status $@
616 module/avl/Makefile: $(top_builddir)/config.status $(top_srcdir)/module/avl/Makefile.in
617 cd $(top_builddir) && $(SHELL) ./config.status $@
618 module/nvpair/Makefile: $(top_builddir)/config.status $(top_srcdir)/module/nvpair/Makefile.in
619 cd $(top_builddir) && $(SHELL) ./config.status $@
620 module/unicode/Makefile: $(top_builddir)/config.status $(top_srcdir)/module/unicode/Makefile.in
621 cd $(top_builddir) && $(SHELL) ./config.status $@
622 module/zcommon/Makefile: $(top_builddir)/config.status $(top_srcdir)/module/zcommon/Makefile.in
623 cd $(top_builddir) && $(SHELL) ./config.status $@
624 module/zfs/Makefile: $(top_builddir)/config.status $(top_srcdir)/module/zfs/Makefile.in
625 cd $(top_builddir) && $(SHELL) ./config.status $@
626 module/zpios/Makefile: $(top_builddir)/config.status $(top_srcdir)/module/zpios/Makefile.in
627 cd $(top_builddir) && $(SHELL) ./config.status $@
628 zfs.release: $(top_builddir)/config.status $(srcdir)/zfs.release.in
629 cd $(top_builddir) && $(SHELL) ./config.status $@
630
631 mostlyclean-libtool:
632 -rm -f *.lo
633
634 clean-libtool:
635 -rm -rf .libs _libs
636
637 distclean-libtool:
638 -rm -f libtool config.lt
639 install-extraHEADERS: $(extra_HEADERS)
640 @$(NORMAL_INSTALL)
641 @list='$(extra_HEADERS)'; test -n "$(extradir)" || list=; \
642 if test -n "$$list"; then \
643 echo " $(MKDIR_P) '$(DESTDIR)$(extradir)'"; \
644 $(MKDIR_P) "$(DESTDIR)$(extradir)" || exit 1; \
645 fi; \
646 for p in $$list; do \
647 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
648 echo "$$d$$p"; \
649 done | $(am__base_list) | \
650 while read files; do \
651 echo " $(INSTALL_HEADER) $$files '$(DESTDIR)$(extradir)'"; \
652 $(INSTALL_HEADER) $$files "$(DESTDIR)$(extradir)" || exit $$?; \
653 done
654
655 uninstall-extraHEADERS:
656 @$(NORMAL_UNINSTALL)
657 @list='$(extra_HEADERS)'; test -n "$(extradir)" || list=; \
658 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
659 dir='$(DESTDIR)$(extradir)'; $(am__uninstall_files_from_dir)
660 install-nodist_kernelHEADERS: $(nodist_kernel_HEADERS)
661 @$(NORMAL_INSTALL)
662 @list='$(nodist_kernel_HEADERS)'; test -n "$(kerneldir)" || list=; \
663 if test -n "$$list"; then \
664 echo " $(MKDIR_P) '$(DESTDIR)$(kerneldir)'"; \
665 $(MKDIR_P) "$(DESTDIR)$(kerneldir)" || exit 1; \
666 fi; \
667 for p in $$list; do \
668 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
669 echo "$$d$$p"; \
670 done | $(am__base_list) | \
671 while read files; do \
672 echo " $(INSTALL_HEADER) $$files '$(DESTDIR)$(kerneldir)'"; \
673 $(INSTALL_HEADER) $$files "$(DESTDIR)$(kerneldir)" || exit $$?; \
674 done
675
676 uninstall-nodist_kernelHEADERS:
677 @$(NORMAL_UNINSTALL)
678 @list='$(nodist_kernel_HEADERS)'; test -n "$(kerneldir)" || list=; \
679 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
680 dir='$(DESTDIR)$(kerneldir)'; $(am__uninstall_files_from_dir)
681
682 # This directory's subdirectories are mostly independent; you can cd
683 # into them and run 'make' without going through this Makefile.
684 # To change the values of 'make' variables: instead of editing Makefiles,
685 # (1) if the variable is set in 'config.status', edit 'config.status'
686 # (which will cause the Makefiles to be regenerated when you run 'make');
687 # (2) otherwise, pass the desired values on the 'make' command line.
688 $(am__recursive_targets):
689 @fail=; \
690 if $(am__make_keepgoing); then \
691 failcom='fail=yes'; \
692 else \
693 failcom='exit 1'; \
694 fi; \
695 dot_seen=no; \
696 target=`echo $@ | sed s/-recursive//`; \
697 case "$@" in \
698 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
699 *) list='$(SUBDIRS)' ;; \
700 esac; \
701 for subdir in $$list; do \
702 echo "Making $$target in $$subdir"; \
703 if test "$$subdir" = "."; then \
704 dot_seen=yes; \
705 local_target="$$target-am"; \
706 else \
707 local_target="$$target"; \
708 fi; \
709 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
710 || eval $$failcom; \
711 done; \
712 if test "$$dot_seen" = "no"; then \
713 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
714 fi; test -z "$$fail"
715
716 ID: $(am__tagged_files)
717 $(am__define_uniq_tagged_files); mkid -fID $$unique
718 TAGS: tags
719
720 tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
721 set x; \
722 here=`pwd`; \
723 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
724 include_option=--etags-include; \
725 empty_fix=.; \
726 else \
727 include_option=--include; \
728 empty_fix=; \
729 fi; \
730 list='$(SUBDIRS)'; for subdir in $$list; do \
731 if test "$$subdir" = .; then :; else \
732 test ! -f $$subdir/TAGS || \
733 set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
734 fi; \
735 done; \
736 $(am__define_uniq_tagged_files); \
737 shift; \
738 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
739 test -n "$$unique" || unique=$$empty_fix; \
740 if test $$# -gt 0; then \
741 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
742 "$$@" $$unique; \
743 else \
744 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
745 $$unique; \
746 fi; \
747 fi
748
749 CTAGS: ctags
750 ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
751 $(am__define_uniq_tagged_files); \
752 test -z "$(CTAGS_ARGS)$$unique" \
753 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
754 $$unique
755
756 GTAGS:
757 here=`$(am__cd) $(top_builddir) && pwd` \
758 && $(am__cd) $(top_srcdir) \
759 && gtags -i $(GTAGS_ARGS) "$$here"
760 cscope: cscope.files
761 test ! -s cscope.files \
762 || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS)
763 clean-cscope:
764 -rm -f cscope.files
765 cscope.files: clean-cscope cscopelist
766 cscopelist: cscopelist-recursive
767
768 cscopelist-am: $(am__tagged_files)
769 list='$(am__tagged_files)'; \
770 case "$(srcdir)" in \
771 [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
772 *) sdir=$(subdir)/$(srcdir) ;; \
773 esac; \
774 for i in $$list; do \
775 if test -f "$$i"; then \
776 echo "$(subdir)/$$i"; \
777 else \
778 echo "$$sdir/$$i"; \
779 fi; \
780 done >> $(top_builddir)/cscope.files
781
782 distclean-tags:
783 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
784 -rm -f cscope.out cscope.in.out cscope.po.out cscope.files
785
786 distdir: $(DISTFILES)
787 $(am__remove_distdir)
788 test -d "$(distdir)" || mkdir "$(distdir)"
789 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
790 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
791 list='$(DISTFILES)'; \
792 dist_files=`for file in $$list; do echo $$file; done | \
793 sed -e "s|^$$srcdirstrip/||;t" \
794 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
795 case $$dist_files in \
796 */*) $(MKDIR_P) `echo "$$dist_files" | \
797 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
798 sort -u` ;; \
799 esac; \
800 for file in $$dist_files; do \
801 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
802 if test -d $$d/$$file; then \
803 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
804 if test -d "$(distdir)/$$file"; then \
805 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
806 fi; \
807 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
808 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
809 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
810 fi; \
811 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
812 else \
813 test -f "$(distdir)/$$file" \
814 || cp -p $$d/$$file "$(distdir)/$$file" \
815 || exit 1; \
816 fi; \
817 done
818 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
819 if test "$$subdir" = .; then :; else \
820 $(am__make_dryrun) \
821 || test -d "$(distdir)/$$subdir" \
822 || $(MKDIR_P) "$(distdir)/$$subdir" \
823 || exit 1; \
824 dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
825 $(am__relativize); \
826 new_distdir=$$reldir; \
827 dir1=$$subdir; dir2="$(top_distdir)"; \
828 $(am__relativize); \
829 new_top_distdir=$$reldir; \
830 echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
831 echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
832 ($(am__cd) $$subdir && \
833 $(MAKE) $(AM_MAKEFLAGS) \
834 top_distdir="$$new_top_distdir" \
835 distdir="$$new_distdir" \
836 am__remove_distdir=: \
837 am__skip_length_check=: \
838 am__skip_mode_fix=: \
839 distdir) \
840 || exit 1; \
841 fi; \
842 done
843 $(MAKE) $(AM_MAKEFLAGS) \
844 top_distdir="$(top_distdir)" distdir="$(distdir)" \
845 dist-hook
846 -test -n "$(am__skip_mode_fix)" \
847 || find "$(distdir)" -type d ! -perm -755 \
848 -exec chmod u+rwx,go+rx {} \; -o \
849 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
850 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
851 ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
852 || chmod -R a+r "$(distdir)"
853 dist-gzip: distdir
854 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
855 $(am__post_remove_distdir)
856
857 dist-bzip2: distdir
858 tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2
859 $(am__post_remove_distdir)
860
861 dist-lzip: distdir
862 tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz
863 $(am__post_remove_distdir)
864
865 dist-xz: distdir
866 tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
867 $(am__post_remove_distdir)
868
869 dist-tarZ: distdir
870 @echo WARNING: "Support for distribution archives compressed with" \
871 "legacy program 'compress' is deprecated." >&2
872 @echo WARNING: "It will be removed altogether in Automake 2.0" >&2
873 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
874 $(am__post_remove_distdir)
875
876 dist-shar: distdir
877 @echo WARNING: "Support for shar distribution archives is" \
878 "deprecated." >&2
879 @echo WARNING: "It will be removed altogether in Automake 2.0" >&2
880 shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
881 $(am__post_remove_distdir)
882
883 dist-zip: distdir
884 -rm -f $(distdir).zip
885 zip -rq $(distdir).zip $(distdir)
886 $(am__post_remove_distdir)
887
888 dist dist-all:
889 $(MAKE) $(AM_MAKEFLAGS) $(DIST_TARGETS) am__post_remove_distdir='@:'
890 $(am__post_remove_distdir)
891
892 # This target untars the dist file and tries a VPATH configuration. Then
893 # it guarantees that the distribution is self-contained by making another
894 # tarfile.
895 distcheck: dist
896 case '$(DIST_ARCHIVES)' in \
897 *.tar.gz*) \
898 GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
899 *.tar.bz2*) \
900 bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
901 *.tar.lz*) \
902 lzip -dc $(distdir).tar.lz | $(am__untar) ;;\
903 *.tar.xz*) \
904 xz -dc $(distdir).tar.xz | $(am__untar) ;;\
905 *.tar.Z*) \
906 uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
907 *.shar.gz*) \
908 GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
909 *.zip*) \
910 unzip $(distdir).zip ;;\
911 esac
912 chmod -R a-w $(distdir)
913 chmod u+w $(distdir)
914 mkdir $(distdir)/_build $(distdir)/_build/sub $(distdir)/_inst
915 chmod a-w $(distdir)
916 test -d $(distdir)/_build || exit 0; \
917 dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
918 && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
919 && am__cwd=`pwd` \
920 && $(am__cd) $(distdir)/_build/sub \
921 && ../../configure \
922 $(AM_DISTCHECK_CONFIGURE_FLAGS) \
923 $(DISTCHECK_CONFIGURE_FLAGS) \
924 --srcdir=../.. --prefix="$$dc_install_base" \
925 && $(MAKE) $(AM_MAKEFLAGS) \
926 && $(MAKE) $(AM_MAKEFLAGS) dvi \
927 && $(MAKE) $(AM_MAKEFLAGS) check \
928 && $(MAKE) $(AM_MAKEFLAGS) install \
929 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
930 && $(MAKE) $(AM_MAKEFLAGS) uninstall \
931 && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
932 distuninstallcheck \
933 && chmod -R a-w "$$dc_install_base" \
934 && ({ \
935 (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
936 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
937 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
938 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
939 distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
940 } || { rm -rf "$$dc_destdir"; exit 1; }) \
941 && rm -rf "$$dc_destdir" \
942 && $(MAKE) $(AM_MAKEFLAGS) dist \
943 && rm -rf $(DIST_ARCHIVES) \
944 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
945 && cd "$$am__cwd" \
946 || exit 1
947 $(am__post_remove_distdir)
948 @(echo "$(distdir) archives ready for distribution: "; \
949 list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
950 sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
951 distuninstallcheck:
952 @test -n '$(distuninstallcheck_dir)' || { \
953 echo 'ERROR: trying to run $@ with an empty' \
954 '$$(distuninstallcheck_dir)' >&2; \
955 exit 1; \
956 }; \
957 $(am__cd) '$(distuninstallcheck_dir)' || { \
958 echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \
959 exit 1; \
960 }; \
961 test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \
962 || { echo "ERROR: files left after uninstall:" ; \
963 if test -n "$(DESTDIR)"; then \
964 echo " (check DESTDIR support)"; \
965 fi ; \
966 $(distuninstallcheck_listfiles) ; \
967 exit 1; } >&2
968 distcleancheck: distclean
969 @if test '$(srcdir)' = . ; then \
970 echo "ERROR: distcleancheck can only run from a VPATH build" ; \
971 exit 1 ; \
972 fi
973 @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
974 || { echo "ERROR: files left in build directory after distclean:" ; \
975 $(distcleancheck_listfiles) ; \
976 exit 1; } >&2
977 check-am: all-am
978 check: check-recursive
979 all-am: Makefile $(HEADERS) zfs_config.h
980 installdirs: installdirs-recursive
981 installdirs-am:
982 for dir in "$(DESTDIR)$(extradir)" "$(DESTDIR)$(kerneldir)"; do \
983 test -z "$$dir" || $(MKDIR_P) "$$dir"; \
984 done
985 install: install-recursive
986 install-exec: install-exec-recursive
987 install-data: install-data-recursive
988 uninstall: uninstall-recursive
989
990 install-am: all-am
991 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
992
993 installcheck: installcheck-recursive
994 install-strip:
995 if test -z '$(STRIP)'; then \
996 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
997 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
998 install; \
999 else \
1000 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
1001 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
1002 "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
1003 fi
1004 mostlyclean-generic:
1005
1006 clean-generic:
1007
1008 distclean-generic:
1009 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
1010 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
1011
1012 maintainer-clean-generic:
1013 @echo "This command is intended for maintainers to use"
1014 @echo "it deletes files that may require special tools to rebuild."
1015 clean: clean-recursive
1016
1017 clean-am: clean-generic clean-libtool mostlyclean-am
1018
1019 distclean: distclean-recursive
1020 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
1021 -rm -f Makefile
1022 distclean-am: clean-am distclean-generic distclean-hdr \
1023 distclean-libtool distclean-local distclean-tags
1024
1025 dvi: dvi-recursive
1026
1027 dvi-am:
1028
1029 html: html-recursive
1030
1031 html-am:
1032
1033 info: info-recursive
1034
1035 info-am:
1036
1037 install-data-am: install-extraHEADERS install-nodist_kernelHEADERS
1038
1039 install-dvi: install-dvi-recursive
1040
1041 install-dvi-am:
1042
1043 install-exec-am:
1044
1045 install-html: install-html-recursive
1046
1047 install-html-am:
1048
1049 install-info: install-info-recursive
1050
1051 install-info-am:
1052
1053 install-man:
1054
1055 install-pdf: install-pdf-recursive
1056
1057 install-pdf-am:
1058
1059 install-ps: install-ps-recursive
1060
1061 install-ps-am:
1062
1063 installcheck-am:
1064
1065 maintainer-clean: maintainer-clean-recursive
1066 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
1067 -rm -rf $(top_srcdir)/autom4te.cache
1068 -rm -f Makefile
1069 maintainer-clean-am: distclean-am maintainer-clean-generic
1070
1071 mostlyclean: mostlyclean-recursive
1072
1073 mostlyclean-am: mostlyclean-generic mostlyclean-libtool
1074
1075 pdf: pdf-recursive
1076
1077 pdf-am:
1078
1079 ps: ps-recursive
1080
1081 ps-am:
1082
1083 uninstall-am: uninstall-extraHEADERS uninstall-nodist_kernelHEADERS
1084
1085 .MAKE: $(am__recursive_targets) all install-am install-strip
1086
1087 .PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \
1088 am--refresh check check-am clean clean-cscope clean-generic \
1089 clean-libtool cscope cscopelist-am ctags ctags-am dist \
1090 dist-all dist-bzip2 dist-gzip dist-hook dist-lzip dist-shar \
1091 dist-tarZ dist-xz dist-zip distcheck distclean \
1092 distclean-generic distclean-hdr distclean-libtool \
1093 distclean-local distclean-tags distcleancheck distdir \
1094 distuninstallcheck dvi dvi-am html html-am info info-am \
1095 install install-am install-data install-data-am install-dvi \
1096 install-dvi-am install-exec install-exec-am \
1097 install-extraHEADERS install-html install-html-am install-info \
1098 install-info-am install-man install-nodist_kernelHEADERS \
1099 install-pdf install-pdf-am install-ps install-ps-am \
1100 install-strip installcheck installcheck-am installdirs \
1101 installdirs-am maintainer-clean maintainer-clean-generic \
1102 mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \
1103 ps ps-am tags tags-am uninstall uninstall-am \
1104 uninstall-extraHEADERS uninstall-nodist_kernelHEADERS
1105
1106 .PRECIOUS: Makefile
1107
1108
1109 srpm-kmod:
1110 $(MAKE) $(AM_MAKEFLAGS) pkg="${PACKAGE}-kmod" \
1111 def='${SRPM_DEFINE_COMMON} ${SRPM_DEFINE_KMOD}' srpm-common
1112
1113 srpm-dkms:
1114 $(MAKE) $(AM_MAKEFLAGS) pkg="${PACKAGE}-dkms" \
1115 def='${SRPM_DEFINE_COMMON} ${SRPM_DEFINE_DKMS}' srpm-common
1116
1117 srpm-utils:
1118 $(MAKE) $(AM_MAKEFLAGS) pkg="${PACKAGE}" \
1119 def='${SRPM_DEFINE_COMMON} ${SRPM_DEFINE_UTIL}' srpm-common
1120
1121 srpm: srpm-kmod srpm-dkms srpm-utils
1122 srpms: srpm-kmod srpm-dkms srpm-utils
1123
1124 rpm-kmod: srpm-kmod
1125 $(MAKE) $(AM_MAKEFLAGS) pkg="${PACKAGE}-kmod" \
1126 def='${RPM_DEFINE_COMMON} ${RPM_DEFINE_KMOD}' rpm-common
1127
1128 rpm-dkms: srpm-dkms
1129 $(MAKE) $(AM_MAKEFLAGS) pkg="${PACKAGE}-dkms" \
1130 def='${RPM_DEFINE_COMMON} ${RPM_DEFINE_DKMS}' rpm-common
1131
1132 rpm-utils: srpm-utils
1133 $(MAKE) $(AM_MAKEFLAGS) pkg="${PACKAGE}" \
1134 def='${RPM_DEFINE_COMMON} ${RPM_DEFINE_UTIL}' rpm-common
1135
1136 rpm: rpm-kmod rpm-dkms rpm-utils
1137 rpms: rpm-kmod rpm-dkms rpm-utils
1138
1139 rpm-local:
1140 @(if test "${HAVE_RPMBUILD}" = "no"; then \
1141 echo -e "\n" \
1142 "*** Required util ${RPMBUILD} missing. Please install the\n" \
1143 "*** package for your distribution which provides ${RPMBUILD},\n" \
1144 "*** re-run configure, and try again.\n"; \
1145 exit 1; \
1146 fi; \
1147 mkdir -p $(rpmbuild)/TMP && \
1148 mkdir -p $(rpmbuild)/BUILD && \
1149 mkdir -p $(rpmbuild)/RPMS && \
1150 mkdir -p $(rpmbuild)/SRPMS && \
1151 mkdir -p $(rpmbuild)/SPECS && \
1152 cp ${RPM_SPEC_DIR}/$(rpmspec) $(rpmbuild)/SPECS && \
1153 mkdir -p $(rpmbuild)/SOURCES && \
1154 cp $(top_srcdir)/scripts/kmodtool $(rpmbuild)/SOURCES && \
1155 cp $(distdir).tar.gz $(rpmbuild)/SOURCES)
1156
1157 srpm-common: dist
1158 @(dist=`$(RPM) --eval %{?dist}`; \
1159 rpmpkg=$(pkg)-$(VERSION)-$(RELEASE)$$dist*src.rpm; \
1160 rpmspec=$(pkg).spec; \
1161 rpmbuild=`mktemp -t -d $(PACKAGE)-build-$$USER-XXXXXXXX`; \
1162 $(MAKE) $(AM_MAKEFLAGS) \
1163 rpmbuild="$$rpmbuild" \
1164 rpmspec="$$rpmspec" \
1165 rpm-local || exit 1; \
1166 LANG=C $(RPMBUILD) \
1167 --define "_tmppath $$rpmbuild/TMP" \
1168 --define "_topdir $$rpmbuild" \
1169 $(def) -bs $$rpmbuild/SPECS/$$rpmspec || exit 1; \
1170 cp $$rpmbuild/SRPMS/$$rpmpkg . || exit 1; \
1171 rm -R $$rpmbuild)
1172
1173 rpm-common:
1174 @(dist=`$(RPM) --eval %{?dist}`; \
1175 rpmpkg=$(pkg)-$(VERSION)-$(RELEASE)$$dist*src.rpm; \
1176 rpmspec=$(pkg).spec; \
1177 rpmbuild=`mktemp -t -d $(PACKAGE)-build-$$USER-XXXXXXXX`; \
1178 $(MAKE) $(AM_MAKEFLAGS) \
1179 rpmbuild="$$rpmbuild" \
1180 rpmspec="$$rpmspec" \
1181 rpm-local || exit 1; \
1182 LANG=C ${RPMBUILD} \
1183 --define "_tmppath $$rpmbuild/TMP" \
1184 --define "_topdir $$rpmbuild" \
1185 $(def) --rebuild $$rpmpkg || exit 1; \
1186 cp $$rpmbuild/RPMS/*/* . || exit 1; \
1187 rm -R $$rpmbuild)
1188 deb-local:
1189 @(if test "${HAVE_DPKGBUILD}" = "no"; then \
1190 echo -e "\n" \
1191 "*** Required util ${DPKGBUILD} missing. Please install the\n" \
1192 "*** package for your distribution which provides ${DPKGBUILD},\n" \
1193 "*** re-run configure, and try again.\n"; \
1194 exit 1; \
1195 fi; \
1196 if test "${HAVE_ALIEN}" = "no"; then \
1197 echo -e "\n" \
1198 "*** Required util ${ALIEN} missing. Please install the\n" \
1199 "*** package for your distribution which provides ${ALIEN},\n" \
1200 "*** re-run configure, and try again.\n"; \
1201 exit 1; \
1202 fi)
1203
1204 deb-kmod: deb-local rpm-kmod
1205 @CONFIG_KERNEL_TRUE@ name=${PACKAGE}; \
1206 @CONFIG_KERNEL_TRUE@ version=${VERSION}-${RELEASE}; \
1207 @CONFIG_KERNEL_TRUE@ arch=`$(RPM) -qp $${name}-kmod-$${version}.src.rpm --qf %{arch} | tail -1`; \
1208 @CONFIG_KERNEL_TRUE@ pkg1=kmod-$${name}*$${version}.$${arch}.rpm; \
1209 @CONFIG_KERNEL_TRUE@ fakeroot $(ALIEN) --bump=0 --scripts --to-deb $$pkg1; \
1210 @CONFIG_KERNEL_TRUE@ $(RM) $$pkg1
1211
1212 deb-utils: deb-local rpm-utils
1213 @CONFIG_USER_TRUE@ name=${PACKAGE}; \
1214 @CONFIG_USER_TRUE@ version=${VERSION}-${RELEASE}; \
1215 @CONFIG_USER_TRUE@ arch=`$(RPM) -qp $${name}-$${version}.src.rpm --qf %{arch} | tail -1`; \
1216 @CONFIG_USER_TRUE@ pkg1=$${name}-$${version}.$${arch}.rpm; \
1217 @CONFIG_USER_TRUE@ pkg2=libnvpair1-$${version}.$${arch}.rpm; \
1218 @CONFIG_USER_TRUE@ pkg3=libuutil1-$${version}.$${arch}.rpm; \
1219 @CONFIG_USER_TRUE@ pkg4=libzfs2-$${version}.$${arch}.rpm; \
1220 @CONFIG_USER_TRUE@ pkg5=libzpool2-$${version}.$${arch}.rpm; \
1221 @CONFIG_USER_TRUE@ pkg6=libzfs2-devel-$${version}.$${arch}.rpm; \
1222 @CONFIG_USER_TRUE@ pkg7=$${name}-test-$${version}.$${arch}.rpm; \
1223 @CONFIG_USER_TRUE@ pkg8=$${name}-dracut-$${version}.$${arch}.rpm; \
1224 @CONFIG_USER_TRUE@ pkg9=$${name}-initramfs-$${version}.$${arch}.rpm; \
1225 @CONFIG_USER_TRUE@ fakeroot $(ALIEN) --bump=0 --scripts --to-deb \
1226 @CONFIG_USER_TRUE@ $$pkg1 $$pkg2 $$pkg3 $$pkg4 $$pkg5 $$pkg6 $$pkg7 \
1227 @CONFIG_USER_TRUE@ $$pkg8 $$pkg9;
1228 @CONFIG_USER_TRUE@ $(RM) $$pkg1 $$pkg2 $$pkg3 $$pkg4 $$pkg5 $$pkg6 $$pkg7 \
1229 @CONFIG_USER_TRUE@ $$pkg8 $$pkg9;
1230
1231 deb: deb-kmod deb-utils
1232 tgz-local:
1233 @(if test "${HAVE_ALIEN}" = "no"; then \
1234 echo -e "\n" \
1235 "*** Required util ${ALIEN} missing. Please install the\n" \
1236 "*** package for your distribution which provides ${ALIEN},\n" \
1237 "*** re-run configure, and try again.\n"; \
1238 exit 1; \
1239 fi)
1240
1241 tgz-kmod: tgz-local rpm-kmod
1242 @CONFIG_KERNEL_TRUE@ name=${PACKAGE}; \
1243 @CONFIG_KERNEL_TRUE@ version=${VERSION}-${RELEASE}; \
1244 @CONFIG_KERNEL_TRUE@ arch=`$(RPM) -qp $${name}-kmod-$${version}.src.rpm --qf %{arch} | tail -1`; \
1245 @CONFIG_KERNEL_TRUE@ pkg1=kmod-$${name}*$${version}.$${arch}.rpm; \
1246 @CONFIG_KERNEL_TRUE@ fakeroot $(ALIEN) --scripts --to-tgz $$pkg1; \
1247 @CONFIG_KERNEL_TRUE@ $(RM) $$pkg1
1248
1249 tgz-utils: tgz-local rpm-utils
1250 @CONFIG_USER_TRUE@ name=${PACKAGE}; \
1251 @CONFIG_USER_TRUE@ version=${VERSION}-${RELEASE}; \
1252 @CONFIG_USER_TRUE@ arch=`$(RPM) -qp $${name}-$${version}.src.rpm --qf %{arch} | tail -1`; \
1253 @CONFIG_USER_TRUE@ pkg1=$${name}-$${version}.$${arch}.rpm; \
1254 @CONFIG_USER_TRUE@ pkg2=$${name}-devel-$${version}.$${arch}.rpm; \
1255 @CONFIG_USER_TRUE@ pkg3=$${name}-test-$${version}.$${arch}.rpm; \
1256 @CONFIG_USER_TRUE@ fakeroot $(ALIEN) --scripts --to-tgz $$pkg1 $$pkg2 $$pkg3; \
1257 @CONFIG_USER_TRUE@ $(RM) $$pkg1 $$pkg2 $$pkg3
1258
1259 tgz: tgz-kmod tgz-utils
1260
1261 distclean-local::
1262 -$(RM) -R autom4te*.cache
1263 -find . \( -name SCCS -o -name BitKeeper -o -name .svn -o -name CVS \
1264 -o -name .pc -o -name .hg -o -name .git \) -prune -o \
1265 \( -name '*.orig' -o -name '*.rej' -o -name '*~' \
1266 -o -name '*.bak' -o -name '#*#' -o -name '.*.orig' \
1267 -o -name '.*.rej' -o -name '.script-config' -o -size 0 \
1268 -o -name '*%' -o -name '.*.cmd' -o -name 'core' \
1269 -o -name 'Makefile' -o -name 'Module.symvers' \
1270 -o -name '*.order' -o -name '*.markers' \) \
1271 -type f -print | xargs $(RM)
1272
1273 dist-hook:
1274 sed -i 's/Release:[[:print:]]*/Release: $(RELEASE)/' \
1275 $(distdir)/META
1276
1277 checkstyle: cstyle shellcheck
1278
1279 cstyle:
1280 @find ${top_srcdir} -name '*.[hc]' ! -name 'zfs_config.*' \
1281 ! -name '*.mod.c' -type f -exec scripts/cstyle.pl {} \+
1282
1283 shellcheck:
1284 @if type shellcheck > /dev/null 2>&1; then \
1285 (find ${top_srcdir} -type f -name '*.sh.in' -o -type f \
1286 -name '*.sh'; find etc/init.d/zfs*.in -type f) | \
1287 grep -v 'zfs-script-config' | \
1288 while read file; do \
1289 shellcheck --format gcc "$$file"; \
1290 done; \
1291 fi
1292
1293 lint: cppcheck
1294
1295 cppcheck:
1296 @if type cppcheck > /dev/null 2>&1; then \
1297 cppcheck --quiet --force ${top_srcdir}; \
1298 fi
1299
1300 ctags:
1301 $(RM) tags
1302 find $(top_srcdir) -name .git -prune -o -name '*.[hc]' | xargs ctags
1303
1304 etags:
1305 $(RM) TAGS
1306 find $(top_srcdir) -name .pc -prune -o -name '*.[hc]' | xargs etags -a
1307
1308 tags: ctags etags
1309
1310 pkg: @DEFAULT_PACKAGE@
1311 pkg-kmod: @DEFAULT_PACKAGE@-kmod
1312 pkg-utils: @DEFAULT_PACKAGE@-utils
1313
1314 # Tell versions [3.59,3.63) of GNU make to not export all variables.
1315 # Otherwise a system limit (for SysV at least) may be exceeded.
1316 .NOEXPORT: