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