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