]> git.proxmox.com Git - mirror_zfs.git/blame - Makefile.in
Support building a zfs-modules-dkms sub package
[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 \
26e08952 47 $(srcdir)/dkms.conf.in $(srcdir)/zfs-modules.spec.in \
fb7eb3e3
BB
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 \
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 \
ebe7e575 65 $(top_srcdir)/config/kernel-automount.m4 \
e70e591c
BB
66 $(top_srcdir)/config/kernel-bdev-block-device-operations.m4 \
67 $(top_srcdir)/config/kernel-bdev-logical-size.m4 \
5547c2f1 68 $(top_srcdir)/config/kernel-bdi-setup-and-register.m4 \
76659dc1 69 $(top_srcdir)/config/kernel-bdi.m4 \
e70e591c
BB
70 $(top_srcdir)/config/kernel-bio-empty-barrier.m4 \
71 $(top_srcdir)/config/kernel-bio-end-io-t-args.m4 \
2959d94a 72 $(top_srcdir)/config/kernel-bio-failfast.m4 \
e70e591c
BB
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 \
30930fba 76 $(top_srcdir)/config/kernel-blk-queue-discard.m4 \
b18019d2 77 $(top_srcdir)/config/kernel-blk-queue-flush.m4 \
34037afe
ED
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 \
e70e591c
BB
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 \
45066d1f 87 $(top_srcdir)/config/kernel-blkdev-get-by-path.m4 \
b5a28807 88 $(top_srcdir)/config/kernel-blkdev-get.m4 \
df554c14 89 $(top_srcdir)/config/kernel-check-disk-size-change.m4 \
739a1a82 90 $(top_srcdir)/config/kernel-clear-inode.m4 \
b39d3b9f 91 $(top_srcdir)/config/kernel-create-umode-t.m4 \
6a0936ba 92 $(top_srcdir)/config/kernel-d-make-root.m4 \
055656d4 93 $(top_srcdir)/config/kernel-d-obtain-alias.m4 \
ee5fd0bb 94 $(top_srcdir)/config/kernel-discard-granularity.m4 \
756c3e5a 95 $(top_srcdir)/config/kernel-encode-fh-inode.m4 \
2c395def 96 $(top_srcdir)/config/kernel-evict-inode.m4 \
cb2d1901 97 $(top_srcdir)/config/kernel-fallocate.m4 \
e70e591c 98 $(top_srcdir)/config/kernel-fmode-t.m4 \
7268e1be 99 $(top_srcdir)/config/kernel-fsync.m4 \
e70e591c 100 $(top_srcdir)/config/kernel-get-disk-ro.m4 \
b5a28807 101 $(top_srcdir)/config/kernel-get-gendisk.m4 \
bdf4328b 102 $(top_srcdir)/config/kernel-insert-inode-locked.m4 \
e70e591c
BB
103 $(top_srcdir)/config/kernel-invalidate-bdev-args.m4 \
104 $(top_srcdir)/config/kernel-kobj-name-len.m4 \
2cf7f52b 105 $(top_srcdir)/config/kernel-mount-nodev.m4 \
e70e591c
BB
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 \
5c03efc3 109 $(top_srcdir)/config/kernel-security-inode-init.m4 \
28eb9213 110 $(top_srcdir)/config/kernel-set-nlink.m4 \
47621f3d 111 $(top_srcdir)/config/kernel-show-options.m4 \
ab26409d 112 $(top_srcdir)/config/kernel-shrink.m4 \
ea1fdf46 113 $(top_srcdir)/config/kernel-truncate-range.m4 \
b3129792 114 $(top_srcdir)/config/kernel-truncate-setsize.m4 \
777d4af8 115 $(top_srcdir)/config/kernel-xattr-handler.m4 \
e70e591c
BB
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 \
e70e591c
BB
121 $(top_srcdir)/config/user-libuuid.m4 \
122 $(top_srcdir)/config/user-nptl_guard_within_stack.m4 \
b3259b6a 123 $(top_srcdir)/config/user-selinux.m4 \
de0a1c09 124 $(top_srcdir)/config/user-udev.m4 \
e70e591c
BB
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
128am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
129 $(ACLOCAL_M4)
130am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
131 configure.lineno config.status.lineno
132mkinstalldirs = $(install_sh) -d
133CONFIG_HEADER = zfs_config.h
134CONFIG_CLEAN_FILES = module/Makefile module/avl/Makefile \
135 module/nvpair/Makefile module/unicode/Makefile \
136 module/zcommon/Makefile module/zfs/Makefile \
6ba3b446 137 module/zpios/Makefile zfs.spec zfs-modules.spec PKGBUILD-zfs \
26e08952
PS
138 PKGBUILD-zfs-modules zfs-script-config.sh zfs.release \
139 dkms.conf
e70e591c
BB
140CONFIG_CLEAN_VPATH_FILES =
141AM_V_GEN = $(am__v_GEN_$(V))
142am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
143am__v_GEN_0 = @echo " GEN " $@;
144AM_V_at = $(am__v_at_$(V))
145am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
146am__v_at_0 = @
147SOURCES =
148DIST_SOURCES =
149RECURSIVE_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
156HEADERS = $(noinst_HEADERS)
157RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
158 distclean-recursive maintainer-clean-recursive
159AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
160 $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
161 distdir dist dist-all distcheck
162ETAGS = etags
163CTAGS = ctags
de0a1c09 164DIST_SUBDIRS = dracut udev etc man scripts lib cmd module include
e70e591c
BB
165DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
166distdir = $(PACKAGE)-$(VERSION)
167top_distdir = $(distdir)
168am__remove_distdir = \
169 { test ! -d "$(distdir)" \
170 || { find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
171 && rm -fr "$(distdir)"; }; }
172am__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"
8160dd9a 197DIST_ARCHIVES = $(distdir).tar.gz
e70e591c
BB
198GZIP_ENV = --best
199distuninstallcheck_listfiles = find . -type f -print
200distcleancheck_listfiles = find . -type f -print
201ACLOCAL = @ACLOCAL@
202ALIEN = @ALIEN@
203ALIEN_VERSION = @ALIEN_VERSION@
204AMTAR = @AMTAR@
205AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
206AR = @AR@
207AUTOCONF = @AUTOCONF@
208AUTOHEADER = @AUTOHEADER@
209AUTOMAKE = @AUTOMAKE@
210AWK = @AWK@
e70e591c
BB
211CC = @CC@
212CCAS = @CCAS@
213CCASDEPMODE = @CCASDEPMODE@
214CCASFLAGS = @CCASFLAGS@
215CCDEPMODE = @CCDEPMODE@
216CFLAGS = @CFLAGS@
e70e591c
BB
217CPP = @CPP@
218CPPFLAGS = @CPPFLAGS@
219CYGPATH_W = @CYGPATH_W@
220DEBUG_CFLAGS = @DEBUG_CFLAGS@
1c5de20a 221DEBUG_DMU_TX = @DEBUG_DMU_TX@
e70e591c 222DEBUG_STACKFLAGS = @DEBUG_STACKFLAGS@
4b787d75 223DEBUG_ZFS = @DEBUG_ZFS@
615ab66d 224DEFAULT_INIT_DIR = @DEFAULT_INIT_DIR@
01c0e61d 225DEFAULT_INIT_SCRIPT = @DEFAULT_INIT_SCRIPT@
e70e591c
BB
226DEFAULT_PACKAGE = @DEFAULT_PACKAGE@
227DEFS = @DEFS@
228DEPDIR = @DEPDIR@
229DPKG = @DPKG@
230DPKGBUILD = @DPKGBUILD@
231DPKGBUILD_VERSION = @DPKGBUILD_VERSION@
232DPKG_VERSION = @DPKG_VERSION@
233DSYMUTIL = @DSYMUTIL@
234DUMPBIN = @DUMPBIN@
235ECHO_C = @ECHO_C@
236ECHO_N = @ECHO_N@
237ECHO_T = @ECHO_T@
238EGREP = @EGREP@
239EXEEXT = @EXEEXT@
240FGREP = @FGREP@
241FRAME_LARGER_THAN = @FRAME_LARGER_THAN@
242GREP = @GREP@
243HAVE_ALIEN = @HAVE_ALIEN@
244HAVE_DPKG = @HAVE_DPKG@
245HAVE_DPKGBUILD = @HAVE_DPKGBUILD@
6ba3b446
PS
246HAVE_MAKEPKG = @HAVE_MAKEPKG@
247HAVE_PACMAN = @HAVE_PACMAN@
e70e591c
BB
248HAVE_RPM = @HAVE_RPM@
249HAVE_RPMBUILD = @HAVE_RPMBUILD@
250INSTALL = @INSTALL@
251INSTALL_DATA = @INSTALL_DATA@
252INSTALL_PROGRAM = @INSTALL_PROGRAM@
253INSTALL_SCRIPT = @INSTALL_SCRIPT@
254INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
255KERNELCPPFLAGS = @KERNELCPPFLAGS@
256KERNELMAKE_PARAMS = @KERNELMAKE_PARAMS@
257LD = @LD@
258LDFLAGS = @LDFLAGS@
259LIBBLKID = @LIBBLKID@
e70e591c
BB
260LIBOBJS = @LIBOBJS@
261LIBS = @LIBS@
b3259b6a 262LIBSELINUX = @LIBSELINUX@
e70e591c
BB
263LIBTOOL = @LIBTOOL@
264LIBUUID = @LIBUUID@
265LINUX = @LINUX@
266LINUX_OBJ = @LINUX_OBJ@
267LINUX_SYMBOLS = @LINUX_SYMBOLS@
268LINUX_VERSION = @LINUX_VERSION@
269LIPO = @LIPO@
270LN_S = @LN_S@
271LTLIBOBJS = @LTLIBOBJS@
272MAINT = @MAINT@
273MAKEINFO = @MAKEINFO@
6ba3b446
PS
274MAKEPKG = @MAKEPKG@
275MAKEPKG_VERSION = @MAKEPKG_VERSION@
e70e591c 276MKDIR_P = @MKDIR_P@
e70e591c
BB
277NM = @NM@
278NMEDIT = @NMEDIT@
8a7e1cee 279NO_UNUSED_BUT_SET_VARIABLE = @NO_UNUSED_BUT_SET_VARIABLE@
e70e591c
BB
280OBJDUMP = @OBJDUMP@
281OBJEXT = @OBJEXT@
282OTOOL = @OTOOL@
283OTOOL64 = @OTOOL64@
284PACKAGE = @PACKAGE@
285PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
286PACKAGE_NAME = @PACKAGE_NAME@
287PACKAGE_STRING = @PACKAGE_STRING@
288PACKAGE_TARNAME = @PACKAGE_TARNAME@
289PACKAGE_VERSION = @PACKAGE_VERSION@
6ba3b446
PS
290PACMAN = @PACMAN@
291PACMAN_VERSION = @PACMAN_VERSION@
e70e591c
BB
292PATH_SEPARATOR = @PATH_SEPARATOR@
293RANLIB = @RANLIB@
294RPM = @RPM@
295RPMBUILD = @RPMBUILD@
296RPMBUILD_VERSION = @RPMBUILD_VERSION@
297RPM_VERSION = @RPM_VERSION@
e70e591c
BB
298SED = @SED@
299SET_MAKE = @SET_MAKE@
300SHELL = @SHELL@
301SPL = @SPL@
302SPL_OBJ = @SPL_OBJ@
303SPL_SYMBOLS = @SPL_SYMBOLS@
304SPL_VERSION = @SPL_VERSION@
305STRIP = @STRIP@
306TARGET_ASM_DIR = @TARGET_ASM_DIR@
e70e591c
BB
307VENDOR = @VENDOR@
308VERSION = @VERSION@
309ZFS_CONFIG = @ZFS_CONFIG@
310ZFS_META_ALIAS = @ZFS_META_ALIAS@
311ZFS_META_AUTHOR = @ZFS_META_AUTHOR@
312ZFS_META_DATA = @ZFS_META_DATA@
313ZFS_META_LICENSE = @ZFS_META_LICENSE@
314ZFS_META_LT_AGE = @ZFS_META_LT_AGE@
315ZFS_META_LT_CURRENT = @ZFS_META_LT_CURRENT@
316ZFS_META_LT_REVISION = @ZFS_META_LT_REVISION@
317ZFS_META_NAME = @ZFS_META_NAME@
318ZFS_META_RELEASE = @ZFS_META_RELEASE@
319ZFS_META_VERSION = @ZFS_META_VERSION@
320ZLIB = @ZLIB@
321abs_builddir = @abs_builddir@
322abs_srcdir = @abs_srcdir@
323abs_top_builddir = @abs_top_builddir@
324abs_top_srcdir = @abs_top_srcdir@
325ac_ct_CC = @ac_ct_CC@
326ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
327am__include = @am__include@
328am__leading_dot = @am__leading_dot@
329am__quote = @am__quote@
330am__tar = @am__tar@
331am__untar = @am__untar@
332bindir = @bindir@
333build = @build@
334build_alias = @build_alias@
335build_cpu = @build_cpu@
336build_os = @build_os@
337build_vendor = @build_vendor@
338builddir = @builddir@
339datadir = @datadir@
340datarootdir = @datarootdir@
341docdir = @docdir@
342dvidir = @dvidir@
343exec_prefix = @exec_prefix@
344host = @host@
345host_alias = @host_alias@
346host_cpu = @host_cpu@
347host_os = @host_os@
348host_vendor = @host_vendor@
349htmldir = @htmldir@
350includedir = @includedir@
351infodir = @infodir@
352install_sh = @install_sh@
353libdir = @libdir@
354libexecdir = @libexecdir@
355localedir = @localedir@
356localstatedir = @localstatedir@
357lt_ECHO = @lt_ECHO@
358mandir = @mandir@
359mkdir_p = @mkdir_p@
360oldincludedir = @oldincludedir@
361pdfdir = @pdfdir@
362prefix = @prefix@
363program_transform_name = @program_transform_name@
364psdir = @psdir@
365sbindir = @sbindir@
366sharedstatedir = @sharedstatedir@
367srcdir = @srcdir@
368sysconfdir = @sysconfdir@
369target = @target@
370target_alias = @target_alias@
371target_cpu = @target_cpu@
372target_os = @target_os@
373target_vendor = @target_vendor@
374top_build_prefix = @top_build_prefix@
375top_builddir = @top_builddir@
376top_srcdir = @top_srcdir@
de0a1c09
BB
377udevdir = @udevdir@
378udevruledir = @udevruledir@
379@CONFIG_USER_TRUE@USER_DIR = dracut udev etc man scripts lib cmd
e70e591c 380@CONFIG_KERNEL_TRUE@KERNEL_DIR = module
6283f55e 381SUBDIRS = $(USER_DIR) $(KERNEL_DIR) include
8160dd9a 382AUTOMAKE_OPTIONS = foreign
e70e591c
BB
383EXTRA_DIST = autogen.sh zfs.spec.in zfs-modules.spec.in \
384 config/config.awk config/rpm.am config/deb.am config/tgz.am \
1ae93745 385 META DISCLAIMER COPYRIGHT README.markdown OPENSOLARIS.LICENSE \
26e08952 386 ZFS.RELEASE dkms.postinst
fb7eb3e3 387noinst_HEADERS = zfs_config.h zfs.release
e70e591c
BB
388all: zfs_config.h
389 $(MAKE) $(AM_MAKEFLAGS) all-recursive
390
391.SUFFIXES:
392am--refresh:
393 @:
6ba3b446 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)
e70e591c
BB
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
408Makefile: $(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
427zfs_config.h: stamp-h1
428 @if test ! -f $@; then \
429 rm -f stamp-h1; \
430 $(MAKE) $(AM_MAKEFLAGS) stamp-h1; \
431 else :; fi
432
433stamp-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
441distclean-hdr:
442 -rm -f zfs_config.h stamp-h1
443module/Makefile: $(top_builddir)/config.status $(top_srcdir)/module/Makefile.in
444 cd $(top_builddir) && $(SHELL) ./config.status $@
445module/avl/Makefile: $(top_builddir)/config.status $(top_srcdir)/module/avl/Makefile.in
446 cd $(top_builddir) && $(SHELL) ./config.status $@
447module/nvpair/Makefile: $(top_builddir)/config.status $(top_srcdir)/module/nvpair/Makefile.in
448 cd $(top_builddir) && $(SHELL) ./config.status $@
449module/unicode/Makefile: $(top_builddir)/config.status $(top_srcdir)/module/unicode/Makefile.in
450 cd $(top_builddir) && $(SHELL) ./config.status $@
451module/zcommon/Makefile: $(top_builddir)/config.status $(top_srcdir)/module/zcommon/Makefile.in
452 cd $(top_builddir) && $(SHELL) ./config.status $@
453module/zfs/Makefile: $(top_builddir)/config.status $(top_srcdir)/module/zfs/Makefile.in
454 cd $(top_builddir) && $(SHELL) ./config.status $@
455module/zpios/Makefile: $(top_builddir)/config.status $(top_srcdir)/module/zpios/Makefile.in
456 cd $(top_builddir) && $(SHELL) ./config.status $@
457zfs.spec: $(top_builddir)/config.status $(srcdir)/zfs.spec.in
458 cd $(top_builddir) && $(SHELL) ./config.status $@
459zfs-modules.spec: $(top_builddir)/config.status $(srcdir)/zfs-modules.spec.in
460 cd $(top_builddir) && $(SHELL) ./config.status $@
6ba3b446
PS
461PKGBUILD-zfs: $(top_builddir)/config.status $(srcdir)/PKGBUILD-zfs.in
462 cd $(top_builddir) && $(SHELL) ./config.status $@
463PKGBUILD-zfs-modules: $(top_builddir)/config.status $(srcdir)/PKGBUILD-zfs-modules.in
464 cd $(top_builddir) && $(SHELL) ./config.status $@
6283f55e
BB
465zfs-script-config.sh: $(top_builddir)/config.status $(srcdir)/zfs-script-config.sh.in
466 cd $(top_builddir) && $(SHELL) ./config.status $@
fb7eb3e3
BB
467zfs.release: $(top_builddir)/config.status $(srcdir)/zfs.release.in
468 cd $(top_builddir) && $(SHELL) ./config.status $@
26e08952
PS
469dkms.conf: $(top_builddir)/config.status $(srcdir)/dkms.conf.in
470 cd $(top_builddir) && $(SHELL) ./config.status $@
e70e591c
BB
471
472mostlyclean-libtool:
473 -rm -f *.lo
474
475clean-libtool:
476 -rm -rf .libs _libs
477
478distclean-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"
542tags-recursive:
543 list='$(SUBDIRS)'; for subdir in $$list; do \
544 test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
545 done
546ctags-recursive:
547 list='$(SUBDIRS)'; for subdir in $$list; do \
548 test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
549 done
550
551ID: $(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
560TAGS: 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
594CTAGS: 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
606GTAGS:
607 here=`$(am__cd) $(top_builddir) && pwd` \
608 && $(am__cd) $(top_srcdir) \
609 && gtags -i $(GTAGS_ARGS) "$$here"
610
611distclean-tags:
612 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
613
614distdir: $(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)"
681dist-gzip: distdir
682 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
683 $(am__remove_distdir)
684
685dist-bzip2: distdir
686 tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
687 $(am__remove_distdir)
688
689dist-lzma: distdir
690 tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
691 $(am__remove_distdir)
692
693dist-xz: distdir
694 tardir=$(distdir) && $(am__tar) | xz -c >$(distdir).tar.xz
695 $(am__remove_distdir)
696
697dist-tarZ: distdir
698 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
699 $(am__remove_distdir)
700
701dist-shar: distdir
702 shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
703 $(am__remove_distdir)
8160dd9a 704
e70e591c
BB
705dist-zip: distdir
706 -rm -f $(distdir).zip
707 zip -rq $(distdir).zip $(distdir)
708 $(am__remove_distdir)
709
710dist dist-all: distdir
711 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
e70e591c
BB
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.
717distcheck: 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'
771distuninstallcheck:
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
780distcleancheck: 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
789check-am: all-am
790check: check-recursive
791all-am: Makefile $(HEADERS) zfs_config.h
792installdirs: installdirs-recursive
793installdirs-am:
794install: install-recursive
795install-exec: install-exec-recursive
796install-data: install-data-recursive
797uninstall: uninstall-recursive
798
799install-am: all-am
800 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
801
802installcheck: installcheck-recursive
803install-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
808mostlyclean-generic:
809
810clean-generic:
811
812distclean-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
816maintainer-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:
820clean: clean-recursive
821
822clean-am: clean-generic clean-libtool mostlyclean-am
823
824distclean: distclean-recursive
825 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
826 -rm -f Makefile
827distclean-am: clean-am distclean-generic distclean-hdr \
828 distclean-libtool distclean-local distclean-tags
829
830dvi: dvi-recursive
831
832dvi-am:
833
834html: html-recursive
835
836html-am:
837
838info: info-recursive
839
840info-am:
841
842install-data-am: install-data-local
843
844install-dvi: install-dvi-recursive
845
846install-dvi-am:
847
848install-exec-am:
849
850install-html: install-html-recursive
851
852install-html-am:
853
854install-info: install-info-recursive
855
856install-info-am:
857
858install-man:
859
860install-pdf: install-pdf-recursive
861
862install-pdf-am:
863
864install-ps: install-ps-recursive
865
866install-ps-am:
867
868installcheck-am:
869
870maintainer-clean: maintainer-clean-recursive
871 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
872 -rm -rf $(top_srcdir)/autom4te.cache
873 -rm -f Makefile
874maintainer-clean-am: distclean-am maintainer-clean-generic
875
876mostlyclean: mostlyclean-recursive
877
878mostlyclean-am: mostlyclean-generic mostlyclean-libtool
879
880pdf: pdf-recursive
881
882pdf-am:
883
884ps: ps-recursive
885
886ps-am:
887
888uninstall-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
910srpm-modules:
b2c5198b 911@CONFIG_KERNEL_TRUE@ $(MAKE) $(AM_MAKEFLAGS) pkg="${PACKAGE}-modules" srpm-common
e70e591c
BB
912
913srpm-utils:
b2c5198b 914@CONFIG_USER_TRUE@ $(MAKE) $(AM_MAKEFLAGS) pkg="${PACKAGE}" srpm-common
e70e591c
BB
915
916srpm: srpm-modules srpm-utils
917
26e08952
PS
918rpm-dkms: srpm-modules
919@CONFIG_KERNEL_TRUE@ $(MAKE) $(AM_MAKEFLAGS) pkg="${PACKAGE}-modules" dkms-common
920
e70e591c 921rpm-modules: srpm-modules
b2c5198b 922@CONFIG_KERNEL_TRUE@ $(MAKE) $(AM_MAKEFLAGS) pkg="${PACKAGE}-modules" rpm-common
e70e591c
BB
923
924rpm-utils: srpm-utils
b2c5198b 925@CONFIG_USER_TRUE@ $(MAKE) $(AM_MAKEFLAGS) pkg="${PACKAGE}" rpm-common
e70e591c 926
26e08952 927rpm: rpm-modules rpm-utils rpm-dkms
e70e591c
BB
928
929rpm-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
26e08952
PS
946dkms-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
e70e591c
BB
966srpm-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
983rpm-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)" \
4b787d75 1001 --define "$(DEBUG_ZFS) 1" \
1c5de20a 1002 --define "$(DEBUG_DMU_TX) 1" \
e70e591c
BB
1003 --nodeps --rebuild $$rpmpkg || exit 1; \
1004 cp $$rpmbuild/RPMS/*/* . || exit 1; \
1005 $(RM) -R $$rpmbuild
6283f55e
BB
1006deb-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
1022deb-modules: deb-local rpm-modules
b2c5198b
ED
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
6283f55e
BB
1031
1032deb-utils: deb-local rpm-utils
b2c5198b
ED
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
6283f55e
BB
1042
1043deb: deb-modules deb-utils
1044tgz-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
1053tgz-modules: tgz-local rpm-modules
b2c5198b
ED
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
6283f55e
BB
1062
1063tgz-utils: tgz-local rpm-utils
b2c5198b
ED
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
6283f55e
BB
1072
1073tgz: tgz-modules tgz-utils
e70e591c 1074
6ba3b446
PS
1075sarch-modules:
1076 $(MAKE) $(AM_MAKEFLAGS) pkg="${PACKAGE}-modules" sarch-common
1077
1078sarch-utils:
1079 $(MAKE) $(AM_MAKEFLAGS) pkg="${PACKAGE}" sarch-common
1080
1081sarch: sarch-modules sarch-utils
1082
1083arch-modules:
b2c5198b 1084@CONFIG_KERNEL_TRUE@ $(MAKE) $(AM_MAKEFLAGS) pkg="${PACKAGE}-modules" arch-common
6ba3b446
PS
1085
1086arch-utils:
b2c5198b 1087@CONFIG_USER_TRUE@ $(MAKE) $(AM_MAKEFLAGS) pkg="${PACKAGE}" arch-common
6ba3b446
PS
1088
1089arch: arch-modules arch-utils
1090
1091arch-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
1100sarch-common: dist
1101 pkgbuild=PKGBUILD-$(pkg); \
1102 $(MAKE) $(AM_MAKEFLAGS) arch-local || exit 1; \
1103 $(MAKEPKG) --allsource --skipinteg --nodeps -p $$pkgbuild || exit 1;
1104
1105arch-common: dist
1106 pkgbuild=PKGBUILD-$(pkg); \
1107 $(MAKE) $(AM_MAKEFLAGS) arch-local || exit 1; \
1108 $(MAKEPKG) --skipinteg -p $$pkgbuild || exit 1;
1109
e70e591c
BB
1110distclean-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' \
1ae93745 1116 -o -name '.*.rej' -o -name '.script-config' -o -size 0 \
e70e591c
BB
1117 -o -name '*%' -o -name '.*.cmd' -o -name 'core' \
1118 -o -name 'Makefile' -o -name 'Module.symvers' \
1ae93745 1119 -o -name '*.order' -o -name '*.markers' \) \
e70e591c
BB
1120 -type f -print | xargs $(RM)
1121
1122@CONFIG_KERNEL_TRUE@install-data-local:
b40a77ae
BB
1123@CONFIG_KERNEL_TRUE@ release=$(ZFS_META_VERSION)-$(ZFS_META_RELEASE); \
1124@CONFIG_KERNEL_TRUE@ instdest=$(DESTDIR)/usr/src/zfs-$$release/$(LINUX_VERSION); \
e70e591c
BB
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
1129ctags:
1130 $(RM) $(top_srcdir)/tags
1131 find $(top_srcdir) -name .git -prune -o -name '*.[hc]' | xargs ctags
1132
1133etags:
1134 $(RM) $(top_srcdir)/TAGS
1135 find $(top_srcdir) -name .pc -prune -o -name '*.[hc]' | xargs etags -a
1136
1137tags: ctags etags
1138
1139pkg: @DEFAULT_PACKAGE@
1140pkg-modules: @DEFAULT_PACKAGE@-modules
1141pkg-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: