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