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