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