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