]> git.proxmox.com Git - mirror_zfs.git/blob - Makefile.in
Linux 3.1 compat, super_block->s_shrink
[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-shrink.m4 \
96 $(top_srcdir)/config/kernel-truncate-setsize.m4 \
97 $(top_srcdir)/config/kernel-xattr-handler.m4 \
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 \
103 $(top_srcdir)/config/user-libuuid.m4 \
104 $(top_srcdir)/config/user-nptl_guard_within_stack.m4 \
105 $(top_srcdir)/config/user-selinux.m4 \
106 $(top_srcdir)/config/user-udev.m4 \
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
110 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
111 $(ACLOCAL_M4)
112 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
113 configure.lineno config.status.lineno
114 mkinstalldirs = $(install_sh) -d
115 CONFIG_HEADER = zfs_config.h
116 CONFIG_CLEAN_FILES = module/Makefile module/avl/Makefile \
117 module/nvpair/Makefile module/unicode/Makefile \
118 module/zcommon/Makefile module/zfs/Makefile \
119 module/zpios/Makefile zfs.spec zfs-modules.spec PKGBUILD-zfs \
120 PKGBUILD-zfs-modules zfs-script-config.sh
121 CONFIG_CLEAN_VPATH_FILES =
122 AM_V_GEN = $(am__v_GEN_$(V))
123 am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
124 am__v_GEN_0 = @echo " GEN " $@;
125 AM_V_at = $(am__v_at_$(V))
126 am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
127 am__v_at_0 = @
128 SOURCES =
129 DIST_SOURCES =
130 RECURSIVE_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
137 HEADERS = $(noinst_HEADERS)
138 RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
139 distclean-recursive maintainer-clean-recursive
140 AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
141 $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
142 distdir dist dist-all distcheck
143 ETAGS = etags
144 CTAGS = ctags
145 DIST_SUBDIRS = dracut udev etc man scripts lib cmd module include
146 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
147 distdir = $(PACKAGE)-$(VERSION)
148 top_distdir = $(distdir)
149 am__remove_distdir = \
150 { test ! -d "$(distdir)" \
151 || { find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
152 && rm -fr "$(distdir)"; }; }
153 am__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"
178 DIST_ARCHIVES = $(distdir).tar.gz
179 GZIP_ENV = --best
180 distuninstallcheck_listfiles = find . -type f -print
181 distcleancheck_listfiles = find . -type f -print
182 ACLOCAL = @ACLOCAL@
183 ALIEN = @ALIEN@
184 ALIEN_VERSION = @ALIEN_VERSION@
185 AMTAR = @AMTAR@
186 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
187 AR = @AR@
188 AUTOCONF = @AUTOCONF@
189 AUTOHEADER = @AUTOHEADER@
190 AUTOMAKE = @AUTOMAKE@
191 AWK = @AWK@
192 CC = @CC@
193 CCAS = @CCAS@
194 CCASDEPMODE = @CCASDEPMODE@
195 CCASFLAGS = @CCASFLAGS@
196 CCDEPMODE = @CCDEPMODE@
197 CFLAGS = @CFLAGS@
198 CPP = @CPP@
199 CPPFLAGS = @CPPFLAGS@
200 CYGPATH_W = @CYGPATH_W@
201 DEBUG_CFLAGS = @DEBUG_CFLAGS@
202 DEBUG_STACKFLAGS = @DEBUG_STACKFLAGS@
203 DEFAULT_INIT_DIR = @DEFAULT_INIT_DIR@
204 DEFAULT_INIT_SCRIPT = @DEFAULT_INIT_SCRIPT@
205 DEFAULT_PACKAGE = @DEFAULT_PACKAGE@
206 DEFS = @DEFS@
207 DEPDIR = @DEPDIR@
208 DPKG = @DPKG@
209 DPKGBUILD = @DPKGBUILD@
210 DPKGBUILD_VERSION = @DPKGBUILD_VERSION@
211 DPKG_VERSION = @DPKG_VERSION@
212 DSYMUTIL = @DSYMUTIL@
213 DUMPBIN = @DUMPBIN@
214 ECHO_C = @ECHO_C@
215 ECHO_N = @ECHO_N@
216 ECHO_T = @ECHO_T@
217 EGREP = @EGREP@
218 EXEEXT = @EXEEXT@
219 FGREP = @FGREP@
220 FRAME_LARGER_THAN = @FRAME_LARGER_THAN@
221 GREP = @GREP@
222 HAVE_ALIEN = @HAVE_ALIEN@
223 HAVE_DPKG = @HAVE_DPKG@
224 HAVE_DPKGBUILD = @HAVE_DPKGBUILD@
225 HAVE_MAKEPKG = @HAVE_MAKEPKG@
226 HAVE_PACMAN = @HAVE_PACMAN@
227 HAVE_RPM = @HAVE_RPM@
228 HAVE_RPMBUILD = @HAVE_RPMBUILD@
229 INSTALL = @INSTALL@
230 INSTALL_DATA = @INSTALL_DATA@
231 INSTALL_PROGRAM = @INSTALL_PROGRAM@
232 INSTALL_SCRIPT = @INSTALL_SCRIPT@
233 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
234 KERNELCPPFLAGS = @KERNELCPPFLAGS@
235 KERNELMAKE_PARAMS = @KERNELMAKE_PARAMS@
236 LD = @LD@
237 LDFLAGS = @LDFLAGS@
238 LIBBLKID = @LIBBLKID@
239 LIBOBJS = @LIBOBJS@
240 LIBS = @LIBS@
241 LIBSELINUX = @LIBSELINUX@
242 LIBTOOL = @LIBTOOL@
243 LIBUUID = @LIBUUID@
244 LINUX = @LINUX@
245 LINUX_OBJ = @LINUX_OBJ@
246 LINUX_SYMBOLS = @LINUX_SYMBOLS@
247 LINUX_VERSION = @LINUX_VERSION@
248 LIPO = @LIPO@
249 LN_S = @LN_S@
250 LTLIBOBJS = @LTLIBOBJS@
251 MAINT = @MAINT@
252 MAKEINFO = @MAKEINFO@
253 MAKEPKG = @MAKEPKG@
254 MAKEPKG_VERSION = @MAKEPKG_VERSION@
255 MKDIR_P = @MKDIR_P@
256 NM = @NM@
257 NMEDIT = @NMEDIT@
258 NO_UNUSED_BUT_SET_VARIABLE = @NO_UNUSED_BUT_SET_VARIABLE@
259 OBJDUMP = @OBJDUMP@
260 OBJEXT = @OBJEXT@
261 OTOOL = @OTOOL@
262 OTOOL64 = @OTOOL64@
263 PACKAGE = @PACKAGE@
264 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
265 PACKAGE_NAME = @PACKAGE_NAME@
266 PACKAGE_STRING = @PACKAGE_STRING@
267 PACKAGE_TARNAME = @PACKAGE_TARNAME@
268 PACKAGE_VERSION = @PACKAGE_VERSION@
269 PACMAN = @PACMAN@
270 PACMAN_VERSION = @PACMAN_VERSION@
271 PATH_SEPARATOR = @PATH_SEPARATOR@
272 RANLIB = @RANLIB@
273 RPM = @RPM@
274 RPMBUILD = @RPMBUILD@
275 RPMBUILD_VERSION = @RPMBUILD_VERSION@
276 RPM_VERSION = @RPM_VERSION@
277 SED = @SED@
278 SET_MAKE = @SET_MAKE@
279 SHELL = @SHELL@
280 SPL = @SPL@
281 SPL_OBJ = @SPL_OBJ@
282 SPL_SYMBOLS = @SPL_SYMBOLS@
283 SPL_VERSION = @SPL_VERSION@
284 STRIP = @STRIP@
285 TARGET_ASM_DIR = @TARGET_ASM_DIR@
286 VENDOR = @VENDOR@
287 VERSION = @VERSION@
288 ZFS_CONFIG = @ZFS_CONFIG@
289 ZFS_META_ALIAS = @ZFS_META_ALIAS@
290 ZFS_META_AUTHOR = @ZFS_META_AUTHOR@
291 ZFS_META_DATA = @ZFS_META_DATA@
292 ZFS_META_LICENSE = @ZFS_META_LICENSE@
293 ZFS_META_LT_AGE = @ZFS_META_LT_AGE@
294 ZFS_META_LT_CURRENT = @ZFS_META_LT_CURRENT@
295 ZFS_META_LT_REVISION = @ZFS_META_LT_REVISION@
296 ZFS_META_NAME = @ZFS_META_NAME@
297 ZFS_META_RELEASE = @ZFS_META_RELEASE@
298 ZFS_META_VERSION = @ZFS_META_VERSION@
299 ZLIB = @ZLIB@
300 abs_builddir = @abs_builddir@
301 abs_srcdir = @abs_srcdir@
302 abs_top_builddir = @abs_top_builddir@
303 abs_top_srcdir = @abs_top_srcdir@
304 ac_ct_CC = @ac_ct_CC@
305 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
306 am__include = @am__include@
307 am__leading_dot = @am__leading_dot@
308 am__quote = @am__quote@
309 am__tar = @am__tar@
310 am__untar = @am__untar@
311 bindir = @bindir@
312 build = @build@
313 build_alias = @build_alias@
314 build_cpu = @build_cpu@
315 build_os = @build_os@
316 build_vendor = @build_vendor@
317 builddir = @builddir@
318 datadir = @datadir@
319 datarootdir = @datarootdir@
320 docdir = @docdir@
321 dvidir = @dvidir@
322 exec_prefix = @exec_prefix@
323 host = @host@
324 host_alias = @host_alias@
325 host_cpu = @host_cpu@
326 host_os = @host_os@
327 host_vendor = @host_vendor@
328 htmldir = @htmldir@
329 includedir = @includedir@
330 infodir = @infodir@
331 install_sh = @install_sh@
332 libdir = @libdir@
333 libexecdir = @libexecdir@
334 localedir = @localedir@
335 localstatedir = @localstatedir@
336 lt_ECHO = @lt_ECHO@
337 mandir = @mandir@
338 mkdir_p = @mkdir_p@
339 oldincludedir = @oldincludedir@
340 pdfdir = @pdfdir@
341 prefix = @prefix@
342 program_transform_name = @program_transform_name@
343 psdir = @psdir@
344 sbindir = @sbindir@
345 sharedstatedir = @sharedstatedir@
346 srcdir = @srcdir@
347 sysconfdir = @sysconfdir@
348 target = @target@
349 target_alias = @target_alias@
350 target_cpu = @target_cpu@
351 target_os = @target_os@
352 target_vendor = @target_vendor@
353 top_build_prefix = @top_build_prefix@
354 top_builddir = @top_builddir@
355 top_srcdir = @top_srcdir@
356 udevdir = @udevdir@
357 udevruledir = @udevruledir@
358 @CONFIG_USER_TRUE@USER_DIR = dracut udev etc man scripts lib cmd
359 @CONFIG_KERNEL_TRUE@KERNEL_DIR = module
360 SUBDIRS = $(USER_DIR) $(KERNEL_DIR) include
361 AUTOMAKE_OPTIONS = foreign
362 EXTRA_DIST = autogen.sh zfs.spec.in zfs-modules.spec.in \
363 config/config.awk config/rpm.am config/deb.am config/tgz.am \
364 META DISCLAIMER COPYRIGHT README.markdown OPENSOLARIS.LICENSE \
365 ZFS.RELEASE
366 noinst_HEADERS = zfs_config.h
367 all: zfs_config.h
368 $(MAKE) $(AM_MAKEFLAGS) all-recursive
369
370 .SUFFIXES:
371 am--refresh:
372 @:
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)
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
387 Makefile: $(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
406 zfs_config.h: stamp-h1
407 @if test ! -f $@; then \
408 rm -f stamp-h1; \
409 $(MAKE) $(AM_MAKEFLAGS) stamp-h1; \
410 else :; fi
411
412 stamp-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
420 distclean-hdr:
421 -rm -f zfs_config.h stamp-h1
422 module/Makefile: $(top_builddir)/config.status $(top_srcdir)/module/Makefile.in
423 cd $(top_builddir) && $(SHELL) ./config.status $@
424 module/avl/Makefile: $(top_builddir)/config.status $(top_srcdir)/module/avl/Makefile.in
425 cd $(top_builddir) && $(SHELL) ./config.status $@
426 module/nvpair/Makefile: $(top_builddir)/config.status $(top_srcdir)/module/nvpair/Makefile.in
427 cd $(top_builddir) && $(SHELL) ./config.status $@
428 module/unicode/Makefile: $(top_builddir)/config.status $(top_srcdir)/module/unicode/Makefile.in
429 cd $(top_builddir) && $(SHELL) ./config.status $@
430 module/zcommon/Makefile: $(top_builddir)/config.status $(top_srcdir)/module/zcommon/Makefile.in
431 cd $(top_builddir) && $(SHELL) ./config.status $@
432 module/zfs/Makefile: $(top_builddir)/config.status $(top_srcdir)/module/zfs/Makefile.in
433 cd $(top_builddir) && $(SHELL) ./config.status $@
434 module/zpios/Makefile: $(top_builddir)/config.status $(top_srcdir)/module/zpios/Makefile.in
435 cd $(top_builddir) && $(SHELL) ./config.status $@
436 zfs.spec: $(top_builddir)/config.status $(srcdir)/zfs.spec.in
437 cd $(top_builddir) && $(SHELL) ./config.status $@
438 zfs-modules.spec: $(top_builddir)/config.status $(srcdir)/zfs-modules.spec.in
439 cd $(top_builddir) && $(SHELL) ./config.status $@
440 PKGBUILD-zfs: $(top_builddir)/config.status $(srcdir)/PKGBUILD-zfs.in
441 cd $(top_builddir) && $(SHELL) ./config.status $@
442 PKGBUILD-zfs-modules: $(top_builddir)/config.status $(srcdir)/PKGBUILD-zfs-modules.in
443 cd $(top_builddir) && $(SHELL) ./config.status $@
444 zfs-script-config.sh: $(top_builddir)/config.status $(srcdir)/zfs-script-config.sh.in
445 cd $(top_builddir) && $(SHELL) ./config.status $@
446
447 mostlyclean-libtool:
448 -rm -f *.lo
449
450 clean-libtool:
451 -rm -rf .libs _libs
452
453 distclean-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"
517 tags-recursive:
518 list='$(SUBDIRS)'; for subdir in $$list; do \
519 test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
520 done
521 ctags-recursive:
522 list='$(SUBDIRS)'; for subdir in $$list; do \
523 test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
524 done
525
526 ID: $(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
535 TAGS: 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
569 CTAGS: 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
581 GTAGS:
582 here=`$(am__cd) $(top_builddir) && pwd` \
583 && $(am__cd) $(top_srcdir) \
584 && gtags -i $(GTAGS_ARGS) "$$here"
585
586 distclean-tags:
587 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
588
589 distdir: $(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)"
656 dist-gzip: distdir
657 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
658 $(am__remove_distdir)
659
660 dist-bzip2: distdir
661 tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
662 $(am__remove_distdir)
663
664 dist-lzma: distdir
665 tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
666 $(am__remove_distdir)
667
668 dist-xz: distdir
669 tardir=$(distdir) && $(am__tar) | xz -c >$(distdir).tar.xz
670 $(am__remove_distdir)
671
672 dist-tarZ: distdir
673 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
674 $(am__remove_distdir)
675
676 dist-shar: distdir
677 shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
678 $(am__remove_distdir)
679
680 dist-zip: distdir
681 -rm -f $(distdir).zip
682 zip -rq $(distdir).zip $(distdir)
683 $(am__remove_distdir)
684
685 dist dist-all: distdir
686 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
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.
692 distcheck: 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'
746 distuninstallcheck:
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
755 distcleancheck: 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
764 check-am: all-am
765 check: check-recursive
766 all-am: Makefile $(HEADERS) zfs_config.h
767 installdirs: installdirs-recursive
768 installdirs-am:
769 install: install-recursive
770 install-exec: install-exec-recursive
771 install-data: install-data-recursive
772 uninstall: uninstall-recursive
773
774 install-am: all-am
775 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
776
777 installcheck: installcheck-recursive
778 install-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
783 mostlyclean-generic:
784
785 clean-generic:
786
787 distclean-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
791 maintainer-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:
795 clean: clean-recursive
796
797 clean-am: clean-generic clean-libtool mostlyclean-am
798
799 distclean: distclean-recursive
800 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
801 -rm -f Makefile
802 distclean-am: clean-am distclean-generic distclean-hdr \
803 distclean-libtool distclean-local distclean-tags
804
805 dvi: dvi-recursive
806
807 dvi-am:
808
809 html: html-recursive
810
811 html-am:
812
813 info: info-recursive
814
815 info-am:
816
817 install-data-am: install-data-local
818
819 install-dvi: install-dvi-recursive
820
821 install-dvi-am:
822
823 install-exec-am:
824
825 install-html: install-html-recursive
826
827 install-html-am:
828
829 install-info: install-info-recursive
830
831 install-info-am:
832
833 install-man:
834
835 install-pdf: install-pdf-recursive
836
837 install-pdf-am:
838
839 install-ps: install-ps-recursive
840
841 install-ps-am:
842
843 installcheck-am:
844
845 maintainer-clean: maintainer-clean-recursive
846 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
847 -rm -rf $(top_srcdir)/autom4te.cache
848 -rm -f Makefile
849 maintainer-clean-am: distclean-am maintainer-clean-generic
850
851 mostlyclean: mostlyclean-recursive
852
853 mostlyclean-am: mostlyclean-generic mostlyclean-libtool
854
855 pdf: pdf-recursive
856
857 pdf-am:
858
859 ps: ps-recursive
860
861 ps-am:
862
863 uninstall-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
885 srpm-modules:
886 $(MAKE) $(AM_MAKEFLAGS) pkg="${PACKAGE}-modules" srpm-common
887
888 srpm-utils:
889 $(MAKE) $(AM_MAKEFLAGS) pkg="${PACKAGE}" srpm-common
890
891 srpm: srpm-modules srpm-utils
892
893 rpm-modules: srpm-modules
894 $(MAKE) $(AM_MAKEFLAGS) pkg="${PACKAGE}-modules" rpm-common
895
896 rpm-utils: srpm-utils
897 $(MAKE) $(AM_MAKEFLAGS) pkg="${PACKAGE}" rpm-common
898
899 rpm-modules: srpm-modules
900
901 rpm: rpm-modules rpm-utils
902
903 rpm-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
920 srpm-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
937 rpm-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
958 deb-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
974 deb-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"`; \
978 arch=`$(RPM) -qp $${name}-$${version}.src.rpm --qf %{arch} | tail -1`; \
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
984 deb-utils: deb-local rpm-utils
985 name=${PACKAGE}; \
986 version=${ZFS_META_VERSION}-${ZFS_META_RELEASE}; \
987 arch=`$(RPM) -qp $${name}-$${version}.src.rpm --qf %{arch} | tail -1`; \
988 pkg1=$${name}-$${version}.$${arch}.rpm; \
989 pkg2=$${name}-devel-$${version}.$${arch}.rpm; \
990 pkg3=$${name}-test-$${version}.$${arch}.rpm; \
991 pkg4=$${name}-dracut-$${version}.$${arch}.rpm; \
992 fakeroot $(ALIEN) --scripts --to-deb $$pkg1 $$pkg2 $$pkg3 $$pkg4; \
993 $(RM) $$pkg1 $$pkg2 $$pkg3 $$pkg4
994
995 deb: deb-modules deb-utils
996 tgz-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
1005 tgz-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"`; \
1009 arch=`$(RPM) -qp $${name}-$${version}.src.rpm --qf %{arch} | tail -1`; \
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
1015 tgz-utils: tgz-local rpm-utils
1016 name=${PACKAGE}; \
1017 version=${ZFS_META_VERSION}-${ZFS_META_RELEASE}; \
1018 arch=`$(RPM) -qp $${name}-$${version}.src.rpm --qf %{arch} | tail -1`; \
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
1025 tgz: tgz-modules tgz-utils
1026
1027 sarch-modules:
1028 $(MAKE) $(AM_MAKEFLAGS) pkg="${PACKAGE}-modules" sarch-common
1029
1030 sarch-utils:
1031 $(MAKE) $(AM_MAKEFLAGS) pkg="${PACKAGE}" sarch-common
1032
1033 sarch: sarch-modules sarch-utils
1034
1035 arch-modules:
1036 $(MAKE) $(AM_MAKEFLAGS) pkg="${PACKAGE}-modules" arch-common
1037
1038 arch-utils:
1039 $(MAKE) $(AM_MAKEFLAGS) pkg="${PACKAGE}" arch-common
1040
1041 arch: arch-modules arch-utils
1042
1043 arch-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
1052 sarch-common: dist
1053 pkgbuild=PKGBUILD-$(pkg); \
1054 $(MAKE) $(AM_MAKEFLAGS) arch-local || exit 1; \
1055 $(MAKEPKG) --allsource --skipinteg --nodeps -p $$pkgbuild || exit 1;
1056
1057 arch-common: dist
1058 pkgbuild=PKGBUILD-$(pkg); \
1059 $(MAKE) $(AM_MAKEFLAGS) arch-local || exit 1; \
1060 $(MAKEPKG) --skipinteg -p $$pkgbuild || exit 1;
1061
1062 distclean-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' \
1068 -o -name '.*.rej' -o -name '.script-config' -o -size 0 \
1069 -o -name '*%' -o -name '.*.cmd' -o -name 'core' \
1070 -o -name 'Makefile' -o -name 'Module.symvers' \
1071 -o -name '*.order' -o -name '*.markers' \) \
1072 -type f -print | xargs $(RM)
1073
1074 @CONFIG_KERNEL_TRUE@install-data-local:
1075 @CONFIG_KERNEL_TRUE@ destname=zfs-$(ZFS_META_VERSION)/$(LINUX_VERSION); \
1076 @CONFIG_KERNEL_TRUE@ instdest=$(DESTDIR)/usr/src/$$destname; \
1077 @CONFIG_KERNEL_TRUE@ echo "$(ZFS_META_VERSION)" >$$instdest/zfs.release; \
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
1082 ctags:
1083 $(RM) $(top_srcdir)/tags
1084 find $(top_srcdir) -name .git -prune -o -name '*.[hc]' | xargs ctags
1085
1086 etags:
1087 $(RM) $(top_srcdir)/TAGS
1088 find $(top_srcdir) -name .pc -prune -o -name '*.[hc]' | xargs etags -a
1089
1090 tags: ctags etags
1091
1092 pkg: @DEFAULT_PACKAGE@
1093 pkg-modules: @DEFAULT_PACKAGE@-modules
1094 pkg-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: