1 # Makefile.in generated by automake 1.11.1 from Makefile.am.
4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5 # 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
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.
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
18 ###############################################################################
19 # Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC.
20 # Copyright (C) 2007 The Regents of the University of California.
21 # Written by Brian Behlendorf <behlendorf1@llnl.gov>.
22 ###############################################################################
23 # Build targets for RPM packages.
24 ###############################################################################
26 ###############################################################################
27 # Copyright (C) 2010 Lawrence Livermore National Security, LLC.
28 # Written by Brian Behlendorf <behlendorf1@llnl.gov>.
29 ###############################################################################
30 # Build targets for DEB packages.
32 # Long term native distro specific Debian style packaging should be added.
33 # In the short term RPM packages are built and converted to DEB packages
34 # using alien. If someone familiar with Debian style packaging were to
35 # update the build system to correctly build Debian style packages I would
36 # happily take it. Until then we will have to make due with alien.
38 ###############################################################################
40 ###############################################################################
41 # Copyright (C) 2010 Lawrence Livermore National Security, LLC.
42 # Written by Brian Behlendorf <behlendorf1@llnl.gov>.
43 ###############################################################################
44 # Build targets for TGZ packages.
46 # Long term native distro specific Slackware style packaging should be added.
47 # In the short term RPM packages are built and converted to TGZ packages
48 # using alien. If someone familiar with Slackware style packaging were to
49 # update the build system to correctly build Slackware style packages I would
50 # happily take it. Until then we will have to make due with alien.
52 ###############################################################################
54 ###############################################################################
55 # Written by Prakash Surya <surya1@llnl.gov>
56 ###############################################################################
57 # Build targets for RPM packages.
58 ###############################################################################
61 pkgdatadir = $(datadir)/@PACKAGE@
62 pkgincludedir = $(includedir)/@PACKAGE@
63 pkglibdir = $(libdir)/@PACKAGE@
64 pkglibexecdir = $(libexecdir)/@PACKAGE@
65 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
66 install_sh_DATA = $(install_sh) -c -m 644
67 install_sh_PROGRAM = $(install_sh) -c
68 install_sh_SCRIPT = $(install_sh) -c
69 INSTALL_HEADER = $(INSTALL_DATA)
70 transform = $(program_transform_name)
77 build_triplet = @build@
79 target_triplet = @target@
80 DIST_COMMON = $(am__configure_deps) $(noinst_HEADERS) \
81 $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
82 $(srcdir)/PKGBUILD-spl-modules.in $(srcdir)/PKGBUILD-spl.in \
83 $(srcdir)/spl-modules.spec.in $(srcdir)/spl.spec.in \
84 $(srcdir)/spl_config.h.in $(top_srcdir)/config/arch.am \
85 $(top_srcdir)/config/deb.am $(top_srcdir)/config/rpm.am \
86 $(top_srcdir)/config/tgz.am $(top_srcdir)/configure \
87 $(top_srcdir)/module/Makefile.in \
88 $(top_srcdir)/module/spl/Makefile.in \
89 $(top_srcdir)/module/splat/Makefile.in AUTHORS COPYING \
90 ChangeLog INSTALL config/config.guess config/config.sub \
91 config/depcomp config/install-sh config/ltmain.sh \
94 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
95 am__aclocal_m4_deps = $(top_srcdir)/config/spl-build.m4 \
96 $(top_srcdir)/config/spl-meta.m4 $(top_srcdir)/configure.ac
97 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
99 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
100 configure.lineno config.status.lineno
101 mkinstalldirs = $(install_sh) -d
102 CONFIG_HEADER = spl_config.h
103 CONFIG_CLEAN_FILES = module/Makefile module/spl/Makefile \
104 module/splat/Makefile spl.spec spl-modules.spec PKGBUILD-spl \
106 CONFIG_CLEAN_VPATH_FILES =
107 AM_V_GEN = $(am__v_GEN_$(V))
108 am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
109 am__v_GEN_0 = @echo " GEN " $@;
110 AM_V_at = $(am__v_at_$(V))
111 am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
115 RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
116 html-recursive info-recursive install-data-recursive \
117 install-dvi-recursive install-exec-recursive \
118 install-html-recursive install-info-recursive \
119 install-pdf-recursive install-ps-recursive install-recursive \
120 installcheck-recursive installdirs-recursive pdf-recursive \
121 ps-recursive uninstall-recursive
122 HEADERS = $(noinst_HEADERS)
123 RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
124 distclean-recursive maintainer-clean-recursive
125 AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
126 $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
127 distdir dist dist-all distcheck
130 DIST_SUBDIRS = lib cmd scripts module include
131 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
132 distdir = $(PACKAGE)-$(VERSION)
133 top_distdir = $(distdir)
134 am__remove_distdir = \
135 { test ! -d "$(distdir)" \
136 || { find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
137 && rm -fr "$(distdir)"; }; }
140 sed_first='s,^\([^/]*\)/.*$$,\1,'; \
141 sed_rest='s,^[^/]*/*,,'; \
142 sed_last='s,^.*/\([^/]*\)$$,\1,'; \
143 sed_butlast='s,/*[^/]*$$,,'; \
144 while test -n "$$dir1"; do \
145 first=`echo "$$dir1" | sed -e "$$sed_first"`; \
146 if test "$$first" != "."; then \
147 if test "$$first" = ".."; then \
148 dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
149 dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
151 first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
152 if test "$$first2" = "$$first"; then \
153 dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
157 dir0="$$dir0"/"$$first"; \
160 dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
163 DIST_ARCHIVES = $(distdir).tar.gz
165 distuninstallcheck_listfiles = find . -type f -print
166 distcleancheck_listfiles = find . -type f -print
169 ALIEN_VERSION = @ALIEN_VERSION@
171 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
173 AUTOCONF = @AUTOCONF@
174 AUTOHEADER = @AUTOHEADER@
175 AUTOMAKE = @AUTOMAKE@
178 CCDEPMODE = @CCDEPMODE@
181 CPPFLAGS = @CPPFLAGS@
182 CYGPATH_W = @CYGPATH_W@
183 DEBUG_CFLAGS = @DEBUG_CFLAGS@
184 DEBUG_KMEM = @DEBUG_KMEM@
185 DEBUG_KMEM_TRACKING = @DEBUG_KMEM_TRACKING@
186 DEBUG_LOG = @DEBUG_LOG@
187 DEBUG_SPL = @DEBUG_SPL@
188 DEFAULT_PACKAGE = @DEFAULT_PACKAGE@
192 DPKGBUILD = @DPKGBUILD@
193 DPKGBUILD_VERSION = @DPKGBUILD_VERSION@
194 DPKG_VERSION = @DPKG_VERSION@
195 DSYMUTIL = @DSYMUTIL@
204 HAVE_ALIEN = @HAVE_ALIEN@
205 HAVE_DPKG = @HAVE_DPKG@
206 HAVE_DPKGBUILD = @HAVE_DPKGBUILD@
207 HAVE_MAKEPKG = @HAVE_MAKEPKG@
208 HAVE_PACMAN = @HAVE_PACMAN@
209 HAVE_RPM = @HAVE_RPM@
210 HAVE_RPMBUILD = @HAVE_RPMBUILD@
212 INSTALL_DATA = @INSTALL_DATA@
213 INSTALL_PROGRAM = @INSTALL_PROGRAM@
214 INSTALL_SCRIPT = @INSTALL_SCRIPT@
215 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
216 KERNELCPPFLAGS = @KERNELCPPFLAGS@
217 KERNELMAKE_PARAMS = @KERNELMAKE_PARAMS@
225 LINUX_OBJ = @LINUX_OBJ@
226 LINUX_SYMBOLS = @LINUX_SYMBOLS@
227 LINUX_VERSION = @LINUX_VERSION@
230 LTLIBOBJS = @LTLIBOBJS@
232 MAKEINFO = @MAKEINFO@
234 MAKEPKG_VERSION = @MAKEPKG_VERSION@
243 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
244 PACKAGE_NAME = @PACKAGE_NAME@
245 PACKAGE_STRING = @PACKAGE_STRING@
246 PACKAGE_TARNAME = @PACKAGE_TARNAME@
247 PACKAGE_VERSION = @PACKAGE_VERSION@
249 PACMAN_VERSION = @PACMAN_VERSION@
250 PATH_SEPARATOR = @PATH_SEPARATOR@
253 RPMBUILD = @RPMBUILD@
254 RPMBUILD_VERSION = @RPMBUILD_VERSION@
255 RPM_VERSION = @RPM_VERSION@
257 SET_MAKE = @SET_MAKE@
259 SPL_CONFIG = @SPL_CONFIG@
260 SPL_META_ALIAS = @SPL_META_ALIAS@
261 SPL_META_AUTHOR = @SPL_META_AUTHOR@
262 SPL_META_DATA = @SPL_META_DATA@
263 SPL_META_LT_AGE = @SPL_META_LT_AGE@
264 SPL_META_LT_CURRENT = @SPL_META_LT_CURRENT@
265 SPL_META_LT_REVISION = @SPL_META_LT_REVISION@
266 SPL_META_NAME = @SPL_META_NAME@
267 SPL_META_RELEASE = @SPL_META_RELEASE@
268 SPL_META_VERSION = @SPL_META_VERSION@
272 abs_builddir = @abs_builddir@
273 abs_srcdir = @abs_srcdir@
274 abs_top_builddir = @abs_top_builddir@
275 abs_top_srcdir = @abs_top_srcdir@
276 ac_ct_CC = @ac_ct_CC@
277 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
278 am__include = @am__include@
279 am__leading_dot = @am__leading_dot@
280 am__quote = @am__quote@
282 am__untar = @am__untar@
285 build_alias = @build_alias@
286 build_cpu = @build_cpu@
287 build_os = @build_os@
288 build_vendor = @build_vendor@
289 builddir = @builddir@
291 datarootdir = @datarootdir@
294 exec_prefix = @exec_prefix@
296 host_alias = @host_alias@
297 host_cpu = @host_cpu@
299 host_vendor = @host_vendor@
301 includedir = @includedir@
303 install_sh = @install_sh@
305 libexecdir = @libexecdir@
306 localedir = @localedir@
307 localstatedir = @localstatedir@
311 oldincludedir = @oldincludedir@
314 program_transform_name = @program_transform_name@
317 sharedstatedir = @sharedstatedir@
319 sysconfdir = @sysconfdir@
321 target_alias = @target_alias@
322 target_cpu = @target_cpu@
323 target_os = @target_os@
324 target_vendor = @target_vendor@
325 top_build_prefix = @top_build_prefix@
326 top_builddir = @top_builddir@
327 top_srcdir = @top_srcdir@
328 @CONFIG_USER_TRUE@USER_DIR = lib cmd scripts
329 @CONFIG_KERNEL_TRUE@KERNEL_DIR = module include
330 SUBDIRS = $(USER_DIR) $(KERNEL_DIR)
331 AUTOMAKE_OPTIONS = foreign
332 EXTRA_DIST = autogen.sh spl.spec.in spl-modules.spec.in META \
333 DISCLAIMER config/config.awk config/rpm.am config/deb.am \
335 noinst_HEADERS = spl_config.h
337 $(MAKE) $(AM_MAKEFLAGS) all-recursive
342 $(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)
344 case '$(am__configure_deps)' in \
346 echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \
347 $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \
352 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
353 $(am__cd) $(top_srcdir) && \
354 $(AUTOMAKE) --foreign Makefile
356 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
359 echo ' $(SHELL) ./config.status'; \
360 $(SHELL) ./config.status;; \
362 echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
363 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
366 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
367 $(SHELL) ./config.status --recheck
369 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
370 $(am__cd) $(srcdir) && $(AUTOCONF)
371 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
372 $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
373 $(am__aclocal_m4_deps):
375 spl_config.h: stamp-h1
376 @if test ! -f $@; then \
378 $(MAKE) $(AM_MAKEFLAGS) stamp-h1; \
381 stamp-h1: $(srcdir)/spl_config.h.in $(top_builddir)/config.status
383 cd $(top_builddir) && $(SHELL) ./config.status spl_config.h
384 $(srcdir)/spl_config.h.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
385 ($(am__cd) $(top_srcdir) && $(AUTOHEADER))
390 -rm -f spl_config.h stamp-h1
391 module/Makefile: $(top_builddir)/config.status $(top_srcdir)/module/Makefile.in
392 cd $(top_builddir) && $(SHELL) ./config.status $@
393 module/spl/Makefile: $(top_builddir)/config.status $(top_srcdir)/module/spl/Makefile.in
394 cd $(top_builddir) && $(SHELL) ./config.status $@
395 module/splat/Makefile: $(top_builddir)/config.status $(top_srcdir)/module/splat/Makefile.in
396 cd $(top_builddir) && $(SHELL) ./config.status $@
397 spl.spec: $(top_builddir)/config.status $(srcdir)/spl.spec.in
398 cd $(top_builddir) && $(SHELL) ./config.status $@
399 spl-modules.spec: $(top_builddir)/config.status $(srcdir)/spl-modules.spec.in
400 cd $(top_builddir) && $(SHELL) ./config.status $@
401 PKGBUILD-spl: $(top_builddir)/config.status $(srcdir)/PKGBUILD-spl.in
402 cd $(top_builddir) && $(SHELL) ./config.status $@
403 PKGBUILD-spl-modules: $(top_builddir)/config.status $(srcdir)/PKGBUILD-spl-modules.in
404 cd $(top_builddir) && $(SHELL) ./config.status $@
413 -rm -f libtool config.lt
415 # This directory's subdirectories are mostly independent; you can cd
416 # into them and run `make' without going through this Makefile.
417 # To change the values of `make' variables: instead of editing Makefiles,
418 # (1) if the variable is set in `config.status', edit `config.status'
419 # (which will cause the Makefiles to be regenerated when you run `make');
420 # (2) otherwise, pass the desired values on the `make' command line.
421 $(RECURSIVE_TARGETS):
422 @fail= failcom='exit 1'; \
423 for f in x $$MAKEFLAGS; do \
426 *k*) failcom='fail=yes';; \
430 target=`echo $@ | sed s/-recursive//`; \
431 list='$(SUBDIRS)'; for subdir in $$list; do \
432 echo "Making $$target in $$subdir"; \
433 if test "$$subdir" = "."; then \
435 local_target="$$target-am"; \
437 local_target="$$target"; \
439 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
442 if test "$$dot_seen" = "no"; then \
443 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
446 $(RECURSIVE_CLEAN_TARGETS):
447 @fail= failcom='exit 1'; \
448 for f in x $$MAKEFLAGS; do \
451 *k*) failcom='fail=yes';; \
456 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
457 *) list='$(SUBDIRS)' ;; \
459 rev=''; for subdir in $$list; do \
460 if test "$$subdir" = "."; then :; else \
461 rev="$$subdir $$rev"; \
465 target=`echo $@ | sed s/-recursive//`; \
466 for subdir in $$rev; do \
467 echo "Making $$target in $$subdir"; \
468 if test "$$subdir" = "."; then \
469 local_target="$$target-am"; \
471 local_target="$$target"; \
473 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
475 done && test -z "$$fail"
477 list='$(SUBDIRS)'; for subdir in $$list; do \
478 test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
481 list='$(SUBDIRS)'; for subdir in $$list; do \
482 test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
485 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
486 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
487 unique=`for i in $$list; do \
488 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
490 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
491 END { if (nonempty) { for (i in files) print i; }; }'`; \
494 TAGS: tags-recursive $(HEADERS) $(SOURCES) spl_config.h.in $(TAGS_DEPENDENCIES) \
495 $(TAGS_FILES) $(LISP)
498 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
499 include_option=--etags-include; \
502 include_option=--include; \
505 list='$(SUBDIRS)'; for subdir in $$list; do \
506 if test "$$subdir" = .; then :; else \
507 test ! -f $$subdir/TAGS || \
508 set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
511 list='$(SOURCES) $(HEADERS) spl_config.h.in $(LISP) $(TAGS_FILES)'; \
512 unique=`for i in $$list; do \
513 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
515 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
516 END { if (nonempty) { for (i in files) print i; }; }'`; \
518 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
519 test -n "$$unique" || unique=$$empty_fix; \
520 if test $$# -gt 0; then \
521 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
524 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
528 CTAGS: ctags-recursive $(HEADERS) $(SOURCES) spl_config.h.in $(TAGS_DEPENDENCIES) \
529 $(TAGS_FILES) $(LISP)
530 list='$(SOURCES) $(HEADERS) spl_config.h.in $(LISP) $(TAGS_FILES)'; \
531 unique=`for i in $$list; do \
532 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
534 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
535 END { if (nonempty) { for (i in files) print i; }; }'`; \
536 test -z "$(CTAGS_ARGS)$$unique" \
537 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
541 here=`$(am__cd) $(top_builddir) && pwd` \
542 && $(am__cd) $(top_srcdir) \
543 && gtags -i $(GTAGS_ARGS) "$$here"
546 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
548 distdir: $(DISTFILES)
549 $(am__remove_distdir)
550 test -d "$(distdir)" || mkdir "$(distdir)"
551 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
552 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
553 list='$(DISTFILES)'; \
554 dist_files=`for file in $$list; do echo $$file; done | \
555 sed -e "s|^$$srcdirstrip/||;t" \
556 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
557 case $$dist_files in \
558 */*) $(MKDIR_P) `echo "$$dist_files" | \
559 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
562 for file in $$dist_files; do \
563 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
564 if test -d $$d/$$file; then \
565 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
566 if test -d "$(distdir)/$$file"; then \
567 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
569 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
570 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
571 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
573 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
575 test -f "$(distdir)/$$file" \
576 || cp -p $$d/$$file "$(distdir)/$$file" \
580 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
581 if test "$$subdir" = .; then :; else \
582 test -d "$(distdir)/$$subdir" \
583 || $(MKDIR_P) "$(distdir)/$$subdir" \
587 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
588 if test "$$subdir" = .; then :; else \
589 dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
591 new_distdir=$$reldir; \
592 dir1=$$subdir; dir2="$(top_distdir)"; \
594 new_top_distdir=$$reldir; \
595 echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
596 echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
597 ($(am__cd) $$subdir && \
598 $(MAKE) $(AM_MAKEFLAGS) \
599 top_distdir="$$new_top_distdir" \
600 distdir="$$new_distdir" \
601 am__remove_distdir=: \
602 am__skip_length_check=: \
603 am__skip_mode_fix=: \
608 -test -n "$(am__skip_mode_fix)" \
609 || find "$(distdir)" -type d ! -perm -755 \
610 -exec chmod u+rwx,go+rx {} \; -o \
611 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
612 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
613 ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
614 || chmod -R a+r "$(distdir)"
616 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
617 $(am__remove_distdir)
620 tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
621 $(am__remove_distdir)
624 tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
625 $(am__remove_distdir)
628 tardir=$(distdir) && $(am__tar) | xz -c >$(distdir).tar.xz
629 $(am__remove_distdir)
632 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
633 $(am__remove_distdir)
636 shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
637 $(am__remove_distdir)
640 -rm -f $(distdir).zip
641 zip -rq $(distdir).zip $(distdir)
642 $(am__remove_distdir)
644 dist dist-all: distdir
645 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
646 $(am__remove_distdir)
648 # This target untars the dist file and tries a VPATH configuration. Then
649 # it guarantees that the distribution is self-contained by making another
652 case '$(DIST_ARCHIVES)' in \
654 GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
656 bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
658 lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\
660 xz -dc $(distdir).tar.xz | $(am__untar) ;;\
662 uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
664 GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
666 unzip $(distdir).zip ;;\
668 chmod -R a-w $(distdir); chmod a+w $(distdir)
669 mkdir $(distdir)/_build
670 mkdir $(distdir)/_inst
672 test -d $(distdir)/_build || exit 0; \
673 dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
674 && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
676 && $(am__cd) $(distdir)/_build \
677 && ../configure --srcdir=.. --prefix="$$dc_install_base" \
678 $(DISTCHECK_CONFIGURE_FLAGS) \
679 && $(MAKE) $(AM_MAKEFLAGS) \
680 && $(MAKE) $(AM_MAKEFLAGS) dvi \
681 && $(MAKE) $(AM_MAKEFLAGS) check \
682 && $(MAKE) $(AM_MAKEFLAGS) install \
683 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
684 && $(MAKE) $(AM_MAKEFLAGS) uninstall \
685 && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
687 && chmod -R a-w "$$dc_install_base" \
689 (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
690 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
691 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
692 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
693 distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
694 } || { rm -rf "$$dc_destdir"; exit 1; }) \
695 && rm -rf "$$dc_destdir" \
696 && $(MAKE) $(AM_MAKEFLAGS) dist \
697 && rm -rf $(DIST_ARCHIVES) \
698 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
701 $(am__remove_distdir)
702 @(echo "$(distdir) archives ready for distribution: "; \
703 list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
704 sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
706 @$(am__cd) '$(distuninstallcheck_dir)' \
707 && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
708 || { echo "ERROR: files left after uninstall:" ; \
709 if test -n "$(DESTDIR)"; then \
710 echo " (check DESTDIR support)"; \
712 $(distuninstallcheck_listfiles) ; \
714 distcleancheck: distclean
715 @if test '$(srcdir)' = . ; then \
716 echo "ERROR: distcleancheck can only run from a VPATH build" ; \
719 @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
720 || { echo "ERROR: files left in build directory after distclean:" ; \
721 $(distcleancheck_listfiles) ; \
724 check: check-recursive
725 all-am: Makefile $(HEADERS) spl_config.h
726 installdirs: installdirs-recursive
728 install: install-recursive
729 install-exec: install-exec-recursive
730 install-data: install-data-recursive
731 uninstall: uninstall-recursive
734 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
736 installcheck: installcheck-recursive
738 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
739 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
740 `test -z '$(STRIP)' || \
741 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
747 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
748 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
750 maintainer-clean-generic:
751 @echo "This command is intended for maintainers to use"
752 @echo "it deletes files that may require special tools to rebuild."
753 @CONFIG_KERNEL_FALSE@install-data-local:
754 clean: clean-recursive
756 clean-am: clean-generic clean-libtool mostlyclean-am
758 distclean: distclean-recursive
759 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
761 distclean-am: clean-am distclean-generic distclean-hdr \
762 distclean-libtool distclean-local distclean-tags
776 install-data-am: install-data-local
778 install-dvi: install-dvi-recursive
784 install-html: install-html-recursive
788 install-info: install-info-recursive
794 install-pdf: install-pdf-recursive
798 install-ps: install-ps-recursive
804 maintainer-clean: maintainer-clean-recursive
805 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
806 -rm -rf $(top_srcdir)/autom4te.cache
808 maintainer-clean-am: distclean-am maintainer-clean-generic
810 mostlyclean: mostlyclean-recursive
812 mostlyclean-am: mostlyclean-generic mostlyclean-libtool
824 .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all \
825 ctags-recursive install-am install-strip tags-recursive
827 .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
828 all all-am am--refresh check check-am clean clean-generic \
829 clean-libtool ctags ctags-recursive dist dist-all dist-bzip2 \
830 dist-gzip dist-lzma dist-shar dist-tarZ dist-xz dist-zip \
831 distcheck distclean distclean-generic distclean-hdr \
832 distclean-libtool distclean-local distclean-tags \
833 distcleancheck distdir distuninstallcheck dvi dvi-am html \
834 html-am info info-am install install-am install-data \
835 install-data-am install-data-local install-dvi install-dvi-am \
836 install-exec install-exec-am install-html install-html-am \
837 install-info install-info-am install-man install-pdf \
838 install-pdf-am install-ps install-ps-am install-strip \
839 installcheck installcheck-am installdirs installdirs-am \
840 maintainer-clean maintainer-clean-generic mostlyclean \
841 mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
842 tags tags-recursive uninstall uninstall-am
846 $(MAKE) $(AM_MAKEFLAGS) pkg="${PACKAGE}-modules" srpm-common
849 $(MAKE) $(AM_MAKEFLAGS) pkg="${PACKAGE}" srpm-common
851 srpm: srpm-modules srpm-utils
853 rpm-modules: srpm-modules
854 $(MAKE) $(AM_MAKEFLAGS) pkg="${PACKAGE}-modules" rpm-common
856 rpm-utils: srpm-utils
857 $(MAKE) $(AM_MAKEFLAGS) pkg="${PACKAGE}" rpm-common
859 rpm-modules: srpm-modules
861 rpm: rpm-modules rpm-utils
864 @(if test "${HAVE_RPMBUILD}" = "no"; then \
866 "*** Required util ${RPMBUILD} missing. Please install the\n" \
867 "*** package for your distribution which provides ${RPMBUILD},\n" \
868 "*** re-run configure, and try again.\n"; \
871 mkdir -p $(rpmbuild)/TMP && \
872 mkdir -p $(rpmbuild)/BUILD && \
873 mkdir -p $(rpmbuild)/RPMS && \
874 mkdir -p $(rpmbuild)/SRPMS && \
875 mkdir -p $(rpmbuild)/SPECS && \
876 cp $(rpmspec) $(rpmbuild)/SPECS && \
877 mkdir -p $(rpmbuild)/SOURCES && \
878 cp $(distdir).tar.gz $(rpmbuild)/SOURCES)
881 rpmpkg=$(pkg)-$(SPL_META_VERSION)-$(SPL_META_RELEASE).src.rpm; \
882 rpmspec=$(pkg).spec; \
883 rpmbuild=`mktemp -t -d $(PACKAGE)-build-$$USER-XXXXXXXX`; \
884 $(MAKE) $(AM_MAKEFLAGS) \
885 rpmbuild="$$rpmbuild" \
886 rpmspec="$$rpmspec" \
887 rpm-local || exit 1; \
889 --define "_tmppath $$rpmbuild/TMP" \
890 --define "_topdir $$rpmbuild" \
891 --define "build_src_rpm 1" \
892 --define "dist %{nil}" \
893 --nodeps -bs $$rpmbuild/SPECS/$$rpmspec || exit 1; \
894 cp $$rpmbuild/SRPMS/$$rpmpkg . || exit 1; \
898 rpmpkg=$(pkg)-$(SPL_META_VERSION)-$(SPL_META_RELEASE).src.rpm; \
899 rpmspec=$(pkg).spec; \
900 rpmbuild=`mktemp -t -d $(PACKAGE)-build-$$USER-XXXXXXXX`; \
901 $(MAKE) $(AM_MAKEFLAGS) \
902 rpmbuild="$$rpmbuild" \
903 rpmspec="$$rpmspec" \
904 rpm-local || exit 1; \
906 --define "_tmppath $$rpmbuild/TMP" \
907 --define "_topdir $$rpmbuild" \
908 --define "dist %{nil}" \
909 --define "require_kdir $(LINUX)" \
910 --define "require_kobj $(LINUX_OBJ)" \
911 --define "require_kver $(LINUX_VERSION)" \
912 --define "$(DEBUG_SPL) 1" \
913 --define "$(DEBUG_LOG) 1" \
914 --define "$(DEBUG_KMEM) 1" \
915 --define "$(DEBUG_KMEM_TRACKING) 1" \
916 --nodeps --rebuild $$rpmpkg || exit 1; \
917 cp $$rpmbuild/RPMS/*/* . || exit 1; \
921 @(if test "${HAVE_DPKGBUILD}" = "no"; then \
923 "*** Required util ${DPKGBUILD} missing. Please install the\n" \
924 "*** package for your distribution which provides ${DPKGBUILD},\n" \
925 "*** re-run configure, and try again.\n"; \
928 if test "${HAVE_ALIEN}" = "no"; then \
930 "*** Required util ${ALIEN} missing. Please install the\n" \
931 "*** package for your distribution which provides ${ALIEN},\n" \
932 "*** re-run configure, and try again.\n"; \
936 deb-modules: deb-local rpm-modules
937 name=${PACKAGE}-modules; \
938 version=${SPL_META_VERSION}-${SPL_META_RELEASE}; \
939 release=`echo ${LINUX_VERSION} | $(SED) -e "s/-/_/g"`; \
940 arch=`$(RPM) -qp $${name}-$${version}.src.rpm --qf %{arch} | tail -1`; \
941 pkg1=$${name}-$${version}_$${release}.$${arch}.rpm; \
942 pkg2=$${name}-devel-$${version}_$${release}.$${arch}.rpm; \
943 fakeroot $(ALIEN) --scripts --to-deb $$pkg1 $$pkg2; \
946 deb-utils: deb-local rpm-utils
948 version=${SPL_META_VERSION}-${SPL_META_RELEASE}; \
949 arch=`$(RPM) -qp $${name}-$${version}.src.rpm --qf %{arch} | tail -1`; \
950 pkg1=$${name}-$${version}.$${arch}.rpm; \
951 fakeroot $(ALIEN) --scripts --to-deb $$pkg1; \
954 deb: deb-modules deb-utils
957 @(if test "${HAVE_ALIEN}" = "no"; then \
959 "*** Required util ${ALIEN} missing. Please install the\n" \
960 "*** package for your distribution which provides ${ALIEN},\n" \
961 "*** re-run configure, and try again.\n"; \
965 tgz-modules: tgz-local rpm-modules
966 name=${PACKAGE}-modules; \
967 version=${SPL_META_VERSION}-${SPL_META_RELEASE}; \
968 release=`echo ${LINUX_VERSION} | $(SED) -e "s/-/_/g"`; \
969 arch=`$(RPM) -qp $${name}-$${version}.src.rpm --qf %{arch} | tail -1`; \
970 pkg1=$${name}-$${version}_$${release}.$${arch}.rpm; \
971 pkg2=$${name}-devel-$${version}_$${release}.$${arch}.rpm; \
972 fakeroot $(ALIEN) --scripts --to-tgz $$pkg1 $$pkg2; \
975 tgz-utils: tgz-local rpm-utils
977 version=${SPL_META_VERSION}-${SPL_META_RELEASE}; \
978 arch=`$(RPM) -qp $${name}-$${version}.src.rpm --qf %{arch} | tail -1`; \
979 pkg1=$${name}-$${version}.$${arch}.rpm; \
980 fakeroot $(ALIEN) --scripts --to-tgz $$pkg1; \
983 tgz: tgz-modules tgz-utils
986 $(MAKE) $(AM_MAKEFLAGS) pkg="${PACKAGE}-modules" sarch-common
989 $(MAKE) $(AM_MAKEFLAGS) pkg="${PACKAGE}" sarch-common
991 sarch: sarch-modules sarch-utils
994 $(MAKE) $(AM_MAKEFLAGS) pkg="${PACKAGE}-modules" arch-common
997 $(MAKE) $(AM_MAKEFLAGS) pkg="${PACKAGE}" arch-common
999 arch: arch-modules arch-utils
1002 @(if test "${HAVE_MAKEPKG}" = "no"; then \
1004 "*** Required util ${MAKEPKG} missing. Please install the\n" \
1005 "*** package for your distribution which provides ${MAKEPKG},\n" \
1006 "*** re-run configure, and try again.\n"; \
1011 pkgbuild=PKGBUILD-$(pkg); \
1012 $(MAKE) $(AM_MAKEFLAGS) arch-local || exit 1; \
1013 $(MAKEPKG) --allsource --skipinteg --nodeps -p $$pkgbuild || exit 1;
1016 pkgbuild=PKGBUILD-$(pkg); \
1017 $(MAKE) $(AM_MAKEFLAGS) arch-local || exit 1; \
1018 $(MAKEPKG) --skipinteg -p $$pkgbuild || exit 1;
1021 -$(RM) -R autom4te*.cache
1022 -find . \( -name SCCS -o -name BitKeeper -o -name .svn -o -name CVS \
1023 -o -name .pc -o -name .hg -o -name .git \) -prune -o \
1024 \( -name '*.orig' -o -name '*.rej' -o -name '*~' \
1025 -o -name '*.bak' -o -name '#*#' -o -name '.*.orig' \
1026 -o -name '.*.rej' -o -name 'aclocal.m4' -o -size 0 \
1027 -o -name '*%' -o -name '.*.cmd' -o -name 'core' \
1028 -o -name 'Makefile' -o -name '$(LINUX_SYMBOLS)' \
1029 -o -name '*.order' -o -name '*.markers' \) \
1030 -type f -print | xargs $(RM)
1032 @CONFIG_KERNEL_TRUE@install-data-local:
1033 @CONFIG_KERNEL_TRUE@ release=$(SPL_META_VERSION)-$(SPL_META_RELEASE); \
1034 @CONFIG_KERNEL_TRUE@ instdest=$(DESTDIR)/usr/src/spl-$$release/$(LINUX_VERSION); \
1035 @CONFIG_KERNEL_TRUE@ echo "$$release" >$$instdest/spl.release; \
1036 @CONFIG_KERNEL_TRUE@ for instfile in $(noinst_HEADERS) module/$(LINUX_SYMBOLS); do \
1037 @CONFIG_KERNEL_TRUE@ $(INSTALL) -D $$instfile $$instdest/$$instfile; \
1038 @CONFIG_KERNEL_TRUE@ done
1041 $(RM) $(top_srcdir)/tags
1042 find $(top_srcdir) -name .git -prune -o -name '*.[hc]' | xargs ctags
1045 $(RM) $(top_srcdir)/TAGS
1046 find $(top_srcdir) -name .pc -prune -o -name '*.[hc]' | xargs etags -a
1050 pkg: @DEFAULT_PACKAGE@
1051 pkg-modules: @DEFAULT_PACKAGE@-modules
1052 pkg-utils: @DEFAULT_PACKAGE@-utils
1054 # Tell versions [3.59,3.63) of GNU make to not export all variables.
1055 # Otherwise a system limit (for SysV at least) may be exceeded.