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